Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 22, 2024, 05:58:09 PM
News:
Trouble in Terrorist Town
?
Site here
,
forum here
.
Zombie Master
|
Other
|
Trouble in Terrorist Town
| Topic:
ttt_map_settings Change Player Model
Pages: [
1
]
Author
Topic: ttt_map_settings Change Player Model (Read 4489 times)
PAL-18
Poster
Posts: 36
«
on:
September 06, 2010, 08:20:47 PM »
How do i get multiple player models to be useable in a map? I've tried setting multiple ttt_map_settings with plymodel but only the last one is used.
Bad King Urgrain
Administrator
Posts: 12276
«
Reply #1 on:
September 06, 2010, 09:39:46 PM »
Use a logic_case with PickRandom to set a certain model via the appropriate input on ttt_map_settings.
PAL-18
Poster
Posts: 36
«
Reply #2 on:
September 06, 2010, 11:33:25 PM »
Hmm it doesnt work. Here's an example of my entity:
{
"origin" "0 0 0"
"Case02" "case02"
"Case01" "case01"
"classname" "logic_case"
"OnCase01" "ttt_map_settings,SetPlayerModels,models/player/alyx.mdl,PickRandom,0,-1"
"OnCase02" "ttt_map_settings,SetPlayerModels,models/player/barney.mdl,PickRandom,0,-1"
}
It' still displaying the default TTT player models.
Bad King Urgrain
Administrator
Posts: 12276
«
Reply #3 on:
September 07, 2010, 07:47:48 AM »
The input needs to fire immediately after the entities are created. You can do this using a logic_auto that fires its OnMapSpawn output to the PickRandom input of the logic_case.
I can't tell what your setup is there. It looks like you've set PickRandom as a parameter or something, I don't know.
«
Last Edit: September 07, 2010, 07:49:27 AM by Bad King Urgrain
»
PAL-18
Poster
Posts: 36
«
Reply #4 on:
September 08, 2010, 07:29:34 PM »
Models still arent displaying ingame. Here's the entities i have set:
{
"targetname" "ttt_map_settings"
"origin" "0 0 0"
"cbar_other" "0"
"cbar_doors" "0"
"cbar_buttons" "0"
"angles" "0 0 0"
"classname" "ttt_map_settings"
}
{
"origin" "0 0 0"
"spawnflags" "1"
"classname" "logic_auto"
"OnMapSpawn" "choose_models,PickRandom,,0,-1"
}
{
"origin" "0 0 0"
"targetname" "choose_models"
"Case02" "case02"
"Case01" "case01"
"classname" "logic_case"
"OnCase01" "ttt_map_settings,SetPlayerModels,models/player/alyx.mdl,0,-1"
"OnCase02" "ttt_map_settings,SetPlayerModels,models/player/barney.mdl,0,-1"
}
«
Last Edit: September 08, 2010, 08:49:00 PM by PAL-18
»
Bad King Urgrain
Administrator
Posts: 12276
«
Reply #5 on:
September 08, 2010, 08:49:48 PM »
Quote from: PAL-18 on September 08, 2010, 07:29:34 PM
"choose_models,,0,-1"
There's no input specified there.
PAL-18
Poster
Posts: 36
«
Reply #6 on:
September 09, 2010, 03:54:15 AM »
Edit: Nm, i got it working.
Thanks for the help ;)
«
Last Edit: September 10, 2010, 08:56:35 PM by PAL-18
»
Pages
: [
1
]
Zombie Master
|
Other
|
Trouble in Terrorist Town
| Topic:
ttt_map_settings Change Player Model
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Other
-----------------------------
=> Trouble in Terrorist Town
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Page created in 0.009 seconds with 18 queries.
Loading...