Page 1 of 1

Problem with scaled up units

Posted: Fri Mar 11, 2011 5:23 pm
by Snork
I've made a unit 3x its usual size and it works fine, but when I try and shoot it I can only hit its feet (basically, the space that the regular sized one takes up)

How do I give it an accurate collision? I tried using collisionrootscale and collisionscale but that did nothing

Re: Problem with scaled up units

Posted: Fri Mar 11, 2011 10:00 pm
by Bob
I believe that I read somewhere that units can only be scaled to 200% of their original size before things start going messy...
Hidden/Spoiler:
and btw if your overdoing it the collision is completly gone, I made an ackley 20X bigger than usual and he had no hitbox anymore (but he was able to do damage :cry: )

Re: Problem with scaled up units

Posted: Fri Mar 11, 2011 10:18 pm
by Fiodis
Bob wrote:I believe that I read somewhere that units can only be scaled to 200% of their original size before things start going messy...
Units can be scaled up huge without things "going messy" visually - the collision is the main problem. I know Dann_Boeing did some crazy things with Wampas and Han Solos.

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 2:20 pm
by Snork
Which map is that in again? I wanna look at it and see if I can figure anything out from it

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 2:25 pm
by acryptozoo
Snork wrote:Which map is that in again? I wanna look at it and see if I can figure anything out from it
i think there was scaled up wampas in rhen var

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 3:29 pm
by Snork
it looks like he just made all the hunter's weapons track directly to the enemy therefore eliminating the need for an accurate hitbox :/

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 3:34 pm
by Fiodis
Indeed, which is why I said collision is the main problem.

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 3:37 pm
by Snork
is there anything that could possibly done besides scaling up the model in XSI manually?

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 3:47 pm
by DarthD.U.C.K.
i dont think so and i doubt that scaling up the skeleton in xi will help eithersince it seems like the hitbox is independend from that

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 3:55 pm
by Snork
I give up :/

I guess the Giant Gamorrean just isn't to be....

Image

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 3:58 pm
by Fiodis
DarthD.U.C.K. wrote:i dont think so and i doubt that scaling up the skeleton in xi will help eithersince it seems like the hitbox is independend from that
Acklays have custom hitboxes, don't they?

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 4:05 pm
by Bob
every unit has a different hitbox, it depends on the model... butif it goes over 2x normal size the hitbox( = collision) becomes a square

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 4:05 pm
by DarthD.U.C.K.
yeah, but they are acklays, not normal units, just like the droidekas are :P
@bob: i doubt that, if it was like this collisionrootscale and offsetlines in the odf wouldnt be necessary, but they are.

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 4:11 pm
by Snork
Could I possibly make a collision for mr. gamorrean the same way vehicle collisions are made?

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 4:13 pm
by DarthD.U.C.K.
no, unitcollisions are mostly handled hardcoded, except for the few odflines for tweaking custom skeletons.

Re: Problem with scaled up units

Posted: Sat Mar 12, 2011 4:17 pm
by Snork
mreh :(