Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Veh names at hud
Veh names at hud [message #397138] Wed, 05 August 2009 17:25 Go to next message
crysis992 is currently offline  crysis992
Messages: 314
Registered: June 2008
Karma: 0
Recruit

Hey guys,

i need again help with my hud:
http://i244.photobucket.com/albums/gg40/crysis992/hudquestion.jpg


Atm there is only the name "Vehicle" but i want that there display the Current Vehicle name
If im in a apc that threre is "APC" or if im in a buggy that there stand "Nod buggy" or something like that.

Can someone help me pls?
Re: Veh names at hud [message #397144 is a reply to message #397138] Wed, 05 August 2009 18:41 Go to previous messageGo to next message
dr3w2 is currently offline  dr3w2
Messages: 485
Registered: September 2006
Location: Ottawa,Canada
Karma: 0
Commander
		GameObject *obj = Get_Vehicle_Return((GameObject *)(*TheStar)->obj);
		char veh[250];
		sprintf(veh,"%s",Get_Translated_Preset_Name(obj));



That should work. Haven't tested it.
It should output the vehicle name OR the actual preset name like gdi_minigunner into the char array veh. I'm sure there's probebly a better or more specific way to do it ...


n00bstories Server Administrator

[Updated on: Wed, 05 August 2009 18:42]

Report message to a moderator

Re: Veh names at hud [message #397184 is a reply to message #397138] Thu, 06 August 2009 09:49 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
where do you get all these hud graphics Dont Get It
offtop Very Happy
Re: Veh names at hud [message #397214 is a reply to message #397184] Thu, 06 August 2009 14:22 Go to previous messageGo to next message
LeeumDee is currently offline  LeeumDee
Messages: 330
Registered: January 2008
Location: UK, England
Karma: 0
Recruit
That hud does have some nice graphics on it. Good job Smile

Re: Veh names at hud [message #397226 is a reply to message #397214] Thu, 06 August 2009 18:42 Go to previous message
Starbuzzz
Messages: 1637
Registered: June 2008
Karma: 0
General (1 Star)
You can get the HUD from his site. Tell Me It is really cool.

http://img30.imageshack.us/img30/8746/buzzsigfinal.jpg
Previous Topic: Diffrent spawners
Next Topic: Needing help editing Nod vehicle logo
Goto Forum:
  


Current Time: Mon Apr 29 08:35:24 MST 2024

Total time taken to generate the page: 0.00584 seconds