Staredit Network

Staredit Network -> Modding Assistance -> Multiple Shots? how?
Report, edit, etc...Posted by petphot on 2005-12-18 at 01:23:55
How?How?How?How?

I know BSTRhino knows cause he did it on his Zerg Doom mod ( cool.gif mod by the way) so i got REALLY curious
if u have the answer feel free to call me noob for not knowing it...
and post it uberwoot.gif

ADDITION:
oops.gif it was terran doom mod BSTRhino did it on...
uberwoot.gif They all rock anyways uberwoot.gif

ADDITION:
Still waiting for an answer.....

dots.gif dots.gif dots.gif dots.gif dots.gif

ok maybe im impatient
Report, edit, etc...Posted by Voyager7456(MM) on 2005-12-18 at 09:39:50
Yeah, maybe a little impatient. We have to sleep sometime. wink.gif

The way BST did this was through iscript editing.

1. Open Arsenal III Weapon editor and set the Fragmentation Grenade's behavior to Halo (Spin). Save it as weapons.dat.

2. Load IceCC and decompile the Vulture's animation by selecting the Vulture in the Units tab and saving it as Vulture.txt.

3. Under where it says VultureGndAttkInit change the code to this:

CODE

VultureGndAttkInit:
wait            1
attack25        1
attack25        1
attack25        1
attack25        1
attack25        1
gotorepeatattk  
goto            VultureGndAttkToIdle


4. Press the Compiler tab and click Add. Select the Vulture animation you decompiled.

5. Compile it as iscript.bin. Make sure "Merge with default iscript.bin" is checked.

6. Add the units.dat file to your MPQ under the path arr\units.dat and the iscript.bin under scripts\iscript.bin.


Enjoy.

What happened? Well, in IceCC attack25 is a command that tells the Vulture to attack. 1 means that the Vulture will attack with it's Ground weapon.

Setting the Fragmentation Grenade's behavior to Halo wasn't required, but it makes the shots spread out so you can see it fired 5 grenades.

Hope that helps.
Report, edit, etc...Posted by petphot on 2005-12-18 at 14:35:39
Ty cool.gif

ADDITION:
Problem
HydraliskGndAttkInit:
playfram 0x00 # frame set 0
wait 1
nobrkcodestart
playfram 0x11 # frame set 1
wait 1
playfram 0x22 # frame set 2
wait 1
playfram 0x33 # frame set 3
wait 1
Where do i put the attack25's?

ADDITION:
and this is involved too
HydraliskGndAttkRpt:
wait 1
playfram 0x44 # frame set 4
playsnd 64 # Bullet\SpoogHit.wav
sprol15 332 0 # NeedleSpines (thingy\spooge.grp)
attack26
wait 1
playfram 0x33 # frame set 3
wait 1
nobrkcodeend
gotorepeatattk
ignorerest
Report, edit, etc...Posted by Voyager7456(MM) on 2005-12-18 at 19:10:08
In your case you want to use attack26 because the Hydralisk uses the same animation for air and ground. Put it in the HydraliskGndAttkRpt.
Report, edit, etc...Posted by petphot on 2005-12-18 at 19:52:26
I did that but it still dint work....
Report, edit, etc...Posted by SirBean on 2005-12-19 at 20:07:44
Are you sure it's not working? If you're just repeating attack26, the hydra's only going to play it's attack animation and sound only once, but there'll still be multiple attacks. The best way to tell is to have it attack something and look at its health go down. It should go down much faster than normal.

If you want a rapid fire look to the hydra's attack, then you have to repeat this block of code:

playsnd 64 # Bullet\SpoogHit.wav
sprol15 332 0 # NeedleSpines (thingy\spooge.grp)
attack26
wait 1

Do it like 5 or 6 times, and you'll have machinegun hydras! smile.gif
Report, edit, etc...Posted by petphot on 2005-12-21 at 20:28:18
how do u get the average appears on target attack to spread out?

Halo (spin) causes it to crash
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2005-12-21 at 20:53:57
QUOTE(petphot @ Dec 21 2005, 07:28 PM)
how do u get the average  appears on target attack to spread out?

Halo (spin) causes it to crash
[right][snapback]385811[/snapback][/right]

This would be good to know. My attempt to give a Battlecruiser a scattershot weapon with C-10 Canister explosion animation made Starcraft go belly up and give me a polite little error message. I want my flack cannon...
Report, edit, etc...Posted by petphot on 2005-12-21 at 22:55:35
me I want my sunken to shoot 5 spears... massacre WOOHOO uberwoot.gif
Report, edit, etc...Posted by Voyager7456(MM) on 2005-12-21 at 23:14:47
There is a way to do that, I can't think of it right now. For example, look at the Gauss Rifle in BSTRhino's Terran Doom.
Report, edit, etc...Posted by petphot on 2005-12-22 at 01:04:12
I was thinking of that when i typed it LOL
Report, edit, etc...Posted by DiscipleOfAdun on 2005-12-22 at 10:55:49
QUOTE(Lord_Agamemnon @ Dec 21 2005, 07:53 PM)
This would be good to know.  My attempt to give a Battlecruiser a scattershot weapon with C-10 Canister explosion animation made Starcraft go belly up and give me a polite little error message.  I want my flack cannon...
[right][snapback]385823[/snapback][/right]



That's because you can't give the Halo type to an explosion graphic. The graphic has to be able to fly to the target to be valid for the Halo weapon type. There are some other restrictions about how this works, but it's basically that there are 3 types of weapons. There are weapons that fly to their targets, ones that appear on their targets, and special weapons, like melee ones, that don't have a sprite that can be seen(really similar to the appear on target weapons). You can't switch over types or Starcraft will be mean and give you a CBullet error.
Report, edit, etc...Posted by petphot on 2005-12-22 at 13:52:10
well then how did BSTRhino do the scattershot with his marines?
They still had their average gauss rifle...
Report, edit, etc...Posted by Darktossgen(MM) on 2005-12-29 at 19:30:47
Why dont you just look... He probably did something in IceCC or weapons.dat... Oh my..
Report, edit, etc...Posted by petphot on 2006-01-08 at 17:10:26
i tried to look at their iscript and wepons dat... it wont let me... for some very strange reason
Report, edit, etc...Posted by Darktossgen(MM) on 2006-01-08 at 17:13:57
QUOTE
i tried to look at their iscript and wepons dat... it wont let me... for some very strange reason

Could you post a screenshot or give us a better explanation?
Report, edit, etc...Posted by petphot on 2006-01-08 at 20:23:07
nah im just gonna give up on on this, il just make them have missles and halo (spin)

topic closed happy.gif
Next Page (1)