how can add a new character in HL2DM SDK ?

Please don't post here unless its in response to an existing topic. New discussion is to be shared in the other forums.

how can add a new character in HL2DM SDK ?

Postby gamehk » Thu Mar 29, 2007 5:38 am

hello~
I want add a new character in HL2DM SDK players models choice list.
I originally think in hl2mp_player.cpp , but do no have .
Should in where?
Last edited by gamehk on Thu Mar 29, 2007 10:31 pm, edited 2 times in total.
gamehk
New Blood
 
Posts: 8
Joined: Fri Mar 23, 2007 7:38 am

Postby Bob » Thu Mar 29, 2007 4:50 pm

I am not sure what you are asking for. Could you please elaborate so i can better respond to what you are saying?
Bob
Site Admin
 
Posts: 252
Joined: Mon Nov 20, 2006 12:24 am
Location: San Jose California

Postby Wildfire » Thu Mar 29, 2007 6:19 pm

Looks like he wants to add additional player models to HL2DM.

At about Line 64 of hl2dm_player.cpp you'll find 2 arrays containing the player model directories for all the models (first array is for Rebels, other one for Combine). I would assume you can just add your model to one of the lists and it will become an available player model, so try that and see if it works.

I think it's also actually possible to change your player model manually from in-game too with the cl_playermodel command.
-Wild
Wildfire
New Blood
 
Posts: 35
Joined: Mon Dec 04, 2006 4:36 pm
Location: NM, USA

Postby gamehk » Thu Mar 29, 2007 10:29 pm

In const char *g_ppszRandomCitizenModels[] =
is a add models join team ,
i want in Options set player models add to list for person Choice .
I do not want only then to use this model to the person with 'cl_playermodel'
gamehk
New Blood
 
Posts: 8
Joined: Fri Mar 23, 2007 7:38 am

Postby Bob » Thu Mar 29, 2007 11:12 pm

that list is populated by the options you set there, i believe.
Bob
Site Admin
 
Posts: 252
Joined: Mon Nov 20, 2006 12:24 am
Location: San Jose California


Return to Unsorted Old Posts

Who is online

Users browsing this forum: No registered users and 1 guest

cron