Author Topic: Stratofortress's Mass Release  (Read 95612 times)

The shooting down sucks, I can improve it.

Code: [Select]
function SpitfireSpeedCheck(%this, %obj)
{


if(!isObject(%obj))
return;

%vehicle = %obj;
%slot = 0; //Play the sound in the driver's spot
%speed = vectorLen(%obj.getVelocity());

if(%speed < 0) //Keeps throwing random negative numbers when train is at dead stop
    %speed = 0;

if(%speed < 10)
    %vehicle.playAudio(%slot, SpitfireidleSound);

else if(%speed < 30)
    %vehicle.playAudio(%slot, Spitfirethrottle1Sound);




   

schedule(500,0,"SpitfireSpeedCheck",%this,%obj);
}

//Keeps throwing random negative numbers when train is at dead stop

Oh, nice, feel free to credit me.
« Last Edit: September 21, 2009, 08:36:43 PM by Kalphiter »


couldn't you use spacebar for the warship?

EDIT:or you could have the mount points on deck and give each one a cannon, 4 on each side and one on front/back. then give the driver 4 on each side instead of 8.
« Last Edit: September 21, 2009, 09:25:22 PM by qevil »

Theres a ghost brick in wake island that... shouldn't be there...

O.O

what program do you use?
:D

couldn't you use spacebar for the warship?

EDIT:or you could have the mount points on deck and give each one a cannon, 4 on each side and one on front/back. then give the driver 4 on each side instead of 8.
Someone said that spacebar was disabled in vehicles. I tried by didnt work eather.


they dont work in normal water <blinks> O.O =.= -.- =.= O.O

that would be because they technically aren't boats.

They are cars without wheels I think.

It could be a possibility of him to update it with GSF's boat script for deeper water combat (please?), but anyway...

double toast, but good reason:

Everytime I use a JVS Door add-on, I get this in the console and my vehicles/zombies/AI respawn

Add-Ons/Vehicle_Avenger/Vehicle_avenger.cs (864): Unable to find object: '0' attempting to call function 'getDataBlock'
Add-Ons/Vehicle_Headcrab/server.cs (341): Unable to find object: '0' attempting to call function 'getDataBlock'

ABOUT TIME THERE'S A MOLOTOV >:D

Don't want to be rude here, but why make a boat if it can't float? Make them float then i will LOVE YOU. EXTRA SPACE ^

Don't want to be rude here, but why make a boat if it can't float?
No.