Just for fun HUD question

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Sakujyo
Recruit Womprat Killer
Posts: 11
Joined: Sun May 23, 2010 5:57 pm

Just for fun HUD question

Post 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!
User avatar
Obi-Wan Kenobi
2nd Warning
2nd Warning
Posts: 150
Joined: Mon Jul 12, 2010 10:51 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Why do you want to know?

Re: Just for fun HUD question

Post 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.
Sakujyo
Recruit Womprat Killer
Posts: 11
Joined: Sun May 23, 2010 5:57 pm

Re: Just for fun HUD question

Post 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:
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Just for fun HUD question

Post 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
Sakujyo
Recruit Womprat Killer
Posts: 11
Joined: Sun May 23, 2010 5:57 pm

Re: Just for fun HUD question

Post 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 >_>;
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Just for fun HUD question

Post 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
Sakujyo
Recruit Womprat Killer
Posts: 11
Joined: Sun May 23, 2010 5:57 pm

Re: Just for fun HUD question

Post 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.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Just for fun HUD question

Post 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.
Post Reply