View unanswered posts | View active topics It is currently Sun May 29, 2022 4:57 am



Reply to topic  [ 5 posts ] 
 How to add custom models to your map 
Author Message
★★★★

Joined: Wed Aug 27, 2008 9:12 pm
Posts: 297
Has thanked: 0 time
Been thanked: 0 time
Yes, yes I know a lot of you know how to do this but the newbies for VHE don't :)

So here I go, it will be pretty damn short because it isn't that difficult.

First, get the models you want. As in a new Gauss, Egon, shotgun,etc.

Then when your working on your map spawn the weapon that you want to replace(as in spawn a weapon_Gauss) and go to it's properties page and scroll down in till you see "Custom Model" or something like that, and press the button besides the bar and search for the model. Make sure you made a folder of your map name and place it in models with the weapon model along with it.



That will work if it doesn't wtf did you do
:look:


Just for the hell of it.......here are some models that you might like.

Note:I did make any of these models, I found them on Sven Coop forums.


Attachments:
Desktop.zip [314.09 KiB]
Downloaded 327 times
Sat May 02, 2009 9:48 pm
Profile
Site Admin

Joined: Mon May 05, 2008 9:05 pm
Posts: 1426
Has thanked: 19 times
Been thanked: 13 times
Actually it would be better to replace models using the global model replacement file, that way non default models aren't going against the limited model precache count limit(for weapons and some other models.) the engine has. Going through the w_,v_, p_model options in the entities allow you to use a different model but it doesn't actually replace it explicitly, which means the regular model can be used, global model replacement explicitly replaces the model so the custom model is the only one that can be used and the default ones aren't precached, which would take 3 models off of the precache then doing it the other way.

_________________
/!\ New MC players please read these 2 threads: Rules and Starter Guide. /!\

Image
Image
[ Steam group for my SC game servers. - Cartman-2000's image host ]


Sat May 02, 2009 10:05 pm
Profile
★★★★

Joined: Wed Aug 27, 2008 9:12 pm
Posts: 297
Has thanked: 0 time
Been thanked: 0 time
I tried to use that global model file, but I saw examples and I tried to copy them but it still didn't work.


Sat May 02, 2009 10:10 pm
Profile
Site Admin

Joined: Mon May 05, 2008 9:05 pm
Posts: 1426
Has thanked: 19 times
Been thanked: 13 times
For your mars map something like this should work.

Make a file named mars.gmr in your maps directory, and put this in it.
Code:
"models/p_9mmAR.mdl"      "models/Mars/p_9mmar.mdl"
"models/v_9mmar.mdl"      "models/Mars/v_9mmar.mdl"
"models/w_9mmar.mdl"      "models/Mars/w_9mmar.mdl"
"models/w_9mmarclip.mdl"      "models/Mars/w_9mmarclip.mdl"

Then add this to your maps config file.
globalmodellist ../../maps/mars.gmr

_________________
/!\ New MC players please read these 2 threads: Rules and Starter Guide. /!\

Image
Image
[ Steam group for my SC game servers. - Cartman-2000's image host ]


Sat May 02, 2009 10:23 pm
Profile
★★★★★
User avatar

Joined: Mon Jul 21, 2008 6:23 pm
Posts: 472
Location: BURNING IN HELL
Has thanked: 0 time
Been thanked: 0 time
cartman-2000 wrote:
Actually it would be better to replace models using the global model replacement file, that way non default models aren't going against the limited model precache count limit(for weapons and some other models.) the engine has. Going through the w_,v_, p_model options in the entities allow you to use a different model but it doesn't actually replace it explicitly, which means the regular model can be used, global model replacement explicitly replaces the model so the custom model is the only one that can be used and the default ones aren't precached, which would take 3 models off of the precache then doing it the other way.

it took me like a week to figure out how that worked
its easy once you get it
its also more realistic and less time consuming

_________________
Image
Image


Sun May 03, 2009 6:02 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.
[ Time : 0.053s | 20 Queries | GZIP : On ]