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.
[03:18 am]
Symmetry -- Make maps for the memes :hurr:
[2026-10-30. : 8:19 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
hah yeah in the past that might've been up my alley. haven't really been mapping lately, been too busy with everything else. and kinda lost interest too tbh. just not enough people left on SC to feel worth investing the time personally.
[2026-10-30. : 8:03 pm]
lil-Inferno -- u
[2026-10-30. : 7:38 am]
NudeRaider -- damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
[2026-10-30. : 6:55 am]
UndeadStar -- :wob:
[2026-10-30. : 2:28 am]
Symmetry -- :wob:
[2026-10-29. : 9:17 pm]
RIVE -- :wob:
[2026-10-29. : 7:03 pm]
CoCo( -- OK, click here if any1 is interested in this $ making opportunity https://staredit.net/topic/18952/
[2026-10-29. : 4:39 pm]
NudeRaider -- sure, make a post in ums assistance
[2026-10-29. : 6:44 am]
CoCo( -- anyone willing to help fix a few triggers on a new "impossible" map? Please
Please log in to shout.


Members Online: Butch, Moose, l)ark_ssj9kevin