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.
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
Please log in to shout.


Members Online: Roy, gaugeeshelton