Possible to spawn cars from gmod?

Obsidian General.
Post Reply
JigglyWiggly
Banned
Posts: 150
Joined: Mon Jul 28, 2008 11:55 am

Possible to spawn cars from gmod?

Post by JigglyWiggly »

Ok so... I'm pretty sure this is possible, though I'm not too sure. http://www.garrysmod.org/downloads/?a=view&id=60653 This car here the Z06, is it possible for it to spawn it into obsidian? Looking at the files, it doesn't seem that special. So if it is possible for this car, wouldn't it be possible for other cars as well? I just don't know how to spawn a vehicle in game. I mean jeep ch_Create w/e, but how would you do this? prop_physics_create doesn't work, so I'm out of ideas. Anyone else got an ideas? (Oh and just to clarify, I want it derivable :D)
Blues
npc_combinegunship
npc_combinegunship
Posts: 740
Joined: Wed Feb 13, 2008 8:47 pm

Post by Blues »

Open hammer, drop a prop_vehicle_jeep or whatever in your map and set this one as its model.
Image Image Image

Excuse me for being rude. I'm usually drunk while posting.
User avatar
Keychain
Obsidian Veteran
Obsidian Veteran
Posts: 1511
Joined: Sun Aug 17, 2008 5:09 am
Location: Florida, United States
Contact:

Post by Keychain »

Jiggly, if you plan on asking more questions, please consider making yourself a question thread or something rather then making 100 different ones.
User avatar
JerC
Donator
Donator
Posts: 914
Joined: Fri Jan 30, 2009 1:37 pm
Location: France

Post by JerC »

Keychain wrote:Jiggly, if you plan on asking more questions, please consider making yourself a question thread or something rather then making 100 different ones.
He think this is QUESTION CONFLICT.
Please don't take my posts before 2013 too seriously. It will be better for both you and I :c
JigglyWiggly
Banned
Posts: 150
Joined: Mon Jul 28, 2008 11:55 am

Post by JigglyWiggly »

-=jerC=- wrote:
Keychain wrote:Jiggly, if you plan on asking more questions, please consider making yourself a question thread or something rather then making 100 different ones.
He think this is QUESTION CONFLICT.
Christ that was lame, and I usually laugh at insults towards me. All you do is comment if someone double posts. Another note, this forum isn't very active, asking questions keeps it alive. Ever thought of that? Nope.
Blues wrote:Open hammer, drop a prop_vehicle_jeep or whatever in your map and set this one as its model.
Thanks for the actual answer, though I had already thought of that(really), but it's my fault I didn't clarify that, also they lose a lot of their properties liek their sounds, and they crash when I get in them, well sometimes. But I was wondering if it was possible to create it from the console. Like(random guess), ent_create prop_vehicle_jeep addoutput something
I have no idea, but just guessing.
User avatar
JerC
Donator
Donator
Posts: 914
Joined: Fri Jan 30, 2009 1:37 pm
Location: France

Post by JerC »

Erm,you didnt double posted.
Please don't take my posts before 2013 too seriously. It will be better for both you and I :c
User avatar
Neico
Lead Coder
Lead Coder
Posts: 1799
Joined: Tue Aug 15, 2006 3:39 pm
Location: Germany
Contact:

Post by Neico »

also keychain is right, do what she says

just ignore everyone that got a warning stage, they deserve it to be ignored
Image
Blues
npc_combinegunship
npc_combinegunship
Posts: 740
Joined: Wed Feb 13, 2008 8:47 pm

Post by Blues »

I think it should be something like this:

ent_fire prop_vehicle_jeep (or whatever) addoutput "model *model-path-and-name*"

You might mess around with the quotation marks as I'm not really sure.

Otherwise just copy the vehicle script from your gmod\scripts\verhicles to your obsidian\scripts\vehicles folder, select it as script to use for the jeep with changed model in hammer and see if that works.
Image Image Image

Excuse me for being rude. I'm usually drunk while posting.
Post Reply