Author Topic: [1.1] Tyrant/bsuit viewheight  (Read 3041 times)

ThisIsBS

  • Posts: 123
  • Turrets: +4/-45
[1.1] Tyrant/bsuit viewheight
« on: April 02, 2011, 09:45:24 pm »
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

  • Posts: 38
  • Turrets: +0/-4
Re: [1.1] Tyrant/bsuit viewheight
« Reply #1 on: April 02, 2011, 10:02:34 pm »
loool, its oblivion here.  :)

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: [1.1] Tyrant/bsuit viewheight
« Reply #2 on: April 03, 2011, 07:43:13 am »
viewheight is in src/game/bg_misc.c

ThisIsBS

  • Posts: 123
  • Turrets: +4/-45
Re: [1.1] Tyrant/bsuit viewheight
« Reply #3 on: April 06, 2011, 09:31:01 pm »
That's where I tried to edit in the first place. What I did was change this:

Code: [Select]
    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

  • Posts: 123
  • Turrets: +4/-45
Re: [1.1] Tyrant/bsuit viewheight
« Reply #4 on: April 12, 2011, 10:03:34 pm »
Can someone please (help) answer my question? What exactly do I have to modify?

F50

  • Posts: 740
  • Turrets: +16/-26
Re: [1.1] Tyrant/bsuit viewheight
« Reply #5 on: April 14, 2011, 12:31:48 pm »
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

  • Posts: 123
  • Turrets: +4/-45
Re: [1.1] Tyrant/bsuit viewheight
« Reply #6 on: April 14, 2011, 09:56:09 pm »
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]