View Full Version : Suicide Dammit!!! ><
GrimTerror
05-01-2006, 6:12 PM
Hey. I recently made a thread on Suicide units, but it's dead now and I still dont have the answer I need.
I'll be more specific. The unit I want to have a suicide attack is the Zergling, but All the methods that have been suggested (changing behaviour and type patterns) wont work. I'll keep more in tune with this thread than the last on because I really want to get this done! Try doing it yourself before posting and you might see some of the problems that I am running into...
Thanks...
Edit: Just for interest, this is the 15,000th thread. Lets make it worth something people!!!
MidnightGladius
05-01-2006, 6:31 PM
It wasn't so difficult - I just changed the claws to suicide behavior and then separated the attack1c in the iscript to a playsnd and an attack25 line.
Then, for aesthetic's sake, I added in an effect to make it look somewhat okay.
GrimTerror
05-01-2006, 6:35 PM
Hey! Didn't I say I had to do it myself MG? I swear I'm not downloading that .mpq!!
You could have just told me that you know!! Don't get me wrong, I am really grateful for your help, but I've told you this like, 3 times now! :x
I'll do the same as what you've done tommorow MG and report whatever back in here. No time for modding at the mo...
MidnightGladius
05-01-2006, 6:36 PM
Yeah, I know :(
But I just couldn't resist the temptation :P
GrimTerror
05-01-2006, 6:39 PM
Looks like MG has a weakness. Its not the temptation of evil that's his problem, it's the temptation of Goodness...Now we'll be arguing both here and in pm form!!!
GD, don't you DARE close this thread down! I've still to try it and report how it went...
SuiCidAl-KiSmEt
05-01-2006, 7:44 PM
I'm comfused. You made a thread asking for help, but you warned us not to help you... >??
If you want to do it yourself then... ???
???(?) ?>? ?
????...?+?... Isn't showing the same thing as telling? ???
This question is comfusing. Making suicide weapons is sapposed to be easy, which you made comfusing. >.<
Zaeyel
05-01-2006, 7:56 PM
Heh, reminds me of south park and al gore, "I'm cerial! Im very cerial!", lol I don't know why that reminds me of it, but ANY WAY. First of all suicidal, its confusing lol.
Is what he wants is for some one to tell him how to do it, so when he does it he can do it again. For people who have intelligents, they do this... (Just like every modder does!) They don't want it done for them, they want to do it, so that if they try again <they'll know what to do>
Huh, thats whats probably happening to grim, just like when I know something and then get a totally different way to do it... (Words it differently.) when it was the same thing I was doing except myne was simpler. This is why half the modders on warboards can't use retro correctly, or at all. I figured all the programs I have by myself, and I think thats the best way for modding.
(Some of you have no idea what I'm talking about probably.)
Hows this relate to the subject, well grim should easing himself because he is probably taking it way to hard. "BUT" When you can't figure it out, you ask for DETAILED SIMPLIFIED HELP, if possible. (Hince the point of this topic!)
SuiCidAl-KiSmEt
05-01-2006, 8:02 PM
Grim is a girl just to let you know. I guess your right Zaeyel, sometimes people just want hints instead of a whole answer. Which sounds like a good idea, for now on Im gonna help people just by giving out hints, unlike just giving them all the answeres like I usually do.
GrassDragon
05-01-2006, 8:48 PM
GD, don't you DARE close this thread down! I've still to try it and report how it went...
What am I, some kind of thread closing nazi? Jeez...
GrimTerror
05-03-2006, 11:59 AM
What am I, some kind of thread closing nazi? Jeez... Don't worry GD, I just saw you scoping out this thread not long after it was made. It was very possible to call this one a double thread and close it down, but oh well...
...Nazi?
NAZI!!? OMG WHERE!? STAB IT WITH YOUR BAYONET!!!!
:P
So anyway, all that aside.
MG, your instructions weren't quite as clear as I thought they were. Trying my best to follow them, I came up with this code for the Zergling's attack...
ZerglingGndAttkInit:
playfram 0x00 # frame set 0
wait 1
nobrkcodestart
playfram 0x11 # frame set 1
wait 1
playfram 0x22 # frame set 2
attack25 1
imgol08 ...(I'm not revealing what image it is just yet)
wait 1
playfram 0x33 # frame set 3
wait 1
playfram 0x44 # frame set 4
wait 1
nobrkcodeend
gotorepeatattk
goto ZerglingGndAttkToIdle
So what needs to be done from here. The behaviour was set to sucide, the attack25 is in there and there's only the sound (which isn't that important) missing. Maybe it should be attack26 instead of attack25 1?
Post your code up here MG so I can compare it and see what you actually did...
MidnightGladius
05-03-2006, 4:46 PM
Gladly. The thing is, in your code, you put the imgol08 after the attack... so it would never show up, since the unit would have already killed itself by then.
playfram 0x00 # frame set 0
wait 1
nobrkcodestart
playfram 0x11 # frame set 1
wait 1
playfram 0x22 # frame set 2
sprol0f 160 0 0
playsnd 896 # Zerg\Zergling\ZZeDth00.WAV
attack25 1
wait 1
playfram 0x33 # frame set 3
wait 1
playfram 0x44 # frame set 4
wait 1
nobrkcodeend
gotorepeatattk
goto ZerglingGndAttkToIdle
GrimTerror
05-04-2006, 6:34 AM
I dont think so, because even though the image appears after the attack in the code, there is not wait command between them. That means that the image would be produced at the time as the death, just like if you have 3 attack25 commands in a row, the three attacks will be performed simoultaneously...
That code there is the only edit you made to the iScript, right? I'll give it a shot later on today (college now) and tell you how it went. If it doesn't work then something is definatley wrong...
MidnightGladius
05-04-2006, 4:48 PM
No, even though there's no wait, the suicide will still operate first. When I placed my sprol0f after the attack25, the suicide still worked, but the image (Zling death) didn't appear.
GrimTerror
05-04-2006, 7:13 PM
But it's not the Zergling death image that counts, it's the extra image I'm adding to the weapon sequence. Besides, without the remains of the Zergling left behind after every bombing it'll be a lot more cleaner and look more impressive...
Alternatively, you could put the desired image into the Zergling's death script, right? (Not quite sure about that one though. Just look at the scourge when it commits suicide and when it gets killed, 2 different image sequences are produced.)
MidnightGladius
05-04-2006, 7:24 PM
Grim, in my case, I got lazy, so the bombing image was the death image. That's all.
My point was, either way, the image has to come first. And no, you can't put it in the death script, because a suicide weapon doesn't run the death script - it just removes the unit after dealing damage.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.