Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » problem with hud.ini radar section
icon9.gif  problem with hud.ini radar section [message #437732] Mon, 11 October 2010 11:23 Go to next message
[CC]Pixie is currently offline  [CC]Pixie
Messages: 3
Registered: October 2010
Karma: 0
Recruit
Hello,
I'm trying to enlarge the in game radar to better fit for my screen because the default one is too small.
I read the bhs.txt and create a hud.ini file. However, I noticed that everytime I set the EnableRadar=true, when I enter the game, it just crashed. The hud.ini file is as simple as below:
[General]
EnableRadar=true
RadarRotate=true
DrawStar=true
RadarSize=300
RadarX=12
RadarY=0
RadarWorldSize=25.5


Any one can help me out? Thanks!
Re: problem with hud.ini radar section [message #437751 is a reply to message #437732] Mon, 11 October 2010 12:28 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
When you enlarged the radar did you moved the x and y coordinates to so it wouldn't go out your screen and might cause a crash

just a guess ^^


Owner of kambot TT server

kambot.freeforums.org
Re: problem with hud.ini radar section [message #437763 is a reply to message #437751] Mon, 11 October 2010 13:04 Go to previous messageGo to next message
[CC]Pixie is currently offline  [CC]Pixie
Messages: 3
Registered: October 2010
Karma: 0
Recruit
I did try removed the x and y coordinates info but still no luck. In fact, I even tried the hud.ini with only two lines like this:
[General]
EnableRadar=true

The game still crashed. Very strange.
PS, thanks for reply
Re: problem with hud.ini radar section [message #437764 is a reply to message #437763] Mon, 11 October 2010 13:14 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
[CC

Pixie wrote on Mon, 11 October 2010 22:04]I did try removed the x and y coordinates info but still no luck. In fact, I even tried the hud.ini with only two lines like this:
[General]
EnableRadar=true

The game still crashed. Very strange.
PS, thanks for reply


You should adjust X and Y coordinates so that your radar firs your screen if you enlarge you radar i will have to move up and sideways a bit i think


Owner of kambot TT server

kambot.freeforums.org
Re: problem with hud.ini radar section [message #437791 is a reply to message #437763] Mon, 11 October 2010 20:57 Go to previous messageGo to next message
0x90
Messages: 142
Registered: September 2006
Location: Germany
Karma: 0
Recruit
[CC

Pixie wrote on Mon, 11 October 2010 22:04]I did try removed the x and y coordinates info but still no luck. In fact, I even tried the hud.ini with only two lines like this:
[General]
EnableRadar=true

The game still crashed. Very strange.
PS, thanks for reply


hi,

if i may take a wild guess: i think this is exactly the problem... your hud.ini lacks some obligatory parameters.

you should take a complete and working hud.ini as basis (like the radar HUD by Canadacdn @ game-maps.net) and just change the parameters you have to in it!

if you really want/need to "clean up" the hud.ini you would have to take a look at shaderhud.cpp in scripts-source about what params aren't needed or just remove some options one at a time and see if it crashes (trial and error).
but from what i've seen so far the shaderhud/hud.ini is really messy (no offense) Wink

[Updated on: Mon, 11 October 2010 20:59]

Report message to a moderator

Re: problem with hud.ini radar section [message #437816 is a reply to message #437732] Tue, 12 October 2010 13:32 Go to previous message
[CC]Pixie is currently offline  [CC]Pixie
Messages: 3
Registered: October 2010
Karma: 0
Recruit
Thanks for the advice! I'll take a look at shaderhud.cpp. In Love
Previous Topic: Advanced Modeling Tutorial
Next Topic: Pathfinding Flying Units
Goto Forum:
  


Current Time: Sat Nov 09 05:24:33 MST 2024

Total time taken to generate the page: 0.01386 seconds