Staredit Network > Forums > Modding Assistance > Topic: How do I make Siege Tanks attack Air?
How do I make Siege Tanks attack Air?
Mar 22 2009, 2:44 am
By: PIESOFTHENORTH  

Mar 22 2009, 2:44 am PIESOFTHENORTH Post #1



I've tried making Tanks able to attack air in every conceivable way i thought possible in DatEdit. by checking off that the weapon that the turret uses could attack air, by making the turret have the goliath hellfire missile pack as an air weapon, setting the hellfire missile pack to the ground weapon but checking off both ground and air for the hellfire missile weapon...

well they all crash the game. There must be a way to get tanks to hit air, right?



None.

Mar 22 2009, 2:53 am ForTheSwarm Post #2



Iscript.

With IceCC or PyICE, find the entry for the siege tank turret. Open it up, and add entries for the AirAttkInit. Then save it as a txt file and compile it. Then add the resulting iscript.bin file to your mpq/exe under scripts\.



None.

Mar 22 2009, 4:28 am ShadowFlare Post #3



Not just AirAttkInit, but also AirAttkRpt and AirAttkToIdle.



None.

Mar 22 2009, 4:47 am Sand Wraith Post #4

she/her

Also: http://www.staredit.net/wiki/Creating_an_attack_via_Iscript.bin
And: http://www.staredit.net/wiki.php

Help yourself! There's a lot of reading material there. If you can't get a satisfactory answer from there or are confused with the material there, feel free to ask.




Mar 22 2009, 6:21 am Angle Lock Post #5



in summary

1-unit.dat

2-iscript

3-get ready to roll



None.

Mar 22 2009, 11:42 am Biophysicist Post #6



On a related note, giving a unit a new type of ability usually requires you to update its iscript.



None.

Mar 22 2009, 3:48 pm PIESOFTHENORTH Post #7



thanks! I had no idea you could edit scripts like that.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:31 pm]
l)ark_ssj9kevin -- DarkenedFantasies
DarkenedFantasies shouted: FaRTy1billion Ah, crap! This landing site doesn't have any minerals!
sick refeernce
[10:39 am]
NudeRaider -- Are you frigging kidding me? Such an impactful patch in this economy? https://www.youtube.com/watch?v=fYsP29E-FUs
[09:55 am]
IskatuMesk -- just a wee baby in his crib
[2026-5-30. : 2:55 am]
DarkenedFantasies -- FaRTy1billion
FaRTy1billion shouted: too bad new accounts start with -150 minerals
Ah, crap! This landing site doesn't have any minerals!
[2026-5-30. : 12:34 am]
Symmetry -- in another 6 years
[2026-5-29. : 10:54 pm]
NudeRaider -- just like you
[2026-5-29. : 10:51 pm]
Symmetry -- looks like every box is 40 today
[2026-5-28. : 11:53 pm]
O)FaRTy1billion[MM] -- too bad new accounts start with -150 minerals
[2026-5-28. : 11:53 pm]
IskatuMesk -- if blud wanted ad revenue hed be putting those reindeer breeding programs front and center and call it Staredit Dot Nut
Please log in to shout.


Members Online: NudeRaider, RIVE