RC Biplane [V2.6]

Author Topic: RC Biplane [V2.6]  (Read 16419 times)

This is pretty nifty!

I have a few bugs,
Here's the list.
1.RC Biplane overwrites RC sapper.
2.When I press 0,1,or 2 the plane self destructs
3.If you orb in the biplane you get a orb that stays forever until you F7.

Reminds me of the RC biplane in GTA:SA
oh what fun times

anyways, really neat!

can't wait to try this out! :)

Make a smaller, tiny version. Like 1/2 size. With only 2 guns. :D
Sure
1.RC Biplane overwrites RC sapper.
3.If you orb in the biplane you get a orb that stays forever until you F7.
Fixed
2.When I press 0,1,or 2 the plane self destructs
It shouldn't do that unless you have those keys all set to dismount somehow. Check what they're assigned to because neither the numpad nor the upper row of numbers blow up the plane for me.
Can you make one that's more sensitive to explosions?
also, if you can make it a server pref to change the color based on shirt color, that'd be nice
Added, only in minigames with painting disabled
« Last Edit: July 11, 2014, 05:09:37 PM by Crysist »

If you create a minigame while using the biplane, your plane does not go away. Same goes for resetting the minigame. This can be done repeatedly to create infinite planes that do not disappear.



Also, the prefs for changing weapons seem to not work.

Also, the prefs for changing weapons seem to not work.

they only change when you restart the server.

If you create a minigame while using the biplane, your plane does not go away. Same goes for resetting the minigame. This can be done repeatedly to create infinite planes that do not disappear.
Fixed
« Last Edit: July 11, 2014, 06:54:47 PM by Crysist »

self destruct explosion doesn't damage players, i need it to kill them instantly. None of the coders on my friends list understand what you were trying to do.


So why isn't
Code: [Select]
if($pref::Server::RCBiplane::Weapon == 2)
{
RCBiplaneVehicle.ShootOnClick_ShootDelay=400;
RCBiplaneVehicle.ShootOnClick_ReShootDelay=400;
RCBiplaneVehicle.ShootOnClick_ProjectileCount=2;
RCBiplaneVehicle.ShootOnClick_RequiredSlot=0;
RCBiplaneVehicle.ShootOnClick_Sound=rocketFireSound;

//Rockets
RCBiplaneVehicle.ShootOnClick_Projectile[0]=rocketLauncherProjectile;
RCBiplaneVehicle.ShootOnClick_Position[0]="0 1 0.7";
RCBiplaneVehicle.ShootOnClick_Velocity[0]="65 0 0";
RCBiplaneVehicle.ShootOnClick_Scale[0]="0.5 0.5 0.5";
RCBiplaneVehicle.ShootOnClick_Projectile[1]=rocketLauncherProjectile;
RCBiplaneVehicle.ShootOnClick_Position[1]="0 -1 0.7";
RCBiplaneVehicle.ShootOnClick_Velocity[1]="65 0 0";
RCBiplaneVehicle.ShootOnClick_Scale[1]="0.5 0.5 0.5";
}

if($pref::Server::RCBiplane::Weapon == 0)
{
RCBiplaneVehicle.ShootOnClick=0;
}

On the the firing function?
You also left in code that's useless to the mod or commented out.

self destruct explosion doesn't damage players, i need it to kill them instantly. None of the coders on my friends list understand what you were trying to do.

Perhaps changing this will do it?

Code: [Select]
datablock ProjectileData(rcbiplaneExplosionProjectile : vehicleExplosionProjectile)
{
   directDamage        = 0;
   radiusDamage        = 0;
   damageRadius        = 0;
   explosion           = rcbiplaneExplosion;

   directDamageType  = $DamageType::VehicleExplosion;
   radiusDamageType  = $DamageType::VehicleExplosion;

   explodeOnDeath = 1;

   armingDelay         = 0;
   lifetime            = 0;

   uiName = "";
};

they only change when you restart the server.

Or re-execute the code.

I think this add-on is nice :p but could use a few fixes.

Code: [Select]
datablock ProjectileData(rcbiplaneExplosionProjectile : vehicleExplosionProjectile)
{
   directDamage        = 0;
   radiusDamage        = 0;
   damageRadius        = 0;
   explosion           = rcbiplaneExplosion;

   directDamageType  = $DamageType::VehicleExplosion;
   radiusDamageType  = $DamageType::VehicleExplosion;

   explodeOnDeath = 1;

   armingDelay         = 0;
   lifetime            = 0;

   uiName = "";
};

What's with the weird spacing?

I believe he used tab to add the spacing, idk.

Perhaps changing this will do it?
I fixed self destruct damage in the last update.
What's with the weird spacing?
Copied from the stuntplane, which I believe is copied from the default jeep. I didn't make the spacing on most of the datablocks so that why it's weird. If you want I can make it normal I guess.
So why isn't
Code: [Select]
if($pref::Server::RCBiplane::Weapon == 2)
{
RCBiplaneVehicle.ShootOnClick_ShootDelay=400;
RCBiplaneVehicle.ShootOnClick_ReShootDelay=400;
RCBiplaneVehicle.ShootOnClick_ProjectileCount=2;
RCBiplaneVehicle.ShootOnClick_RequiredSlot=0;
RCBiplaneVehicle.ShootOnClick_Sound=rocketFireSound;

//Rockets
RCBiplaneVehicle.ShootOnClick_Projectile[0]=rocketLauncherProjectile;
RCBiplaneVehicle.ShootOnClick_Position[0]="0 1 0.7";
RCBiplaneVehicle.ShootOnClick_Velocity[0]="65 0 0";
RCBiplaneVehicle.ShootOnClick_Scale[0]="0.5 0.5 0.5";
RCBiplaneVehicle.ShootOnClick_Projectile[1]=rocketLauncherProjectile;
RCBiplaneVehicle.ShootOnClick_Position[1]="0 -1 0.7";
RCBiplaneVehicle.ShootOnClick_Velocity[1]="65 0 0";
RCBiplaneVehicle.ShootOnClick_Scale[1]="0.5 0.5 0.5";
}

if($pref::Server::RCBiplane::Weapon == 0)
{
RCBiplaneVehicle.ShootOnClick=0;
}

On the the firing function?
You also left in code that's useless to the mod or commented out.
I didn't intend for people to change the pref in the middle of the server. I guess I'll try to sort that our tomorrow.

my rc plane wars got 20 players because of you OP

thank you