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.
[03:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
[03:02 am]
Ultraviolet -- fuck those motherfuckers
[11:02 pm]
NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
[03:08 pm]
Oh_Man -- example of wat u mean?
[05:59 am]
NudeRaider -- *is
[2024-5-15. : 5:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[2024-5-14. : 10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
Please log in to shout.


Members Online: 3oliviae1122gb4, 9adriane853eL2