Author Topic: Twin Blade Helicopter V3  (Read 49009 times)

Looks nice! Good work, like it.

Looks more like a train with rotors anyone else notice that is the rotors from the blackhawk


Bump Due to Coraline

Looks more like a train with rotors anyone else notice that is the rotors from the blackhawk
...

I made all of this. You can't alter/import .dts files. Don't say I steal stuff.

Bump Due to Coraline
?

Your setvelocity script stop the helicopter's movement mid flight. Lets say I was flying 100 MPH, I hit space bar and it stop me to 0 MPH. To fix this, change the part where it says Setvelocity and change it to Addvelocity. This will make it so you will go up, while maintaing your current velocity. I also suggest reducing the Z value (Where is says 0 0 1) and make it lower if you are using addvelocity.

Your setvelocity script stop the helicopter's movement mid flight. Lets say I was flying 100 MPH, I hit space bar and it stop me to 0 MPH. To fix this, change the part where it says Setvelocity and change it to Addvelocity. This will make it so you will go up, while maintaing your current velocity. I also suggest reducing the Z value (Where is says 0 0 1) and make it lower if you are using addvelocity.
addVelocity is a Blockland event only feature. I tried that. And like I said, it's for stabilizing you. For example, sometimes the Blakhawk's collision goes wrong and it flies and twists and turns randomly for a certain ammount of time. This is made to prevent that. It's also good for getting out of the ground. Doing addVelocity somehow wouldn't work like the purpose of that script.

Code: [Select]
package bullfrog
{
    function ShapeBase::addVelocity(%this, %a)
    {
%this.setVelocity(vectorAdd(%this.getVelocity(), %a));
    }
};

Code: [Select]
f
unction PavelowVehicle::onTrigger(%this,%obj,%client)
{
%obj.addvelocity("0 0 3");
}
It works fine.

Subliminal pavelow sneak peek

Well, it didn't for me and what Chrono said... Hmm...

Oh, and Kalphiter, in your script, where does the data of adding velocity go?


Code: [Select]
package bullfrog
{
    function ShapeBase::addVelocity(%this, %a)
    {
%this.setVelocity(vectorAdd(%this.getVelocity(), %a));
    }
};
Bullfrog? :0

Subliminal advertisements

« Last Edit: March 28, 2010, 02:04:46 PM by ThunderGalaxy »