Staredit Network

Staredit Network -> Modding Assistance -> Iscripting
Report, edit, etc...Posted by Lord_Jeremy on 2006-09-28 at 18:58:14
I'm messing with some iscripts and trying to find the difference between the attack25 and attack26 commands (I know virtually nothing about iscript). I've figured out that "attack25 1" will make the unit attack ground and "attack25 2" will make it attack air, but beyond that, I'm lost.
Report, edit, etc...Posted by DiscipleOfAdun on 2006-09-28 at 19:19:03
No, that's about it. attack26 bases off the weapon air/ground flags and the target's air/groundedness(set in units.dat somewhere), in case you didn't know.
Report, edit, etc...Posted by Pie_Sniper on 2006-09-28 at 19:26:53
attack25 1 will attack with the ground weapon.
attack25 <anything except 1> will attack with the air weapon.
attack26 will attack with ground or air depending on target.
Report, edit, etc...Posted by Lord_Jeremy on 2006-09-28 at 20:23:43
QUOTE(Pie_Sniper @ Sep 28 2006, 06:26 PM)
attack26 will attack with ground or air depending on target.
[right][snapback]569340[/snapback][/right]

So do you mean attack26 pretty much auto selects which weapon is chosen, e.g. the goliath would shoot autocannons at ground and missles at air or is it more like the marine in which is has the same weapon for ground and air...

ADDITION:
Ahhh! My IceCC is crashing whenever I try to decompile certain unit scripts (haven't figured out all of the problem scripts yet). IceCC in written in Java and therefore will work on any machine, Windows or Mac, without any problems...
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-09-28 at 21:38:22
Try updating your base Iscript, as it has changed over the years. (they changed the format/opcodes a while back)
Report, edit, etc...Posted by SubFocus on 2006-09-29 at 01:20:17
IceCC and Ice both come with manuals (I think both do anyways)

These manuals are in Adobe Acrobat format. They describe each and every little uh command pretty accurately. You might wanna check those out, just in case you didn't already know.
Report, edit, etc...Posted by Pie_Sniper on 2006-09-29 at 18:53:10
Not every. There are still a lot of unknown commands.
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-09-29 at 20:32:19
Yes there are, and we need more help solving/testing them. *hint hint*

I made a editing info textfile for iscript editing a while back which I'm still updating, but it's nowhere near complete. *hint*
[attachmentid=21203]
Report, edit, etc...Posted by SubFocus on 2006-09-29 at 20:49:57
Oh yeah, sorry. What I should have said was most of the commands can be found and described in there. Or could it even be considered most of them?
Report, edit, etc...Posted by Pie_Sniper on 2006-09-29 at 21:08:49
Yes, I think most of them are.
Next Page (1)