|
Kane's Wrath scripting help for tower defense adaptation
Hi. I'm trying to build a TowerDefense-based map for kw, but I have some trouble with scripting some stuff.
1. one player (the attacker) should be able to build only units and some buildings that allow him to build units plus powerplants and refineries
2. the other player (the defender) should build only towers, mcv-s, powerplants and refineries
3. the defender will protect a building which will be targeted by the attacker. i want to place a counter on the building's health.
4. i also want to have a timer for about 30 minutes.
5. both counters should display and if the health one reaches 0 the attacker wins. if the timer reaches 0 the defender wins
6. there will be a road (unbuildable) surrounded by some terrain (unpassable). on the terrain i put some outpost and disruption towers. can i stealth the disruption tower by scripting it with an ability? (it's not absolutely necessary)
7. also i'd like to disable most abilities, upgrades and sp-s unless they are required for units and towers.
On a totally unrelated topic: can i disable preanimated objects like storm columns if i place them on the map from the start?
|