SSGM Base defences 1.4


Defence options - this comes in 2 parts.

Enable extra defences.

This gives you the option to have extra defences on any map (Gun emplacments (AI controlled), Nod turrets and GDI towers). You can use a chance system of them being enabled using ChanceDefences=xx (%) or have them permanently turned on/off using EnableExtraDefences=0/1 and ChanceDefences=xx (%)

New locations for defences can be added by simpily standing in the place you would like them and using savecords turret/tower/nodemp/gdiemp (console command)

Enable defence rebuild

If you have extra defences enabled or just want to be able to rebuild the default defences on a map you can using EnableDefenceRebuy=0/1. Rebuild costs can be set as shown below (cost of rebuilding doubles when the teams powerplant is dead)

Defence rebuild costs:

You can set the cost of rebuilding the defences in the ini (all costs double when the teams powerplant is dead)


TurretRebuildCost=1400
TowerRebuildCost=2000
EmpRebuildCost=600

I'd like to say thank you to Daniel (RoShamBo), James (dead6re) and Lee (pvtschlag) for certain parts of code used in this plugin and bug fixes

Hex
www.n00bless.com