I would like to change the default player model from a random CS:S Terrorist model to one of the HL2 rebel models
how would I go about doing this? I can't find the LUA file where the playermodel is set
TTT- how do I change the default player model?
-
- A semi-regular
- Posts: 16
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sun Nov 10, 2013 1:00 pm
Re: TTT- how do I change the default player model?
gamemodes/terrortown/gamemode/shared.lua
I was looking in the past as well
Code: Select all
-- Everyone's model
local ttt_playermodels = {
Model("models/player/phoenix.mdl"),
Model("models/player/arctic.mdl"),
Model("models/player/guerilla.mdl"),
Model("models/player/leet.mdl")
};
-
- A semi-regular
- Posts: 16
- Joined: Sun Nov 10, 2013 1:00 pm
Re: TTT- how do I change the default player model?
do you have any idea where the base HL2 models are stored on the server?
I want to use the male_07 model, but I have no idea where that is stored at
I want to use the male_07 model, but I have no idea where that is stored at
-
- A semi-regular
- Posts: 16
- Joined: Sun Nov 10, 2013 1:00 pm
Re: TTT- how do I change the default player model?
yes but how do I reference this in lua?
models/player/male_07.mdl
models/player/male_07.mdl
Re: TTT- how do I change the default player model?
Change it in the array I posted earlier
You can literally just change the file path in the quotes. Make sure to add this to the gamemodes/terrortown/gamemode/shared.lua
You'll see where I pulled that from in there.
Code: Select all
-- Everyone's model
local ttt_playermodels = {
Model("models/player/phoenix.mdl"),
Model("models/player/arctic.mdl"),
Model("models/player/guerilla.mdl"),
Model("models/player/leet.mdl")
};
You'll see where I pulled that from in there.
-
- A semi-regular
- Posts: 16
- Joined: Sun Nov 10, 2013 1:00 pm
Re: TTT- how do I change the default player model?
that is what my question is, what is the filepath to the default models?
Re: TTT- how do I change the default player model?
You posted it, models/player/male_07.mdl