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 » Sat Mar 05, 2005 11:15 pm
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 d o me an, 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?
davidyoung99
Private
Posts: 7 Joined: Fri Feb 25, 2005 1:18 am
Post
by davidyoung99 » Sun Mar 06, 2005 12:47 am
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 » Sun Mar 06, 2005 3:09 am
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?
davidyoung99
Private
Posts: 7 Joined: Fri Feb 25, 2005 1:18 am
Post
by davidyoung99 » Sun Mar 06, 2005 2:15 pm
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 » Sun Mar 06, 2005 2:40 pm
if the player is a giant sure you can kill him just as normal as ever... all you need to type is
(you realize you can change your name if you want)
Gooser13
Private
Posts: 4 Joined: Tue Mar 08, 2005 8:24 pm
Location: Edmonton, Alberta, Canada
Post
by Gooser13 » Tue Mar 08, 2005 8:31 pm
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 » Tue Mar 08, 2005 9:01 pm
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.
Gooser13
Private
Posts: 4 Joined: Tue Mar 08, 2005 8:24 pm
Location: Edmonton, Alberta, Canada
Post
by Gooser13 » Wed Mar 09, 2005 5:18 pm
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