Your Ad Here

Subscribe
 Post #1
 14th April 2008
Gold Member
DarkNovaClan's Avatar
February 2007
302 Posts

Name:
VU-MOD

Version:
2 giggity giggity

Description:
VU-MOD add seats, passangers and verious functions to improve vehicles.

Requirements:
GMOD

Download:
http://www.garrysmod.org/downloads/?a=view&id=37419






----Vehicle upgrade mod (AKA: VU-MOD )----
For Players:
Ever wanted to take you buddy for a drive trough town? Or take a friend with you on a death defying obstacle course. Sick of that damn pod, wish you had more seat to build with...

VU-MOD is the answer!


For Car makers and Coders:
VU-MOD Allows you to add extra data to cars that allows you to add passenger seats to your car, Adjust the spawn pos to stop you car spawning in the ground, or define the animation players use in your car.

-What this can do-
* adds passenger support
* Seat trace for easy passenger access.
* Add as many seats as you like to you car.
* Rotate and Position Seats on your car.
* Mod First and third person view.
* Custom Exit Positions.
* Add seats to vehicle on spawn
* allow you to adjust the spawn pos and sitting pos for you car
* change your animation for your car....
* Features a small range of seats and chairs for your enjoyment.



Stuff included!

* Jeep Seat
* Airboat Seat
* Jalopy Seat
* Wooden Chair
* Plastic Chair
* Small Office Chair
* Big Office chair
* Jeep (+1 passenger)
* Jalopy (+1 passenger)



-Credits for the mod get to Me, DarkNova.Clan / Nova[X]
-Credits for the epic images go to Paddymazz



-A Tutorial On How To Use-

* AdjustSitPos
-modifies the sitting position of the player.
-unfortunately we can't rotate the player, angles are defined by a vehicle bone
 
AdjustSitPos = Vector(20,0,18),

* Passengers
-Adds passenger seats to your car at spawn.
-Add as many as you like on or in the car.
 
ADDING A PASSANGER
Passangers  = { Passanger1 = { Pos = Vector(22,24,22), Ang = Angle(0,0,0) } },

ADDING MULTIPLE PASSENGERS
Passangers  = { 
Passanger1 = { Pos = Vector(22,24,22), Ang = Angle(0,0,0) }
Passanger2 = { Pos = Vector(-22,52,22), Ang = Angle(0,0,0) } 
Passanger3 = { Pos = Vector(22,52,22), Ang = Angle(0,0,0) }
},

* SeatType
-Sets the type of seat you are using for passengers in your car.
-Required if adding passengers.
 
SeatType = "jeep_seat",

* HideSeats
-If your car has its own seats and you want to hide the spawned ones.
-If not given seats will be shown by deafult
 
HideSeats = true,

* ModView
-modify first and third parson view.
First Person
ModView = { FirstPerson = Vector(0,0,20) },

Third Person
ModView = { ThirdPerson = {Out = 30 , Up = 20} },

Both!
ModView = { FirstPerson = Vector(0,0,20), ThirdPerson = {Out = 30 , Up = 20} },


* customexits
-Add custom exits to your car
-Exits will be checked in order given.
customexits = { Vector(-90,36,22), Vector(82,36,22), Vector(22,24,90) ,Vector(2,100,30) },

Here Is an example!
local V = { 	
Name = "Jalopy", 
Class = "prop_vehicle_jeep",
Category = "Half-Life 2",
Author = "VALVe",
Information = "The muscle car from Episode 2",
Model = "models/vehicle.mdl",
AdjustSitPos = Vector(-18,36,22),
Passangers  = { Passanger1 = { Pos = Vector(22,24,22), Ang = Angle(0,0,0) } },
SeatType = "jeep_seat",
HideSeats = true,
Customexits = { Vector(-90,36,22), Vector(82,36,22), Vector(22,24,90) ,Vector(2,100,30) },
KeyValues = {vehiclescript	=	"scripts/vehicles/jalopy.txt"}
}
list.Set( "Vehicles", "Jalopy", V )

Final notes.
* This is not compatible with "PHX SEAT FIX" , this script makes it obsolete, remove it or you will have problems.
* This overwrites to the default jeep and jalopy so players who join your server can use it.
* Uses a trace system so that passengers can access seats inside cars
* Any cars set up to use this mod will not break with out it.




Lay some kings on me!
 Post #2
 14th April 2008
Gold Member
solid_jake's Avatar
November 2007
10,850 Posts
This is a great idea. I can't believe no one made this yet. Great for rp. Thanks!
 Post #3
 14th April 2008
Xenus's Avatar
May 2007
55 Posts
Nice idea Nova!

And good work.
 Post #4
 14th April 2008
Dennab
July 2005
5,619 Posts
This is great! Something neat to have in RP servers. Taxi anybody?
 Post #5
 14th April 2008
ReLak's Avatar
January 2007
490 Posts
Awesome sauce! Now I have to find that army truck model and make like 5 billion jakillion passenger spots.

"Hey guys! We're going on a trip!"

"Awesome"

*Everyone gets in the truck*

"So where are we going?"

"Secret.. it has waffles."

*Drives off PHX ramp*
 Post #6
 14th April 2008
prmiller's Avatar
March 2008
36 Posts
haha funny. umm you probably think im stupid or something but wouldnt it be
cool if a npc got in a car with you lol.
or a npc can get in a car and drive around like a baddy trys to run you over
and goodies run the baddys over hahaha man im so stupid.
 Post #7
 14th April 2008
Gold Member
Talishmar's Avatar
March 2007
7,858 Posts
Awesome!
 Post #8
 14th April 2008
Gold Member
DarkNovaClan's Avatar
February 2007
302 Posts
Paddymazz and the guys had some fun testing this on our server


http://garrysmod.org/downloads/?a=view&id=36667

We will never forget the mossman lap dances. :P
 Post #9
 14th April 2008
Gold Member
Jojje's Avatar
January 2005
6,960 Posts
Do they only look to the right?
 Post #10
 14th April 2008
Gold Member
DarkNovaClan's Avatar
February 2007
302 Posts
solid_jake posted:
This is a great idea. I can't believe no one made this yet. Great for rp. Thanks!
I only just added the sit animation in the last Gmod update. Thought i better put it to proper use.

Edit:

Jojje posted:
Do they only look to the right?
That's a Garry Bug. Look at a pod, it dose the same thing
 Post #11
 14th April 2008
winter333's Avatar
October 2007
40 Posts
Great for war servers. like if you make a server that has military mod and you have wars =D
 Post #12
 14th April 2008
esteban's Avatar
May 2006
77 Posts
English :

HELP ME

Vehicles do not have passenger seat

Francais (s'il y en a ) :

AIDEZ-MOI

Les Vehicules n'ont pas de siege pour passager ca ne marche pas je n'arrive pas mettre un passager enfin je n'arrive a rien AIDEZ MOI MERCI A VOUS/THANKS YOU !!!!!
 Post #13
 14th April 2008
Gold Member
DarkNovaClan's Avatar
February 2007
302 Posts
esteban posted:
HELP ME
Vehicles do not have passenger seat
You are in single player right? Passengers won't work on servers unless the server has it
 Post #14
 14th April 2008
esteban's Avatar
May 2006
77 Posts
The mod works in multiplayer only ?

Edit:

im french how to use this mod pls
 Post #15
 14th April 2008
portaldude's Avatar
November 2007
445 Posts
I get the regular pod animation when sitting in these. Any help?

Edit:

Oh I think it's because i got PHX car seat fix :)

Edit:

Oh and what server is it?
 Post #16
 14th April 2008
jamescorbett's Avatar
July 2007
35 Posts
Does not dupe.
 Post #17
 14th April 2008
Gold Member
Lyoko774's Avatar
October 2005
3,068 Posts
Haha, this is awesome! Definitely kicks the shit out of my little hack.
Nice screenshots, are you using that ENB Series shader mod thing?
Oh god another edit:
I think I know how to fix the head turning issue, try compiling the models using the EP1 tools, and maybe making proper collision models. Just a guess. Maybe I got lucky with the airboat seats..
YET ANOTHER EDIT:
It IS the collision models, if it just generates one from the reference or makes a truncated one, the player's heads fuck up like that. Very odd.
 Post #18
 14th April 2008
Pwn-o-Matic's Avatar
December 2007
1,970 Posts
You, fine sir, are a god.
 Post #19
 14th April 2008
Hysteria100's Avatar
July 2007
1,334 Posts
For me, they all show as the pod animation. I have the phx3 svn installed, so I can't just delete the phx fix. What to do?
 Post #20
 14th April 2008
cbale2000's Avatar
May 2007
855 Posts
Can you use this to adjust other vehicles you already have or only ones included with this mod? I'd really like to get a fix for the Spacebuild Model pack seats.
 Post #21
 14th April 2008
Gold Member
Dennab
August 2007
5,635 Posts
I agree, this doesn't work, I still have the pod animation. And I don't want to get rid of Phx3 just so that I can use this.
 Post #22
 14th April 2008
Gold Member
Lyoko774's Avatar
October 2005
3,068 Posts
This works fine for me, and I'm using PHX 3..And I think I still have my own fix installed too (yay for redundancy!).
 Post #23
 14th April 2008
Gold Member
paddymazz's Avatar
October 2006
3,993 Posts
Awesome work Nova!

But you spelt my name Wrong

Paddymazz
 Post #24
 14th April 2008
Gold Member
Dennab
August 2007
5,635 Posts
Lyoko774 posted:
This works fine for me, and I'm using PHX 3..And I think I still have my own fix installed too (yay for redundancy!).
Link to the fix?
 Post #25
 14th April 2008
Gold Member
Lyoko774's Avatar
October 2005
3,068 Posts
Mark£d_OÑ£ posted:
Link to the fix?
I mean, the PHX seat fix that's included in PHX3.
 Post #26
 14th April 2008
Gold Member
Dennab
August 2007
5,635 Posts
Damn. :(
 Post #27
 14th April 2008
SAXsamus's Avatar
April 2008
45 Posts
wow it looks nice and all but if there was a way for NPCs to notice the extra seats then they can hop in and if your are tired of driven (or FPS drop) they can drive for you just like prmiller said but other than that it looks awesome
 Post #28
 14th April 2008
cbale2000's Avatar
May 2007
855 Posts
Perhaps PHX3 will drop the fix it has in it seeing as this seems to have more content. Heck, maybe this could get added to PHX3.
 Post #29
 15th April 2008
Gold Member
DarkNovaClan's Avatar
February 2007
302 Posts
Well i have added support for the phx seats and the train, i even tried to override the "phx fix" hook, i am not sure weather that worked or not.

And
Paddymazz posted:
Paddymazz!!!
Fixed. Sorry

Mark£d_OÑ£ posted:
I agree, this doesn't work, I still have the pod animation. And I don't want to get rid of Phx3 just so that I can use this.
This supports the PXH seats, if you remove the lua folder for PHX seats fix you will still be able to use them, if your running a server and you want people to dl the seats don't remove the leave phx_fix_resources.lua where it is.

Edit:

cbale2000 posted:
Can you use this to adjust other vehicles you already have or only ones included with this mod? I'd really like to get a fix for the Spacebuild Model pack seats.
Yes, you can use this on any vehicle. and the best thing it, if some one has a car with this code, and not VU mod nothing will break.
Unfortunately, it seems impossible to rotate the players inside the car.
 Post #30
 15th April 2008
Gold Member
Dennab
August 2007
5,635 Posts
So wait, what do I delete exactly? I didn't get the fix, I just have phx3.
 Post #31
 15th April 2008
Gold Member
DarkNovaClan's Avatar
February 2007
302 Posts
Lyoko774 posted:
It IS the collision models, if it just generates one from the reference or makes a truncated one, the player's heads fuck up like that. Very odd.
All the seats taken from cars have proper collision models.. the rest are generated from reference, Id however remember having problems with XSI and smoothing groups. Any suggestions?

Edit:

Mark£d_OÑ£ posted:
So wait, what do I delete exactly? I didn't get the fix, I just have phx3.
The Silly Fix/Hack is included in PHX3
 Post #32
 15th April 2008
Gold Member
Dennab
August 2007
5,635 Posts
Well then is there anything I can delete to fix it?
 Post #33
 15th April 2008
Gold Member
DarkNovaClan's Avatar
February 2007
302 Posts
garrysmod/addons/phxseatanimfix/
or
garrysmod/addons/phx vehicle fix/
Delete the lua folder.

I attempted to override the hooks for this, but i don't know weather worked or not.
 Post #34
 15th April 2008
Gold Member
Dennab
August 2007
5,635 Posts
There is no folder called that. I already said that I got phx3 since it came with a fix.
 Post #35
 15th April 2008
Gold Member
1/4 Life's Avatar
July 2005
3,725 Posts
Mark£d_OÑ£ posted:
There is no folder called that. I already said that I got phx3 since it came with a fix.
I've clearly labled it in phx_content.lua, you can remove the script there.

I'll comment (Remove) it tomorrow morning until I finish my fix, so don't worry about this too much.
 Post #36
 15th April 2008
Cazull's Avatar
June 2005
1,798 Posts
If the phx guys can get their seats to work properly with the head being able to animate where the player looks, maybe you can work with them to achieve that same result?

Or has this already been resolved? I heard something about a hack/fix by phx, though the explanation of what it did was vague.
 Post #37
 15th April 2008
Gold Member
DarkNovaClan's Avatar
February 2007
302 Posts
yep, working on it. XSI isn't making it easy for me.

Found the problem, XSI uses geometry approximation instead of smoothing groups
 Post #38
 15th April 2008
Cazull's Avatar
June 2005
1,798 Posts
So with that knowledge, on a slightly related note, do you think the prisoner pod could be fixed in a later gmod update as well?
 Post #39
 15th April 2008
Gold Member
DarkNovaClan's Avatar
February 2007
302 Posts
yep, i can do that... done
 Post #40
 15th April 2008
jamescorbett's Avatar
July 2007
35 Posts
Ok to elaborate on my previous comment:

I spawn a jeep, with 2 seats, then I adv. Dupe it, oh look it only has one seat now.

Fix please.
Reply

All times are GMT. The time now is 07:20AM.

Facepunch Studios 2010 - Server 'MARGE'