Hi, Sorry for the double post, not sure if an edit would get a bump, though.
Anyway, My mod is almost complete, the main functions i have in here are - Theme Menu (Change Bal colours), Anim menu, On/Off Menu, and Vehicle Menu.
The Vehicle Menu works pretty well, I can play with a wheelchair, bull, tricycle, gokart, etc with a function like this...
Code: Select all
:i function $anteara_tricycle$
:i call $Vehicle_Start$ arguments
$params$ = $tricycle_params$
:i endfunction
As you can see, the physics of the vehicles and anims, tricks, etc work fine, the model of the vehicle doesn't load, but i'm assuming that's because all i'm doing is loading the physics and anims of it. So i can get around to that later.
That successfully loads the tricycle for all levels and I can use it online.
Now, this may sound dumb, but i can't figure out how to get back on my skateboard. I've looked everywhere, I just can't figure it out... Any tips? :S
EDIT: Just a quick edit - I've managed to load the model for the vehicles, and then use them. I can only use this in story mode, and in nawlins. If I use that vehtest script, it'll put the tricycle model as my board, then i can use the tricycle script to use the tricycle anims and physics, and it works. But - I can't use it online. I'm not really sure where to put the model script to make it work online, I check in models.qb, put it in every function and it did nothing.
Code: Select all
:i function $anteara_vehtest$
:i $skater$.call $AddGeom$ arguments
$name$ = $vehicle$$model$ = %s(46,"models\Veh\veh_tricycle\veh_tricycle_skin.skin")
:i endfunction
i'm still having a problem though finding out how to kill the vehicle, and get the skateboarding physics and anims back.