Turret attached to jeep slot

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Turret attached to jeep slot

Post by agentmad007 »

hello,

i d like to know if whe can move the origin of the turret assigned to the jeep.I tried many things without success.

Code: Select all

self attachturretslot 1 self.gun.origin
Self is my jeep.So that will attach the turret .....Is there a way to move it aside or forward ?

Thanks
Deadly and slient.
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 »

i think cobra{sfx} did something like that for a driverslot... findhim at mods-r-us.net

edit: hmm it seems you dont need to move the turret:
Uncle Cobra wrote: i wouldnt know without looking but u can spawn a turret
[/quote]
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

I talked with him in msn 2 hours ago.He tolds me to use the driverslot....But with this slot i cannot set a model as i do with the turret slot.
Deadly and slient.
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 »

a model for what?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

To change the turret onto a driver .(oss_man_m.tik)

Code: Select all

spawnturret( Integer slot, String tikifile )

      Spawns a turret with the specified model and connects it to the specified slot
You can use that only with the turret slot.
Deadly and slient.
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 »

you want the oss man in the back or you want him in the driver seat?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

In fact i wanted dual jeep control.Driver + gunner .The stock jeep skd+skc contains only one turret bone i checked out with Lightray3d.So what i wanna do is undonable unless i do a custom skeletion for the jeep wich i want (first cause i think i am not skilled for lol and second ,because i wanted to do a serverside mod)

With the stock skc i can only make a driver-gunner.

Well so thx for your help mate.I am still open if someone have a solution.

:D
Deadly and slient.
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Scorpio edited the jeep so that you can drive it in a tank style. The clients would require it, too, though.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
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 »

nah you can drive a jeep tank-style with a serverside script (made by scorpio)..
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

Serverside jeep mod with gunner and driver ( 2players) is impossible as said above.

I checked the scorpios files (skd skc) and he has set new turret bone or rather replaced the driver bone by a turret bone to allow a turret to attach (wich will be in fact an actor by settings the turret model).

Now that ive found the files i ll use them and give credits to their author :Scorpio_Midget and Small-Sumo.

Thx rookie for the info :D you spared me many desperate time lol
Deadly and slient.
Post Reply