player sizes

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
JUDGE
Corporal
Posts: 38
Joined: Thu Nov 25, 2004 9:46 pm
Location: UK
Contact:

player sizes

Post by JUDGE »

hi all at .map
quick question i can down scale models but how to i down scale a player in a script trying to get him about 0.11 scale?

ive tryed scaling down the player in the tik file by placing "scale 0.11"
just under tiki but doesnt work.

:D
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Place it in the 'setup' section.
Image
kkcahdcakcyt
Sergeant
Posts: 71
Joined: Wed Aug 03, 2005 11:16 pm

Post by kkcahdcakcyt »

anyway to change player sizes from a .scr
basically to do toy soldiers type thing.
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

I think its player scale .5
Image
kkcahdcakcyt
Sergeant
Posts: 71
Joined: Wed Aug 03, 2005 11:16 pm

Post by kkcahdcakcyt »

I'm doing this for Multiplayer

for (local.z=$player.size; local.z > 0; local.z--)
{
$player[local.z] scale .5
}

except this doesn't seem to work.
GiffE1118
Warrant Officer
Posts: 137
Joined: Fri Aug 05, 2005 12:14 am
Contact:

Post by GiffE1118 »

kkcahdcakcyt wrote:I'm doing this for Multiplayer

for (local.z=$player.size; local.z > 0; local.z--)
{
$player[local.z] scale .5
}

except this doesn't seem to work.
you cannot notice a difference in the view of a sclaed down player they still see at a high level but their bodies are tiny. u can either try with 2 players or swithc to 3rd person

i also prefer going up in the player.size like

Code: Select all

for (local.i=0; local.i <= $player.size; local.i++)
{ $player[local.i].scale = .5 }
(getting rusty at moh, its either 0 or 1 the indexing starts at...)
but either way works

try the 3rd person or 2 players. the code should work
www.95thDivision.com
Image

BOTTOM 125th Poster! lol
kkcahdcakcyt
Sergeant
Posts: 71
Joined: Wed Aug 03, 2005 11:16 pm

Post by kkcahdcakcyt »

ah...that would probably be it, how would i do 3rd person?
is that a mod i would have to download.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

3rd person

Post by tltrude »

This line turns it on:

setcvar cg_3rd_person 1

This line turns it off:

setcvar cg_3rd_person 0
Tom Trude,

Image
Post Reply