Staredit Network > Forums > Modding Assistance > Topic: Is there a way to make normal attacks
Is there a way to make normal attacks
Jun 26 2009, 4:18 pm
By: Angle Lock  

Jun 26 2009, 4:18 pm Angle Lock Post #1



For example, I want the phase disruptor to target building only, but I want it as an attack, not a spell...

I messed around with orders.dat, but it didn't come out right...



None.

Jun 26 2009, 4:21 pm Biophysicist Post #2



Impossible.



None.

Jun 27 2009, 12:25 am Angle Lock Post #3



waiting for shadowflare to confirm this...



None.

Jun 27 2009, 1:49 am ShadowFlare Post #4



lol, I don't really know.



None.

Jun 27 2009, 4:16 am Lord_Jeremy Post #5



I think there's a way to make it damage only buildings, but I'm pretty sure it will fire on everything. Try messing with the targeting flags in weapons.dat. Honestly I've never seen it done before so I'm going to guess that setting only the building targeting flag will either not work or cause a crash.



None.

Jun 27 2009, 5:20 am Angle Lock Post #6



I used an unused order for directing targeting rules, in this case place COP, but I literally copied everything from attack order, other than the targeting rule, and in unit.dat ai action I directed a unit's attack order to that order, the result was suprising, the unit actually followed the targeting rules, in this case it avoided attacking robotic units, but when I order it to attack organic units, instead of attacking, it performed a teleoport... place COP...



None.

Jun 27 2009, 5:44 am Biophysicist Post #7



I wonder if it would be possible to create a Blink spell using that method. Will check it out.



None.

Jun 27 2009, 5:22 pm Angle Lock Post #8



there are several problems with that method, 1, the unit loses all the buttons after it's blinked and 2, refer to #1, and 3, the unit can be placed anywhere rather than just a short distance away from it's current location.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: eksxo