Staredit Network > Forums > Modding Assistance > Topic: Queen attack stopped working
Queen attack stopped working
Aug 30 2020, 12:28 pm
By: Netbek  

Aug 30 2020, 12:28 pm Netbek Post #1



I successfully made a Queen with an attack. The mod is a Firegraft.exe:
Ingame Queen Attack

After copying the Firegraft .exe file, opening it in Firegraft, and saving it again, the attack stopped working, and it says "Unable to attack target":
Ingame Queen Attack Error Msg after Firegraft-Save

This is the settings in PyDAT; I even compared them between the two saves to see if sth had changed, but all seems same:
PyDAT settings 1
PyDAT settings 2
PyDAT settings 3

The 2 Mods & Test Map: LINK




Aug 30 2020, 4:47 pm MTiger156 Post #2

Veteran Mapper

I've also spent some time messing with Queens and find them to be very quirky.
In addition to giving them a weapon, I also tweaked their "Attack Unit" and "Right-Click Action" orders. They won't attack on their own, however using "A" + Click on an enemy will make them fire the weapon a single time, despite "Unable to attack target" being triggered.



"It takes far more than a simple ideology to map amazing things. Mapping requires a strong passion for SC as well as an even stronger devotion to your work. Avoid instant gratification. Set directions/goals for the map, and stick to them. Take pride in the work, be patient with it, and never settle for less."
-Tiger

Aug 30 2020, 5:21 pm DarkenedFantasies Post #3

Roy's Secret Service

The queen is set to use "infestation" as its attack order. Go to Firegraft>Exe Edits: under Infestation, change "Auto-infesting unit 1" from Queen to something else. Maybe you did that with your first exe and then forgot with the new one?




Sep 7 2020, 1:29 pm Netbek Post #4



I solved the problem!
I lost patience with the Firegraft experiments, so I ended up changing "infestation.cpp" from the general plugin template project, made a plugin and imported it. This is the changed "infestation.cpp": https://www.coh2.org/file/19211/image5.png
For future searchers who do not know how to make SC1 Plugins: Here's step-by-step instructions on SC1 plugin creation:
link1
link2

The queen is set to use "infestation" as its attack order. Go to Firegraft>Exe Edits: under Infestation, change "Auto-infesting unit 1" from Queen to something else. Maybe you did that with your first exe and then forgot with the new one?
You're right, I did that in the past. Then halfway through my project, antivirus software killed firegraft, and I switched from Firegraft 0.91 (newer?) to Firegraft 1611 (older?). I noticed that 1611 does not contain the field "Auto-infesting unit 1". Could not fix it again once I had saved it with 1611, even after saving with 0.93 again.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:01 am]
Moose -- :megaya:
[12:28 am]
KrayZee -- The fishes make me think of Animal Crossing
[11:59 pm]
Vrael -- excellent
[07:04 pm]
Sie_Sayoka -- blown out of the water
[06:50 pm]
NudeRaider -- https://staredit.net/381160/ fucking mind blown :drool:
[2025-6-29. : 1:46 am]
Vrael -- I was there Aslan, 3000 years ago when the deep magic of the One Ring was forged on the Battleship Enterprise, and Voldemort stole it
[2025-6-29. : 1:39 am]
KrayZee -- Vrael
Vrael shouted: NUDERAIDER - What the fuck did you just fucking say about me, you little bitch? I'll have you know I graduated top of my class in the Navy Seals, and I've been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in gorilla warfare and I'm the top sniper in the entire US armed forces. You are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on this Earth, mark my fucking words. You think you can get away with saying that shit to me over the Internet? Think again, fucker. As we speak I am contacting my secret network of spies across the USAGermanyland and your IP is being traced right now so you better prepare for the storm, maggot.
I wonder when this was written.
[2025-6-29. : 12:46 am]
Vrael -- NudeRaider has not been on Battle.net for 311 days and 8 hours - I propose we Ban this Inactive Person for ever
[2025-6-27. : 3:48 pm]
NudeRaider -- a M.2 drive would fit here https://snipboard.io/waGiXl.jpg
[2025-6-27. : 3:46 pm]
NudeRaider -- dumbducky
dumbducky shouted: I opened my box up this morning and the M2 drive doesn't fit anything in there. Ten years worth of dust is impressive though
this drive dumbducky
dumbducky shouted: If I'm reading this right M2 keys are either 5 or 6 pins wide but mine looks like maybe 8? Wtf? http://www.supertalent.com/datasheets/6_100485.pdf
fits here: https://snipboard.io/tC7oVv.jpg because it's PCIe, not M.2
Please log in to shout.


Members Online: lil-Inferno