Staredit Network

Staredit Network -> Modding Assistance -> Need help with building attack...
Report, edit, etc...Posted by Ermac on 2005-09-15 at 13:28:03
Is there any way to make that building could attack only when lifted-off ? And it should move a bit faster..

Does someone know how to do that?
Report, edit, etc...Posted by TERRAINFIGHTER on 2005-09-15 at 14:12:06
QUOTE(Ermac @ Sep 15 2005, 12:28 PM)
Is there any way to make that building could attack only when lifted-off ? And it should move a bit faster..

Does someone know how to do that?
[right][snapback]314622[/snapback][/right]


not without very advanced hex editing or Memgraft
edit the flingy.dat file with Arsenal III changing the speed and acceleration for whatever buildings you want to change
Report, edit, etc...Posted by Voyager7456(MM) on 2005-09-15 at 15:06:33
If you're going to use MemGraft in your mod, there's a condition "Is building and is lifted off". You can try using that for the attack condition and see if it works.
Report, edit, etc...Posted by DT_Battlekruser on 2005-09-15 at 20:45:20
You'd need to:

1. Give the building a weapon.
2. Give it an attack button and use "building is in transit" in MemGraft
3. Give the building an attack animation.
Report, edit, etc...Posted by BSTRhino on 2005-09-15 at 20:52:00
QUOTE
edit the flingy.dat file with Arsenal III changing the speed and acceleration for whatever buildings you want to change

That doesn't work unfortunately, building speed is actually hard coded, even though you can change those values. In mapping, if a building starts off in transit, it goes twice as fast as usual or something, in case you're interested.

The problem I see here is that I think the unit will still pickup targets while landed and not pickup targets when it's lifted-off, because of the orders it has (on the AI/orders tab). Also, the __3f_condjmp command in iscript will jump to a code block if the current unit is a lifted-off building if that helps you.
Report, edit, etc...Posted by Ermac on 2005-09-16 at 08:52:30
Even, tho i worked with StarGraft i dont understand how to insert the MemGraft stuff in my MPQs...

Anyway thanks for the help everyone smile.gif I'll try to do sth with memgraft then..
Next Page (1)