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.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[2024-5-16. : 5:24 pm]
lil-Inferno -- poopoo
[2024-5-16. : 5:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
Please log in to shout.


Members Online: 4charlottec7385fo4, 5audreyc432eh5, 8gabriellae4785ha2