Jump to content
Spartans Home

ArmA 2 Electrical Grid Simulation for Missions etc


SirSmokalot
 Share

Recommended Posts

Cool concept for night missions of any variety. This bit of scripting will turn out the power supplied to cities (i.e. City lights) and will even switch to redundant power supplies (when available) if a substation or power lines are taken out.

ceglogotext.jpg

 

 

http://forums.bistudio.com/showthread.php?t=99326

 

 

[YT]<object width="480" height="385"><param name="movie" value="http://www.youtube.com/watch?v=8u7E8a_5Ag0&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/watch?v=8u7E8a_5Ag0&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>[/YT]

Edited by SirSmokalot
Link to comment
Share on other sites

What I did, was placing a game logic in the area where I wanted to let drop the power. And I used a code in a trigger which defines the radius in meters around the logic. And when activated all electric lights (street lamps, traffic lights) go out within the defined radius.

 

The Electrical Grid Simulation is much more complex. I think this was also available in arma1 in those days. Basically what it does is simulating an electric power envirement, so that when destroying certain transformer stations certain parts of chernarus will be without power. As I said much more complex then my simple code.

 

Could be quite interesting to integrate this into domination. But it will only perform of course at night. But also very useful for mission makers.

Link to comment
Share on other sites

What I did, was placing a game logic in the area where I wanted to let drop the power. And I used a code in a trigger which defines the radius in meters around the logic. And when activated all electric lights (street lamps, traffic lights) go out within the defined radius.

 

The Electrical Grid Simulation is much more complex. I think this was also available in arma1 in those days. Basically what it does is simulating an electric power envirement, so that when destroying certain transformer stations certain parts of chernarus will be without power. As I said much more complex then my simple code.

 

Could be quite interesting to integrate this into domination. But it will only perform of course at night. But also very useful for mission makers.

 

For tactics, does this grid include shut-down due to powerlines going down, or placeable generators for various military camps? That'd be a really immersive addon-They'd need to create Chernarus Light and Power civi groups to race around the map with US escorts repairing all the powerlines.

Link to comment
Share on other sites

As far as I see this script pack includes only the transformer stations which are already on the map. But it might be possible to create other transformers and use the same codes used for the script pack to let for example only a military depot cut off power. And if this does not work you can still use the code I used for the Balota mission. This isactually quite easy to do.

Link to comment
Share on other sites

 Share

×
×
  • Create New...