10/13/2026 [22:45:17] GMT Home .:. Logout
Forums
Hardmaps.com :: Forums :: Map Making Forum :: Joint Operations
 
<< Previous thread | Next thread >>
Some common WAC commands
Moderators: Hardmaps Administrator, *HmS*Wedge, *HmS*grunt, *HmS*Trevor, *HmS*LongBow
Author Post
XAN
Wed Dec 08 2004
Registered Member #2
Joined: Fri Dec 19 2003
Location: Finland
Posts: 234
Some times you want to use an AI that hold other than the RPG, AK47 and the Dragunov. Many of them do respawn so here is a command to put in the WAC file so he does not respawn when killed..

The first 3 XXX is individual SSN nr on the AI and 0 is the respawn count. Any ammount to respwan is 1, 2, 3 and so on

if never then
ssnspawn(XXX,0)
endif


Next one if you want to have fog in the map in an easy way. If you make a night map you will see that the moon will shine not that bright and make the map a bit darker also. In a day map it will reduse the distance you will be able to see.
You decide the distance, in here it is 300 meters.

use fogdist(300)


Next is if you want people to be aware of reading Goals and following Waypoints. The text will show up in the left low corner.
The "if past " number is the time elapsed in the game for the text to show up. 3600 is 1 hr (60 min) and you can change the value to your liking.

if past(50) and never then
wave("alarm9.wav", 10)
text " "
text "Remember to check objectives!"
text "To check them, push G key"
endif

if past(630) and never then
wave("alarm9.wav", 10)
text " "
text "Remember to follow waypoints!"
text "To check them, push F7 key"
endif

This is if you want to have a single wave file to be played in a surtain time within the game.

if past(90) and never then
wave("ampr372.wav", 10)
endif

This next if you want to give any kind of alert with a wave file to the players when a surtain event have happened.

if event(9) and never() then
wave("ampv284.wav", 10)
endif


Will be putting them up here allong and also think Trevor have some good ones for use.

(101)

[ Edited ]
Back to top
*HmS*Wedge
Mon Jan 10 2005
Captain Slow

Registered Member #3
Joined: Fri Dec 19 2003
Location: Scotland
Posts: 4651
You can find a Wac tutorial in our Download section to help you understand how to use them
Back to top
Website
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System
All trademarks are copyright their respective owners.
This site is best viewed using 1280-1024 screen resolution.
{THEMEDISCLAIMER}
Render time: 0.0535 sec, 0.0096 of that for queries.