[CS:GO] Changing the Team Player Model?

Any aspects of level design for the Source engine.

[CS:GO] Changing the Team Player Model?

Postby Kubata on Tue Jul 24, 2012 6:28 pm

Howdy,

working on a map for CS:GO and Ive run across something silly. I can't seem to find out after a lot of google searching exactly how to change the player models for a team. In short, the default skin for Terrorists is the leet krew and variants but I would like to change it to something else (Phoenix Connexion). I figured I can't be the only one interested in this so I feel this is a useful topic to have in case anybody knows the solution.

Cheers
Image
"You can have all the cool effects and the latest technology, but if you don't nail that 30 seconds of fun, you're not gonna have a great game." - Jaime Griesemer
User avatar
Kubata
Been Here A While
Been Here A While
 
Joined: Sat Jan 28, 2006 12:08 am
Location: Alamogordo, NM

Re: [CS:GO] Changing the Team Player Model?

Postby LordDz on Tue Jul 24, 2012 7:41 pm

I did some googleing, but couldn't ind anything. Can't you check how Valve have done in their maps? Use GCFScape and decompile one of their CS:GO maps.
User avatar
LordDz
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Mon Sep 01, 2008 12:28 pm
Location: Not a serious post ---->

Re: [CS:GO] Changing the Team Player Model?

Postby Kosire on Tue Jul 24, 2012 8:29 pm

It's specified in the ugly gamemodes.txt for each map.

Code: Select all
      "de_train"
      {
         "nameID"         "#SFUI_Map_de_train"
         "name"            "de_train"
         "minplayers"      "10"
         "maxplayers"      "10"
         "extraspectators"   "2"
         "imagename"         "map-train-overall"
         "t_arms"         "models/weapons/t_arms_phoenix.mdl"
         "ct_arms"         "models/weapons/ct_arms_gsg9.mdl"
         "t_models"
         {
            "tm_phoenix"      ""
            "tm_phoenix_variantA"   ""
            "tm_phoenix_variantB"   ""
            "tm_phoenix_variantC"   ""
            "tm_phoenix_variantD"   ""
         }
         "ct_models"
         {
            "ctm_gsg9"      ""
            "ctm_gsg9_variantA"   ""
            "ctm_gsg9_variantB"   ""
            "ctm_gsg9_variantC"   ""
            "ctm_gsg9_variantD"   ""
         }
      }
Last edited by Kosire on Tue Jul 24, 2012 11:21 pm, edited 1 time in total.
User avatar
Kosire
1337 p0st3r
1337 p0st3r
 
Joined: Sat Mar 07, 2009 7:25 pm
Location: Denmark

Re: [CS:GO] Changing the Team Player Model?

Postby Sathor on Tue Jul 24, 2012 9:39 pm

use the kv File
User avatar
Sathor
May Contain Skills
May Contain Skills
 
Joined: Sat Jan 20, 2007 10:31 pm
Location: Germany

Re: [CS:GO] Changing the Team Player Model?

Postby srredfire on Tue Jul 24, 2012 10:55 pm

Kubata are you still making Militia?
User avatar
srredfire
Veteran
Veteran
 
Joined: Sat Jul 22, 2006 10:44 pm

Re: [CS:GO] Changing the Team Player Model?

Postby Kubata on Wed Jul 25, 2012 3:00 am

Thank you it absolutely was the gamemodes.txt

Also srredfire yes I am
Image
"You can have all the cool effects and the latest technology, but if you don't nail that 30 seconds of fun, you're not gonna have a great game." - Jaime Griesemer
User avatar
Kubata
Been Here A While
Been Here A While
 
Joined: Sat Jan 28, 2006 12:08 am
Location: Alamogordo, NM

Re: [CS:GO] Changing the Team Player Model?

Postby Dives on Wed Jul 25, 2012 4:03 am

Bleh thats a crappy way for it to be done. Valve should have added the choice in the Worldspawn, just like how you choose the music theme in L4D2.
Current project: Journey to Splash Mountain [L4D2]
User avatar
Dives
May Contain Skills
May Contain Skills
 
Joined: Sat Feb 28, 2009 9:54 pm
Location: Moorpark, CA

Re: [CS:GO] Changing the Team Player Model?

Postby Sathor on Wed Jul 25, 2012 7:42 am

Sorry for the crappy answer a few hours ago, I just had come off the plane :)

Well, now I am back after a one week beach holiday.

Valve introduced the KV file after they saw how crappy editing the gamemodes.txt for custom maps is. In the KV you can define player count etc as well.

I expect it will be made easier in future.
User avatar
Sathor
May Contain Skills
May Contain Skills
 
Joined: Sat Jan 20, 2007 10:31 pm
Location: Germany

Re: [CS:GO] Changing the Team Player Model?

Postby Kanine01 on Wed Aug 22, 2012 1:30 am

Might I inquire as to how I'm supposed to create that KV file in the first place?
User avatar
Kanine01
Regular
Regular
 
Joined: Wed Apr 20, 2011 7:10 pm

Re: [CS:GO] Changing the Team Player Model?

Postby Habboi on Wed Aug 22, 2012 10:54 am

Yes, what is this magical KV file you speak of?

Never mind found a tutorial. Cheers.

Awww yeah. You can mix and match teams as well so I can have my SAS vs Professionals :>

Image
http://www.habboi.co.uk - Habboi's Portfolio and Blog

Working on indie title "A Hat in Time" by Jonas Karlev.
http://steamcommunity.com/sharedfiles/f ... d=92952101
User avatar
Habboi
Senior Member
Senior Member
 
Joined: Fri Apr 15, 2005 9:52 pm

Re: [CS:GO] Changing the Team Player Model?

Postby Sathor on Wed Aug 22, 2012 12:49 pm

A basic KV file - save it as mapname.kv and put it into the map folder :wink:

"de_investment_h122"
{
"name" "de_investment_h122"
"minplayers" "10"
"maxplayers" "32"
"extraspectators" "2"
"imagename" "map-dust2-overall"
"t_arms" "models/weapons/t_arms.mdl"
"ct_arms" "models/weapons/ct_arms_st6.mdl"
"t_models"
{
"tm_leet_variantA" ""
"tm_leet_variantB" ""
"tm_leet_variantC" ""
"tm_leet_variantD" ""
"tm_leet_variantE" ""
}
"ct_models"
{
"ctm_st6" ""
"ctm_st6_variantA" ""
"ctm_st6_variantB" ""
"ctm_st6_variantC" ""
"ctm_st6_variantD" ""
}
}
User avatar
Sathor
May Contain Skills
May Contain Skills
 
Joined: Sat Jan 20, 2007 10:31 pm
Location: Germany

Return to Hammer Editor Help

Who is online

Users browsing this forum: Exabot [Bot]