News:

Come Chat with us live! Learn how HERE!

Main Menu

[1.1] Tyrant/bsuit viewheight

Started by ThisIsBS, April 02, 2011, 09:45:24 PM

ThisIsBS

How do I change the viewheight of the Tyrant/Battlesuit? I've done something before, but instead of the viewheight, I made the hitbox lower (you would aim at the waist with a rant for a headbite, anything over that will miss)

The file you need to edit will be most helpful, I'll figure most things out by myself :)

-tibs

xXMetalDogXx


gimhael

viewheight is in src/game/bg_misc.c

ThisIsBS

That's where I tried to edit in the first place. What I did was change this:

    24, 24,                                         //int     viewheight, crouchviewheight;

Is this what I'm supposed to change? When I tested it, I just screwed the hitbox for the Tyrant and Bsuit

ThisIsBS

Can someone please (help) answer my question? What exactly do I have to modify?

F50

I don't know the answer to this, but wouldn't it be easier to port 1.1 features into 1.2, rather than the other way around? I honestly would help if I knew, but I don't. I think what you've done with the viewheight is correct though, and now you just have to change the hitbox and anything else that needs changed to match up.
"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law


ThisIsBS

When I changed the viewheight with what I did, it already changed the hitbox. The real problem is that when you evolve into a Tyrant, its still the same, except the hitbox is higher/lower.

Yes, I guess it would be easier to import 1.1 to 1.2, but the problem is, theres not enough 1.2 players to go around to play on different servers, If that makes sense. [/runon]