.tik scripting?
Moderator: Moderators
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
.tik scripting?
how would i attatch a driverslot to a model? how would i position it?
I think it is just a bone that is about where the driver will sit and named driver or is it driver0 . Maybe download lightray 3d it is free to download but won't export models until you pay for it . You will also need the mohaa plugin for it . It will load mohaa models so you can see where the bones are and what name they have .
-
Phil {sfx}
- Sergeant
- Posts: 67
- Joined: Thu Sep 30, 2004 2:08 pm
- Location: uk
- Contact:
Yes its a bone and must be added threw a modelling prog,
Once you have the bone in the model, just tag you player to it.
Once you have the bone in the model, just tag you player to it.
Senior Modder/Mapper/Scripter/Modeller @ www.mods-r-us.net
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
-
Phil {sfx}
- Sergeant
- Posts: 67
- Joined: Thu Sep 30, 2004 2:08 pm
- Location: uk
- Contact:
forgot about binding a script_origin to it then glueing the player to the script_origin.
Senior Modder/Mapper/Scripter/Modeller @ www.mods-r-us.net
I once changed the classname of the bmw bike to classname VehicleTank then used something like this
self.driver=local.player
//self.driver notsolid
self attachdriverslot 0 self.driver
the player froze but when you used the forward key the bike moved without the player . In fact you could drive it around but you couldn't change your view . You see the bmw bike has to turretslot to attach the player too like the tank has and even it it did you need a turret with an eyebone attached to it . I did have it working with a custom bike and turret but looked bad the turret spins like a turret . Any way I went on to other things I sent my stuff to sumo who sent it to someone else who I think got it to work sorta not sure now . I don't have any of it any more so I can't show you anything .
self.driver=local.player
//self.driver notsolid
self attachdriverslot 0 self.driver
the player froze but when you used the forward key the bike moved without the player . In fact you could drive it around but you couldn't change your view . You see the bmw bike has to turretslot to attach the player too like the tank has and even it it did you need a turret with an eyebone attached to it . I did have it working with a custom bike and turret but looked bad the turret spins like a turret . Any way I went on to other things I sent my stuff to sumo who sent it to someone else who I think got it to work sorta not sure now . I don't have any of it any more so I can't show you anything .
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States



