iScript
Nov 13 2008, 8:30 pm
By: Lord Malvanis  

Nov 13 2008, 8:30 pm Lord Malvanis Post #1



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.

Nov 13 2008, 8:35 pm Fisty Post #2



Quote from Lord Malvanis
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.

Nov 13 2008, 8:36 pm Lord Malvanis Post #3



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.

Nov 13 2008, 8:44 pm Symmetry Post #4

Dungeon Master

Simply put more than one 'attack' opcode.



:voy: :jaff: :voy: :jaff:

Nov 13 2008, 8:47 pm Fisty Post #5



Quote from Lord Malvanis
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.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:34 pm]
NudeRaider -- curiosity kills the cat!
[06:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
[11:05 pm]
Ultraviolet -- :wob:
[03:55 pm]
Zoan -- :wob:
[2024-5-18. : 10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[2024-5-18. : 3:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
Please log in to shout.


Members Online: AleXoundOS