|
Joint Operations Anything about the Joint Operations series of games. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
Armory weapon availability
I've done quite a bit with the WAC, even looking through the jointops.exe to find a lot of WAC commands that were never known to me and that actually work. That being said, this is a long shot because I believe the answer is "no". But, is there a way in the WAC to add or remove weapons from the armory?
Like after a condition is met, certain weapons will be made available or removed from the armory? Thanks for any info! |
#2
|
||
|
hmmm. dont think its possible.
i have always wanted to know how to use specific med event actions through the wac file but was not sure how to structure the script to get them to work. would be cool to get ai state to change in a wac. i experimented a little with climbers, but no success except in the med. |
#3
|
|||
|
Quote:
To trigger MED event with WAC: WAC= If Conditions then set(v1, 1) endif Event= If mission variable 1 is equal to 1 then Actions (change AI attributes or what ever action you want that can't be done in WAC) To trigger WAC script with a MED event: you could use the WAC condition "Event(#)... if event(1) then Actions endif But, I don't like doing this because if you move your events around in the MED to organize them or do anything to change their event number order, it will no longer match the event number being called in the WAC. so you have to go change your WAC as well. For this reason I avoid using if event(#) and use variables. basically the same as the first example but in reverse. This allows you to use MED event actions/conditions in the WAC and WAC actions/conditions in the MED events. So you can combine the power of both. |
#4
|
|||
|
Quote:
|
#5
|
|||
|
Quote:
BlockFire(#) There is also the condition "if WeaponFired(#)". Which is a very cool one to use because it is only true once for every time that weapon key is fired. so you can use it over and over. I'm currently using it in a few Joint ops single player maps to allow the player to use his knife to interact with objects and such. If SSNseesSSN(player, 69, 3) and WeaponFired(1) then Actions endif This script says that if the player is looking at an object and is within 3 meters of the object, and "fired" his knife, then trigger the script. I'm using it as a loot mechanism currently. you can loot wooden crates with your knife and find money, health... etc. |
#6
|
|||
|
Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|