Command Post Numbering

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
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Command Post Numbering

Post by modmaster13 »

Hey, is there any way I can change the number of the CP that shows up on the mini map?
Hidden/Spoiler:
Image
I want to try to change the following CP numbers.
Hidden/Spoiler:
CP 0 -> CP 4

CP 4 -> CP 6
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Command Post Numbering

Post by razac920 »

I THINK the order that you add the command posts in the LUA determines their numbering, with the first one being 0, second one being 1, and so forth.
User avatar
linksith
Command Sergeant Major
Command Sergeant Major
Posts: 284
Joined: Mon Jul 12, 2010 12:19 pm
Projects :: Waaay too many projects
Games I'm Playing :: too many
xbox live or psn: me has no xbox
Location: looking for a wifi connection

Re: Command Post Numbering

Post by linksith »

I'm just going to post this tiny little detail. You can't change maps that are already in battlefront; you need the unmunged files in order to make this change. It's a no-brainer piece of info but people have asked this sort of thing in the past.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Command Post Numbering

Post by modmaster13 »

linksith wrote:I'm just going to post this tiny little detail. You can't change maps that are already in battlefront; you need the unmunged files in order to make this change. It's a no-brainer piece of info but people have asked this sort of thing in the past.
Yes I am aware that you can't change battlefront stock maps. But anyways, I figured out how to re-number CP's
Hidden/Spoiler:
1) Load your map in ZE
2) Switch to the conquest layer
3) Click on your command post
4) On the "Object Instance" tab, hit the "Page Dn" button until you get to the 8th/last page
5) There is a section that says "HUDIndex", type in whatever number you want the CP to show up as, on the mini map, in that section
I don't think that will come in handy too often for modders, mainly because it may not seem like its a big deal. But those are instructions on how to rename CP's.
User avatar
yuke5
Field Commander
Field Commander
Posts: 945
Joined: Wed Jun 29, 2011 10:42 pm
Games I'm Playing :: SWBF2 TF2 RC KOTOR
xbox live or psn: My steam is yuke5.
Location: Vermont

Re: Command Post Numbering

Post by yuke5 »

Hey, I wonder if you could type a word instead of a number. That might be cool. I'll investigate.
User avatar
linksith
Command Sergeant Major
Command Sergeant Major
Posts: 284
Joined: Mon Jul 12, 2010 12:19 pm
Projects :: Waaay too many projects
Games I'm Playing :: too many
xbox live or psn: me has no xbox
Location: looking for a wifi connection

Re: Command Post Numbering

Post by linksith »

I was unaware that one could use that box for labeling the CP. It is an interesting side note to know and for modded like me. I would consider that a little relevant for the maps I'm working on (still).
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Command Post Numbering

Post by kinetosimpetus »

I don't think words will work in the index. it's not a label, it just tells the game what order to process the objects in.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Command Post Numbering

Post by modmaster13 »

That would be cool if you could name command posts like this:
Hidden/Spoiler:
Image
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Command Post Numbering

Post by Marth8880 »

You could just fit that into the level's map texture.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Command Post Numbering

Post by modmaster13 »

Marth8880 wrote:You could just fit that into the level's map texture.
Thats true. Also I tried having a word in the "HUDIndex and it didn't work. :(
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: Command Post Numbering

Post by Cleb »

Marth8880 wrote:You could just fit that into the level's map texture.
Wait, wouldn't doing that make the words just go over the number but not cover it up, only making it harder to read?
Post Reply