lighting models human
Moderator: Moderators
lighting models human
My map has alot of darkness in it, spooky hidden passages and stuff like that. Is there a way I can block players from lighting up player models in my map??
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
Sure, you can force stock skins without sending any stufftext to the players. Just change the player's model property to the model you want, e.g.
This forces the allies to use the airborne model and the axis to use the waffen SS shutze model. However, this does not protect you from cg_forcemodels 1.
Code: Select all
force_stock_skins:
local.forcedskin[allies] = models/player/allied_airborne.tik
local.forcedskin[axis] = models/player/german_waffenss_shutze.tik
while (1)
{
for (local.i = 1; local.i <= $player.size; local.i++)
{
if ($player[local.i].model != local.forcedskin[$player[local.i].dmteam])
$player[local.i].model = local.forcedskin[$player[local.i].dmteam]
waitframe
}
waitframe
}
end-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
i really dont see a cg_forceskins 0 line on there, leading me to believe that it isnt[/t] changed by the script.
so you can but it wasnt on that script.
oh and i'd say instead of every frame, do it maybe every 30 seconds.
$player.size? while(1) would work ok...
so you can but it wasnt on that script.
oh and i'd say instead of every frame, do it maybe every 30 seconds.
$player.size? while(1) would work ok...
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
Could you please read what I write next time?
And read the script carefully. It does use a while loop and it changes the player's model ONLY if it's different from the one given.Rookie One wrote:This forces the allies to use the airborne model and the axis to use the waffen SS shutze model. However, this does not protect you from cg_forcemodels 1.


