Hello everyone
I need help on getting the gold indicator for the coin attribute in my game project. I only need the colour to change just for the coins and no other types of attributes such as heath. That should remain green.
I made the file for the gold indicator already
This how it should look like only expect the green indicatior for the coins should be gold instead.
Thanks for your time.
How to add gold indicator for coins
Re: How to add gold indicator for coins
You will need to change the CHeadsUpDisplay class in the source code if you want a new indicator. Right now it only has an indicator for all non-npc actors and an indicator for all npc actors.
Re: How to add gold indicator for coins
What NPC mean ?Allanon wrote:You will need to change the CHeadsUpDisplay class in the source code if you want a new indicator. Right now it only has an indicator for all non-npc actors and an indicator for all npc actors.
How do I change the source code and will there be a new reality factory release ?
What is the diference between NPC actors and non NPC actor ?
Re: How to add gold indicator for coins
Non Player CharacterWhat NPC mean ?
You will need Microsoft's Visual Studio C++ compiler and the knowledge of how to compile Reality Factory in order to change the source code. It's not something you should try if you don't know how to program. And I don't know if there is going to be a new release.How do I change the source code and will there be a new reality factory release ?
NPC actors are computer controlled actors such as a hostile robot and non NPC actors are stuff like heath packs and gold coins.What is the difference between NPC actors and non NPC actor ?
Re: How to add gold indicator for coins
In the hud.ini file (found in the install folder) change npcindicator = hud\indicator_red.bmp to npcindicator = hud\indicator_gold.bmp. That should work.
[radar]
frame = hud\hud_radar.bmp
framealpha = hud\a_hud_radar.bmp
indicator = hud\indicator_green.bmp
indicatoralpha = hud\a_indicator.bmp
npcindicator = hud\indicator_red.bmp
npcindicatoralpha = hud\a_indicator.bmp
framex = -138
framey = 10
range = 3000
*edit* I just saw that you only want the coins gold. I imagine that would involve some programming. Sorry, thought I'd cracked that one for you.
[radar]
frame = hud\hud_radar.bmp
framealpha = hud\a_hud_radar.bmp
indicator = hud\indicator_green.bmp
indicatoralpha = hud\a_indicator.bmp
npcindicator = hud\indicator_red.bmp
npcindicatoralpha = hud\a_indicator.bmp
framex = -138
framey = 10
range = 3000
*edit* I just saw that you only want the coins gold. I imagine that would involve some programming. Sorry, thought I'd cracked that one for you.
Steve Dilworth - Resisting change since 1965!
Re: How to add gold indicator for coins
Hopefully that can be done a in new RF version
Re: How to add gold indicator for coins
I am not a scripter, but I know some amazing things have been done with scripts. It's like programming without the source code. Their is a lot of documentation on it in the scripting folder.
Steve Dilworth - Resisting change since 1965!