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.
[08:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[05:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[05:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[02:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
Please log in to shout.


Members Online: Dem0n, NudeRaider