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.
[11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
[2026-4-13. : 1:28 pm]
Vrael -- Zoan
Zoan shouted: not if u wer there
id say even if you were there its tricky, human memory can be very faulty
Please log in to shout.


Members Online: anoeth47, DarkenedFantasies