Author Topic: Filipe1020 and Pandan's Bot Vehicles Pack Development Topic  (Read 16671 times)

Phydeoux' motorcycles are bad because...?

Wheels are glitchy, collision is glitchy, and honestly, the wheels look ridiculously smooth. It would be nicer if they were more like default tires.

And they don't feel as nimble as a motorcycle should feel.

Wheels are glitchy, collision is glitchy, and honestly, the wheels look ridiculously smooth. It would be nicer if they were more like default tires.

And they don't feel as nimble as a motorcycle should feel.
I also dislike how they tilt, every single motorcycle of this pack tilts like a racing bike, just like this.

Yeah, the normal road bikes and off-road bikes shouldn't tilt as much.

Riiight? The front wheel rotates for a reason.

I guess that makes sense.
Yeah they may not be the best after all, but it is the best we got so far i think.
I would love to see better things. ;)

EDIT:
P.S. I just noticed something in the OP that i might have a tip on, related to the shopping cart.
You can use the velocity check trick you used for the speedkarts to check if the player is moving.
Then you can just force the walking animation on the driver if it is moving.
And when the cart is not moving, you can force stop the animation.

I think that would make an interesting bot vehicle, the shopping cart. :)
« Last Edit: September 09, 2013, 05:17:01 PM by lordician »

I would love to see better things. ;)

I think we'd all love to see some better motorcycles. ;;;;;))))))))))

I guess that makes sense.
Yeah they may not be the best after all, but it is the best we got so far i think.
I would love to see better things. ;)

EDIT:
P.S. I just noticed something in the OP that i might have a tip on, related to the shopping cart.
You can use the velocity check trick you used for the speedkarts to check if the player is moving.
Then you can just force the walking animation on the driver if it is moving.
And when the cart is not moving, you can force stop the animation.

I think that would make an interesting bot vehicle, the shopping cart. :)
I hate to ask that but, I need someone to help script wise for that sort of thing, I'm not really that of a good scripter...

I hate to ask that but, I need someone to help script wise for that sort of thing, I'm not really that of a good scripter...

If I could script, I'd totally be your bitch.

P.S. I totally love you and your vehicles.
« Last Edit: September 09, 2013, 05:24:08 PM by ResonKinetic »

I hate to ask that but, I need someone to help script wise for that sort of thing, I'm not really that of a good scripter...
me too, I am rookie scripter. If you want me help you wth this?

I hate to ask that but, I need someone to help script wise for that sort of thing, I'm not really that of a good scripter...
Hehe i figured. :P
I can see what i can do, but not now.
With (or without) my tip, others should be able to do it as well, so if anyone is interested, that's okay to me, if not, i will see what i can do sometime not too far away.
Should be testable with edits of existing vehicles too, so that is no problem either.

Hehe i figured. :P
I can see what i can do, but not now.
With (or without) my tip, others should be able to do it as well, so if anyone is interested, that's okay to me, if not, i will see what i can do sometime not too far away.
Should be testable with edits of existing vehicles too, so that is no problem either.

Thanks for the script!


I'm having a issue though, it wont hide the hands on spawning of the vehicle.

After you mount/dismount it works fine though.
(This is for a player vehicle)

« Last Edit: September 09, 2013, 08:39:10 PM by Pandan »

How about something like that?

Code: [Select]
function YourVehicle::onAdd(%this,%obj)
{
%obj.hideNode(node1);
%obj.hideNode(node2);

%obj.mountable = true;
%obj.playthread(0, root);

parent::onAdd(%this,%obj);
}

To my limited understanding of Torque, it hides certain object nodes upon spawning the vehicle.
« Last Edit: September 10, 2013, 04:53:33 AM by Barnabas »

How about something like that?

Code: [Select]
function YourVehicle::onAdd(%this,%obj)
{
%obj.hideNode(node1);
%obj.hideNode(node2);

%obj.mountable = true;
%obj.playthread(0, root);

parent::onAdd(%this,%obj);
}

To my limited understanding of Torque, it hides certain object nodes upon spawning the vehicle.

Yeah, i wrote a support script that should do such a thing when you just have handsOnVehicle=1 in the datablock.
Which makes it easier to use since they don't have to worry about adding functions.
Thanks for the script!


I'm having a issue though, it wont hide the hands on spawning of the vehicle.

After you mount/dismount it works fine though.
(This is for a player vehicle)
-snip-
Hmm, how odd.
I'll see if i can see something that i might have missed.
Otherwise i would like to ask you to send me the file so i can test it and see what goes wrong.

EDIT:
Yeah i can't find anything.
I would like to ask you to send over the file.
I won't distribute to someone else then you of course.
« Last Edit: September 10, 2013, 06:53:49 AM by lordician »

I'll send you a PM right now, 1 sec

Report:
I got the stuff you sent, thanks again, because i couldn't see any error in my script i kinda figured it was something else.
No offense.
When i scrolled through the script i noticed something.
Code: [Select]
functionSomeNameHereArmor::onAdd(%this,%obj)
{
   // Vehicle timeout
   %obj.mountVehicle = true;

   // Default dynamic armor stats
   %obj.setRepairRate(0);

}
I checked something and i fixed it, but i want to tell you what was wrong so it won't happen again (hopefully).

If you got an onAdd fuction for your vehicle.
(Like: function SomeVehicleName::onAdd(%this,%obj) )
Please do add a parent in there.
(Like: Parent::onAdd(%this, %obj); )

Otherwise my overwrite of the onAdd function of the Armor class will not be executed and thus my code will never be used for that vehicle.
That is why the hands were not hidden.
Anyway, fixed it and sent a PM with the fixed version back to you.

Also, while testing your fixed version, i found an error in my support script.
PLEASE REDOWNLOAD SUPPORT_HANDSONVEHICLE NOW
Caps because caps.