aL BeasTie
Well-known member
Yeah this look good!
So don't be lazy and post your progress, loli work on this project and fantastic four project everyday
by the way i dont know how to solve the wall problem with projectiles, there is a way to make projectile detect the wall ?
void shooter2(void Shot, float dx, float dy, float dz, float Vx, float Vy, float Vz)
{ // Shooting special projectile with speed control
void self = getlocalvar("self");
int Direction = getentityproperty(self, "direction");
void vShot;
if (Direction == 0){ //Is entity facing left?
Vx = -Vx; //Reverse Vx direction to match facing
}
vShot = spawn01(Shot, dx, dy, dz);
changeentityproperty(vShot, "velocity", Vx, Vz, Vy);
changeentityproperty(vShot, "owner", self);
return vShot;
}
@script
void self = getlocalvar("self");
if (frame == 0){
changeentityproperty(self, "velocity", 0, 0, 0);
changeentityproperty(self, "speed", 0);
}
@end_script
name Bal1
health 1
type none
speed 30
gfxshadow 1
alpha 1
remove 0
lifespan 3
anim follow1
@script
void self = getlocalvar("self");
if (frame == 0){
changeentityproperty(self, "velocity", 0, 0, 0);
changeentityproperty(self, "speed", 0);
}
@end_script
offset 38 34
delay 5
sound data/sounds/dsfirxpl.wav
frame data/chars/misc/bal/bal1c0.png
offset 43 43
frame data/chars/misc/bal/bal1d0.png
offset 50 45
frame data/chars/misc/bal/bal1e0.png
frame data/chars/misc/empty.gif
anim idle
followcond 2
followanim 1
loop 1
offset 15 16
delay 3
bbox 0 0 30 30
attack 0 0 30 30 8 0 0 0 0 0
frame data/chars/misc/bal/bal1a0.png
attack 0 0 30 30 8 0 0 0 0 0
frame data/chars/misc/bal/bal1b0.png