Page 1 of 1

Just for fun HUD question

Posted: Fri Aug 20, 2010 3:01 am
by Sakujyo
Would it be possible to enable certain weapons to display the "Incoming Missiles!" (i.e. game.missilelock) when someone is being targeted by a homing weapon? This would be for a ground infantry map by the way, so all homing weapons are fired by infantry, no vehicles.

If that is just a pipedream, is adding the typical "guided rocket" icons to the mini-map possible? (The X-Wing icon). Thanks in advance everyone!

Re: Just for fun HUD question

Posted: Fri Aug 20, 2010 10:42 am
by Obi-Wan Kenobi
I know that in a geonosis map(http://starwarsbattlefront.filefront.co ... 25th;81707) someone made it possible so that you could lock on to infantry with a rocket launcher, but I am not sure if the afore said question would work.

Re: Just for fun HUD question

Posted: Fri Aug 20, 2010 11:14 am
by Sakujyo
Well, I'm able to have the weapons lock on just fine, however the person who has been locked-on isn't notified of their impending doom. :lol:

Re: Just for fun HUD question

Posted: Fri Aug 20, 2010 11:30 am
by fiddler_on_the_roof
Sakujyo wrote: If that is just a pipedream, is adding the typical "guided rocket" icons to the mini-map possible? (The X-Wing icon). Thanks in advance everyone!
i don't know about the first thing, but you should be able to put an icon on the minimap for a missle. take a look in the rep_fly_gunship_sc.odf or the rep_walk_atte (command walker) for lines on mm icons

Re: Just for fun HUD question

Posted: Fri Aug 20, 2010 1:58 pm
by Sakujyo
Those are a type of "flyer", are they not? I guess its worth a shot though. :D I already had that code in for the missiles, but I did not change the type to "flyer"...because I feared a crash >_>;

Re: Just for fun HUD question

Posted: Fri Aug 20, 2010 4:40 pm
by DarthD.U.C.K.
you cant change the class of the odf, only use the lines related to the hudicon/minimapicon, i think they are:

Code: Select all

MapTexture          = "tridroidfighter_icon"
HealthTexture           = "HUD_cis_maf_icon"
MapScale            = 1.5
MapViewMin					= 750
MapViewMax					= 750

Re: Just for fun HUD question

Posted: Fri Aug 20, 2010 9:11 pm
by Sakujyo
Yeah, I had the same code in there for the X-Wing icon as exemplified by the guided rocket ord - however nothing appeared to show up on the map when the weapon was fired. I guess this just can't be done then XD. Thanks for the help anyways everyone.

Re: Just for fun HUD question

Posted: Fri Aug 20, 2010 10:12 pm
by lucasfart
The problem with this is, they'll probably get blasted before they even notice they're being fired at, as a missile moves so fast. In space you're moving fast as well so it takes a while to reach you, but not on land.