.tik scripting?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

.tik scripting?

Post by Master-Of-Fungus-Foo-D »

how would i attatch a driverslot to a model? how would i position it?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

I'm not sure but it's probably done by a naming convention of the tags in the skc, and the classname gotta be a subclass of Vehicle I suppose.
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

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 .
Image
Phil {sfx}
Sergeant
Posts: 67
Joined: Thu Sep 30, 2004 2:08 pm
Location: uk
Contact:

Post by Phil {sfx} »

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.
Senior Modder/Mapper/Scripter/Modeller @ www.mods-r-us.net
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Or you can doit in radient like I did in cobras stalingrad map. I glued a script origin, eh I guess your could spawn pos it too.

The sky is the limit in moh.

:)
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
Phil {sfx}
Sergeant
Posts: 67
Joined: Thu Sep 30, 2004 2:08 pm
Location: uk
Contact:

Post by Phil {sfx} »

:oops:

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
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

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 .
Image
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Yer it ended up with vondercrunch, they are using it in alsace. I think.
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

use periods man... ok... thx every1.. taht cleared up a lot
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Post Reply