Staredit Network

Staredit Network -> Modding Assistance -> Question on shooting
Report, edit, etc...Posted by IsaT on 2006-09-24 at 19:17:35
Im just wondering if something like this is possible with iscript, where the projectiles shoot out at different directions, but then all converge on the same target, like this.


user posted image

(I use Ice xp)
Report, edit, etc...Posted by WoAHorde2 on 2006-09-24 at 19:21:39
You mean like the Valk?
Report, edit, etc...Posted by Voyager7456(MM) on 2006-09-24 at 19:23:25
Yes, it's possible. I'd have the missiles use a Seeks Target behavior, and then in the iscript insert commands to have the unit act like this:

attack
(turn one frame clockwise)
attack
(turn one frame clockwise)
attack
(turn two frames counterclockwise)
attack
...etc...

I'm sorry, but since I use IceCC, I don't know the exact commands that you'd need to use.
Report, edit, etc...Posted by IsaT on 2006-09-24 at 19:29:33
But, since a dragoon doesnt really have any rotated images would that still work?

Addition: I just tested it and it doesnt sad.gif any other ways?
Report, edit, etc...Posted by Kookster on 2006-09-24 at 19:48:59
it does work but you must change the weapons turnradios the little energy thingy cause that thingy can turn instantly so you must make it so it can only turn so fast so it does that affect
Report, edit, etc...Posted by IsaT on 2006-09-24 at 19:56:48
And where can i change that?
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-09-24 at 20:01:29
I believe it's the weapon spin property in weapons.dat.
Report, edit, etc...Posted by EzDay281 on 2006-09-24 at 21:16:09
Turn Radius in Flingy.dat.
Keep in mind, the higher the number, the sharper the turns it'll take if I remember correctly.
EDIT:
Also, keep in mind that if in weapons.dat, you give it a Spawn Angle, it'll randomly alternate between two mirrored directions.
As in, if you set it to 64 ( 90 degrees ) , it'll randomly go back and forth between firing from left and firing from right.
Report, edit, etc...Posted by Kookster on 2006-09-24 at 21:20:58
wow i never thought of that you could make it rotate without even having to change the iscript well in a some what random manner
Report, edit, etc...Posted by BroodKiller on 2006-09-25 at 11:49:06
Spawn Angle = "Launch Angle" in DatEdit v1.2b smile.gif
Next Page (1)