Jump to content

Damage Map addons.


juandayz

Recommended Posts

Small script for damage default cities.

Do not use largest values on ratio... may causes lows fps.

damage_cities.sqf

Spoiler

_target = [4185.0303,4157.5503,0];//change by your coords
_damage_ratio=150;

_server_houses= _target nearObjects ["HouseBase", _damage_ratio];
{_x setdammage 1} forEach _server_houses;

 

and at bottom of init add:

execVM "scripts\damage_cities.sqf";

Done!

You also can add other things to damage.. for example

_target = [4185.0303,4157.5503,0];
_damage_ratio=150;

_server_x= _target nearObjects [["vehicles","Man"], _damage_ratio];
{_x setdammage 1} forEach _server_x;

i dont know was usefull for me to simulate a nuclear dessease

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...