View Full Version : Environment Treat for all
BaneFWP
04-24-2004, 02:04 AM
Lightning and Thunder (maybe earthquakes)
Extract this file (game.wac) to the comanche 4 folder.
Then run c4.exe /d
Game.wac is a script to trigger advanced events, music, sounds lightning thunder etc. Its global and affects all maps when the file is loaded.
Here is just a glimps of what can be done with these wac scripts.
This is continious sample so you will probably want to modify it to occur randomly. Edit with notepad. The info on wac scripts can be found in the game.wac from DFBHD.
You can also just name the script the same as the map to affect only that map.
enjoy!
Bane
WiperSix2004
04-24-2004, 08:14 AM
sounds cool. anyway to incorporate it into server side maps ?
BaneFWP
04-24-2004, 10:35 AM
I dont know. I doubt the global settings will apply but the map specific may?
Shouldn't be too hard to find out.
First of all here is a more benign thunder storm.
the other one is relentless.
Copy the following text and paste into notepad.
Save the file to your c4 folder as wactest.wac
Then Create a map and name it wactest (Id use the same title and filename to start). I think the file name is the way to go.
start the C4.exe with the /d then host the wactest map.
have someone join and see it they pick up the setting.
If they do, cool! If not, then they're on there own and will have to wait for the expansion pack.
Begin wactest.wac:
;+++++++++++++++++++++++++++++
if gt(ticks,5) and elapse(21) then
lightning(250,20,25)
farflash
lightning(20,20,250)
flash
endif
if gt(ticks,1) and elapse(29) then
lightning(2,250,5)
farflash
lightning(250,20,25)
flash
endif
if gt(ticks,5) and gt(elapse,15) then
lightning(20,20,250)
farflash
flash
lightning(2,250,5)
endif
;+++++++++++++++++++++++++++++
end wactest.wac
I need a better avitar.
MasterX(BKC)
04-30-2004, 03:15 AM
I think i may be able to "nap" a few things from my copy of Joint Operations Demo NVidia gave me with the sponsoring stuff.....
looking around in it still, pff's are the same, think it uses a modified
Copy of C4 engine, from what i've seen so far.....
Demon 01 <IFS>
04-30-2004, 02:08 PM
Originally posted by BaneFWP
Lightning and Thunder (maybe earthquakes)
Extract this file (game.wac) to the comanche 4 folder.
Then run c4.exe /d
Game.wac is a script to trigger advanced events, music, sounds lightning thunder etc. Its global and affects all maps when the file is loaded.
Here is just a glimps of what can be done with these wac scripts.
This is continious sample so you will probably want to modify it to occur randomly. Edit with notepad. The info on wac scripts can be found in the game.wac from DFBHD.
You can also just name the script the same as the map to affect only that map.
enjoy!
Bane
Hi Bane... downloaded file, but I cant make it work.... extracted file from zip folder then i cut & paste to c4 folder.... did i do something wrong here... can u help me.. thanks bud in advance
BaneFWP
04-30-2004, 04:05 PM
Did you start the game using the /d in the command line?
If not, it should still work after youve cycled through one map in multiplayer.
What version of the exe are you using?
Bane
Demon 01 <IFS>
04-30-2004, 04:23 PM
Originally posted by BaneFWP
Did you start the game using the /d in the command line?
If not, it should still work after youve cycled through one map in multiplayer.
What version of the exe are you using?
Bane
i'm new to installing files of this nature.. please excuss me for ignorance... not sure how to put ( /d ) in command line... also is this a multiplayer file... my understand is that it is single player, or can it be used in s/p... i also downloaded the .20 exe if i understand you correctly.... :stupid2: :(
ps. feel free to email me if easier to explain this... r.rhode@verizon.net:thumb:
BaneFWP
04-30-2004, 11:52 PM
Highlight and copy the following line:
"C:\Program Files\NovaLogic\Comanche 4\C4.EXE" /d
(To copy right click on the highlighted text and select copy)
Then click on the start buton, select 'Run'
In the Run window right click and select paste.
Hit enter. or click 'OK'
This will start the game and if you've placed the wac script in the comanche folder single or multi player games will have the effect.
The exe version doesn't matter.
I tested with both.
Bane
Bluetiereign
05-01-2004, 11:21 AM
A bow and I applaude your efforts on this bane. These WAC files became available to everyone with arrival of BHD. You can read all about them at the NovaWorld forum, but will likely have to look in the BHD section.
You can create lightning, raise and lower the sky, provide targeted or random mortar and missle fire, thicken or lighten fog as well as change its color, darken or lighten the sky, move vehicles (not recommended - use the events editor for this one), and other events that are 'player position' specific.
A word of caution on the expectations though. You might figure a way to overcome this, but the last time I experimented, the WAC file is just like a mod. In order for someone to see and experience your enviromental feast - they too must have that WAC file loaded when you play that map.
If you have BHD, I put a small map called Sound Enviroments (http://207.44.156.54/~admin57/cgi-bin/db.cgi?db=default&uid=default&Game=BHD&sb=6&so=descend&view_records=1&mh=16&nh=8) that will give you a small sampling of what you can do with one.
Nice work Bane. Have enjoyed playing with the TKOTH option and converted all of my maps to be compatible. I opened a server or two - but had no takers, lol. Your work has me wondering though... would new C4 graphics be available thru the use of BHD's MOD tools. Hmmm...
BaneFWP
05-01-2004, 03:23 PM
Thx Blue,
I wasn't able to follow that link. But i did find it in the downloads. Thanks I'll try it out.
I've already perused through the BHD forums and found sonme cool info. Unfortunatly Comanche has only limited support for wac scripts.
Here is a list of Comanche's functions.
chain
link
elapse
never
past
random
outside
location
true
false
eq
ne
lt
gt
le
ge
waveready
kill
vaporize
flash
farflash
set
add
sub
inc
dec
sound
nearwave
nearanim
report
report#
text
text#
consol
consol#
opendoors
closedoors
fogcolor
fogdist
result
ticks
wind
health
mana
NearTID
NearDist
NearType
NearMove
NearHP
NearID
Script
Report
Bane
Demon 01 <IFS>
05-01-2004, 06:33 PM
Originally posted by BaneFWP
Highlight and copy the following line:
"C:\Program Files\NovaLogic\Comanche 4\C4.EXE" /d
(To copy right click on the highlighted text and select copy)
Then click on the start buton, select 'Run'
In the Run window right click and select paste.
Hit enter. or click 'OK'
This will start the game and if you've placed the wac script in the comanche folder single or multi player games will have the effect.
The exe version doesn't matter.
I tested with both.
Bane
Thanks bud works great:bouncing: :smilegrin:
BaneFWP
05-11-2004, 02:39 AM
Hey Blue,
That wac demo was slick. I was quite impressed with the presentation.
The effects available in BHD are far better then Ive seen in C4 so far. Hope Im not wasting my time with it.
I have some questions if your dont mind, but I would rather submit them off line.
Anyway, just wanted to say great work.
Hey Reaper, if your out there you gotta check it out if you havent already.
BaneFWP.
Bluetiereign
05-11-2004, 08:42 AM
Thanks Bane,
Just send a pm or email if you have any questions.
Heya, does C4 have a flying vehicle that that will hold multiple passengers? Marine is asking about transporting troops, but I can't find a chopper that will carry anything. Even the seahawk the demo uses has a 'soft' floor.
Personally I think teleporting is going to be the only way to go.
BaneFWP
05-11-2004, 01:57 PM
Off the top of my head there's a Chinook, C130, 747, 737, helix. I've thought about using a submarine as a blimp LOL.
But now I'm curiuos. I'll have to mess around with that.
Perhapse the vehicles floor is higher than he is placing the troops.
BTW I do have some questions with regards to wac scripts. I will compile my thoughts a shoot you a message.
Thanks.
Bane
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.