I'm sure everyone has played the wonderful mod Ultimate Doom, where the Wraith fires 3 times.
I would like to do this, But am unsure of the codes in ICECC to make it happen.
If anyone could help me out with this
And one more thing, When you compile something in ICECC, is the text file supposed to stay there, or can you delete it?
None.
I'm sure everyone has played the wonderful mod Ultimate Doom, where the Wraith fires 3 times.
I would like to do this, But am unsure of the codes in ICECC to make it happen.
If anyone could help me out with this
And one more thing, When you compile something in ICECC, is the text file supposed to stay there, or can you delete it?
A) You can emulate this with the "attackwith (insert attack here)", the number can be 1 or 2. 1 Being the standard "Ground attack", but it can be used for other purposes as well, and 2 is the standard Air attack. After this attack you should put in a delay of some sort.
B) I HIGHLY recommend you keep the text file there, it's a great backup and if you wish to give the mod more Iscripts you must select them all manually again.
None.
Thanks for the air and ground attack tips, But I want to know how to make it shoot more than 2 bullets since datedit doesn't allow more than 2. Say like, 3 bullets per attack, ect.
None.
Simply put more than one 'attack' opcode.
Thanks for the air and ground attack tips, But I want to know how to make it shoot more than 2 bullets since datedit doesn't allow more than 2. Say like, 3 bullets per attack, ect.
As I've said, the "attackwith" command is your best friend here.
Quote from Dreadnaught from BoB
BattlecruiserGndAttkInit:
wait 1
nobrkcodestart
playfram 0x00
playsnd 96 # Bullet\TTaFi200.wav
attackwith 1
attackwith 1
attackwith 1
attackwith 1
wait 4
playsnd 96 # Bullet\TTaFi200.wav
attackwith 1
attackwith 1
attackwith 1
attackwith 1
wait 4
playsnd 96 # Bullet\TTaFi200.wav
attackwith 1
attackwith 1
attackwith 1
attackwith 1
wait 1
nobrkcodeend
gotorepeatattk
goto BattlecruiserGndAttkToIdle
What this fragment of a script does is makes the battlecruiser use it's attack 4 times (careful, these attacks stack if you don't use Attack Target 3x3 in Datedit), wait for 1 tick (StarCraft's iscript time), then attack again, wait, then attack again. The nobrkcodestart/end commands will force the unit to complete the whole script before moving again.
None.