Midgit, Giant

Post your scripting questions / solutions here

Moderator: Moderators

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 »

anyway,
Fungus's bad typing wrote:hmm o man, so that you KNOW youre giant and can actually SEE it?
what i MEANT to say was
hmm do mean, so that YOU know youre giant and can actually SEE it?
anyway.. you still need to explain yourself more thoroughly, i dont get it yet

ps, why is your name your e-mail?
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 »

my names my email causew i thought the username was an email adress blank lol. Anyawys lets say you enter a game, and you shoot at someones head. it will hit. Now if hes the size of the midgit, you have to aim down to shoot his head. If hes a giant, you should aim up to shoot at his head. Im tryimng to allow you to be able to change it so you can shoot at their head at any heights
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 »

Oh, you want it so that instead of dhooting at the midget head or giant head youwant them to shoot at the 'player's' head?
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 »

Ya i want it regardless of height, so that you can kill him
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 »

if the player is a giant sure you can kill him just as normal as ever... all you need to type is

Code: Select all

$player.scale = 10 // or whatever
(you realize you can change your name if you want)
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Gooser13
Private
Posts: 4
Joined: Tue Mar 08, 2005 8:24 pm
Location: Edmonton, Alberta, Canada

Post by Gooser13 »

Players are 96 Units High

//Bounding Box Normal:
local.player setsize ( -16 -16 0 ) ( 16 16 96 )

//Bounding Box Scale = .5 Midget
local.player setsize ( -16 -16 0 ) ( 16 16 48 )

//Bounding Box Scale = 2 Giant
local.player setsize ( -16 -16 0 ) ( 16 16 192 )
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 »

When messing about with modheight I found out that casting setsize on player will do absolutely nothing, at least I couldn't notice any effect.

And even if what you wrote worked, Gooser, it would only make the player 2 times shorter or 2 times taller, he wouldn't be any wider.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Gooser13
Private
Posts: 4
Joined: Tue Mar 08, 2005 8:24 pm
Location: Edmonton, Alberta, Canada

Post by Gooser13 »

And even if what you wrote worked, Gooser, it would only make the player 2 times shorter or 2 times taller, he wouldn't be any wider.
You are right, you need to change the width/depth like this:

local.player setsize ( -8 -8 0 ) ( 8 8 48 ) // midget

local.player setsize ( -32 -32 0 ) ( 32 32 192 ) // Giant
Post Reply