Midgit, Giant

Post your scripting questions / solutions here

Moderator: Moderators

davidyoung99
Private
Posts: 7
Joined: Fri Feb 25, 2005 1:18 am

Midgit, Giant

Post by davidyoung99 »

Does anyone know how to change it so once your a giant, your viewbox now covers the giant? Lets say my giant is scale 2
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

hmm o man, so that you KNOW youre giant and can actually SEE it?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
davidyoung99
Private
Posts: 7
Joined: Fri Feb 25, 2005 1:18 am

Post by davidyoung99 »

so that they can see your a giant, but when they shoot at you, it actually picks up that youre a giant, not still the normal size
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

I can't understand what you mean either... :?
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
davidyoung99
Private
Posts: 7
Joined: Fri Feb 25, 2005 1:18 am

Post by davidyoung99 »

ok ill help you out.
local.player.scale = .5
local.player setsize ( -16 -16 0 ) ( 16 16 48 ) //Set the bounding box to half height
that makes it so you can shoot midgits. How do you make it so you can shoot giants?
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Well, a scale of 0.5 won't make the player much smaller, as the standard scale is 0.52. ;) A player of half the size would be:

Code: Select all

local.player.scale = 0.26
local.player setsize ( -8 -8 0 ) ( 8 8 48 )
Giant (2x larger):

Code: Select all

local.player.scale = 1.04
local.player setsize ( -32 -32 0 ) ( 32 32 192 )
That should do.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

no, isnt .52 the scale of the model that is specified in the TIKI? so that means 1.00 is the .52?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

The TIKI commands are actually the same as the script commands. So - the player's (as well as all other models') default scale is 0.52.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

hmmm then in radiant why is everything scale 1?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Is it? I haven't ever noticed it. :P Uh well, I might be wrong. :D
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

scale 1 in Rad isnt the same as a TIKI scale. TIKI scale deals with model scale, Rad scale deals with multiplying the TIKI scale.
Moderator

۞
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:

Post by Rookie One.pl »

Are you certain of that?
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
davidyoung99
Private
Posts: 7
Joined: Fri Feb 25, 2005 1:18 am

Post by davidyoung99 »

yes, it is true, thats why I cant figure out what the scale should be for a giant.
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

It should be simply 2 then. :)
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

Are you certain of that?
this is the voice of experience, not a documentation.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Post Reply