import gmod vehicles as prop_static (noo Created 13 years ago2011-02-23 00:18:40 UTC by Captain Terror Captain Terror

Created 13 years ago2011-02-23 00:18:40 UTC by Captain Terror Captain Terror

Posted 13 years ago2011-02-23 00:19:42 UTC Post #290681
Hi!

i'm trying to import some gmod vehicles into my cs:s maps as prop static. please excuse my noob, as i am very new to source mapping...

The materials show up in the material browser fine. the models show up in model browser, but model preview is a blank grid. When i place the prop_static in game, it gives you the the bounding box in hammer of the model, but there is no model there...

i copied the models folder for the vehicle(named "bus") to
cstrike\models
sourcesdk_content\cstrike\modelsrc
and for kicks, i copied the material and model files to:
cstrike\materials\models

It should be noted these are drivable vehicles from gmod that i simply want to use as props.

If someone could shed some light on importing these into counter-stirke, and/or link to a tutorial, i'd be grateful!
Captain Terror Captain Terrorwhen a man loves a woman
Posted 13 years ago2011-02-23 20:15:11 UTC Post #290709
Did you put the the model and materials in the same file paths as in Garry's Mod?
Posted 13 years ago2011-02-23 21:42:27 UTC Post #290710
HEY that was it! i had created a "bus" subdirectory, where none had existed in the garry's mod model pack paths! Removing that subdirectory and just plopping all the model files in the model folder worked!

THANK YOU!

)

Edit:
Strangely, i found after experimenting a little, that in order for the models to show up, i had to do this: In the cstrike\models folder, i needed the model files in there own subdirectory(bus), plus, the model files plopped naked in cstrike\models without a subdirectory.. Here's where i copy/pasted files to get the models to show up in hammer:

-cstrike\models\bus - bus subdirectory with model files, plus the same model files naked in the cstrike\models\ directory (in the gmod directory, models have no bus subdirectory, but i won't work without having both fsr)

sourcesdk_content\cstrike\materialsrc\bus - materials files in the bus subdirectory, just as they are in gmod folder.

cstrike\materials\bus - material files in the bus subdirectory, just as they are in the gmod folder.

Edit x2: I also found some these models will only show up as cycler entity, and not as prop_static or detail.. Also, when you shoot them, they "cycle" between sequences.. Anyone know a way to avoid this?
Captain Terror Captain Terrorwhen a man loves a woman
Posted 13 years ago2011-02-24 20:17:58 UTC Post #290749
No problem.
As for the cycler issue, can you make them a prop override entity or something like that?
Posted 13 years ago2011-02-24 20:49:58 UTC Post #290750
If they're vehicles, they'll have dynamic properties. Wheels with physics, weight information and such. They won't work as prop_static unless you edit the .qc file.

try prop_dynamic.
Archie ArchieGoodbye Moonmen
Posted 13 years ago2011-03-01 01:39:31 UTC Post #290943
Thanks huntey using prop_dynamic for the gmod vehicles worked perfectly.

)

Captain Terror Captain Terrorwhen a man loves a woman
You must be logged in to post a response.