OK, I'm trying to get this Imperial Commando to shoot the 3 repeater balls in the triangle form, I have this so far in the Actor cog.
(^Just the needed stuff, not the whole thing.....)
Now, to get the 3 repeater balls to shoot for the player, the weap_repeater.cog has
I can't figure out what to change in the actor cog to make it shoot the 3 repeater balls like the repeater weapon, anyone know how to do this?
------------------
Last week I cudn't evn spel grajuat, but now I is one.
*Takes out his blaster and fires shots at the wall, the blastmarks leave the words "STROOPER WUZ 'ERE!!!"
Code:
symbols message killed message skill message damaged message fire template source local template projecitle=+eball local template powerup=+DRepeaterGun local thing newThing local int bin local int senderref=-1 local ai flee_ai=noweapon.ai local int damage local end # ======================================================================================== code Fire: source = GetSourceRef(); FireProjectile(source, projectile, -1, -1, '-0.05 0.065 0.014', '0 0 0', 0, 0x0, 0, 0); FireProjectile(source, projectile, -1, -1, '-0.05 0.065 0.014', '0 0 0', 0, 0x0, 0, 0); FireProjectile(source, projectile, -1, -1, '-0.05 0.065 0.014', '0 0 0', 0, 0x0, 0, 0); Return;
(^Just the needed stuff, not the whole thing.....)
Now, to get the 3 repeater balls to shoot for the player, the weap_repeater.cog has
Code:
dummy = FireProjectile(player, projectile, fireSound1, 8, fireOffset, '4.0 0 0', 1.0, 0, autoAimFOV, autoAimMaxDist ); dummy = FireProjectile(player, projectile, -1, 8, fireOffset, '-2.5 2.5 0', 1.0, 0, autoAimFOV, autoAimMaxDist ); dummy = FireProjectile(player, projectile, -1, 8, fireOffset, '-2.5 -2.5 0', 1.0, 0, autoAimFOV, autoAimMaxDist );
I can't figure out what to change in the actor cog to make it shoot the 3 repeater balls like the repeater weapon, anyone know how to do this?
------------------
Last week I cudn't evn spel grajuat, but now I is one.
*Takes out his blaster and fires shots at the wall, the blastmarks leave the words "STROOPER WUZ 'ERE!!!"