Joined: 14 Dec 2009 Location: My map "Eiffel Island"
Posted: Sat Mar 06, 2010 1:49 pm Post subject:
Random Lightning strike
Subject description: How to make lightning strike a random waypoint.
On my map, I would like to make a lightning strike that hits any of my 43 waypoints every 1000 "seconds". I have set the time using event 13, elapsed time, and that should work fine, but I am wondering if it is possible to make the lightning strike happen at any waypoint. _________________ "Taste your mortality!"- a completely awesome elite mind controlled Apocalypse Tank. QUICK_EDIT
You can set recurring weather storms, but lighting strikes always automatically target position 0.
However if you want lighting storms as there were in Tiberian sun, there is already a way to do this........
I also once struggled with this question in the past, and with a lot of work, I was able to figure it out on my own. Back then I wish I had realized it had already been "figured out" on modding sites years before I ever had the problem.
My next post after I gather the code will contain the code you need for simulated ion storms. QUICK_EDIT
After you add that, weather storm will now automatically randomly target the entire map with random bolts...
Also set 1 repeating trigger that spawns a weather-storm at the center of the map every 61 seconds. This allows for constant storm, or you can adjust it so the storm only goes off once and awhile.
LightningStormDuration=900
This controls Storm length after creation. It is in frames, 15 frames per game second. So it's currently set to 60 game seconds. Note this # cannot go Too high.
Give The allies a New Super-weapon to replace their old one. Consider sharing the soviets Nuclear Silo, or making a cloned Nuke Silo so they both can fire at same time. I'll provide the code below.
Joined: 14 Dec 2009 Location: My map "Eiffel Island"
Posted: Mon Mar 08, 2010 1:12 pm Post subject:
Wow, thanks so much! I have tried enabling the ion storm before via the game settings box but it didn't do anything. This is definitely better, thanks! _________________ "Taste your mortality!"- a completely awesome elite mind controlled Apocalypse Tank. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum