Home   Help Search Login Register  

Author Topic: replacing mp selection screen flag icons  (Read 1760 times)

0 Members and 1 Guest are viewing this topic.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
replacing mp selection screen flag icons
« on: 20 Feb 2005, 23:34:57 »
I want to be able to display different icons next to the players name in the mp setup screen once they select a unit on a side

Specifically i mean the

west USA flag icon
East Russian Flag icon
Resistance FIA flag icon

that is placed next to your name when you select a side in the mp setup role

i have searched the resource.bin file and the main config for the entries for them.

The only entry i can find is cfgWorlds in the main config

Quote
class CfgWorlds
   {
   access=1;
   eastSign="east_01.paa";
   westSign="east_01.paa";
//      westSign="west_01.paa";
   eastFlag="rus_vlajka.pac";
   westFlag="rus_vlajka.pac";
//   westFlag="usa_vlajka.pac";
   guerrilaSign="guer_01.paa";
   guerrilaFlag="guer_01.paa";

as you can see, i commented out the west BIS standard entry and tried to use the russian settings on west for testing purposes.

However the us flag was still shown next to my player name when i ran a mod test mission, selecting side west.

My conclusion, is that the entries for these icons is elsewhere, but i cant find threm

Any help would be greatly apprciated
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:replacing mp selection screen flag icons
« Reply #1 on: 21 Feb 2005, 00:28:54 »
I haven't looked yet Terox, but I suspect they might be set somewhere in the resource.bin.

EDIT:

I presume you are meaning the little soldier portraits with the country flag in the background......anyway.....
Had a quick look and I think the .paa files you are looking for are in the Misc.pbo.

civil.paa
resist.paa
russia.paa
usa.paa

And they are indeed set in the resource.bin



Planck
« Last Edit: 21 Feb 2005, 00:53:17 by Planck »
I know a little about a lot, and a lot about a little.

Offline Platoon Patton

  • Members
  • *
  • "Barbecue" CreateVehicle getpos LLama
Re:replacing mp selection screen flag icons
« Reply #2 on: 21 Feb 2005, 00:28:56 »
Yo Terox,

Depbo C:\Program Files\Codemasters\OperationFlashpoint\Dta\Misc folder.

I am pretty sure its in there,but I dont know the name..

Best thing u can do is open up Textviewer and drag them in till U find the right one.

There are some other funny textures in it wich U can use in dialogs for example,like

Smileys,stars,icons..etc

EXAMPLE



EDIT:Corrected
« Last Edit: 21 Feb 2005, 01:30:47 by Platoon Patton »
http://www.platoon-clan.com/ We always wellcome dedicated OFP players :)

http://www.european-combat-league.com/index.php To play with us in the best OFP league ;)

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:replacing mp selection screen flag icons
« Reply #3 on: 21 Feb 2005, 16:25:32 »
thx for the input guys.

the file reference i am looking for is

usflag_normal.paa
rusflag_normal.paa
fiaflag_normal.paa

they are, thx to patton, in the misc pbo of the dta folder

however i cant find any reference to them in either the resource bin or main config

its the little flag icon, that is displayed next to your name when you select a player slot, that i am wanting to manipulate

don't suppose you have an unbinarised version of the context.bin do ya, i can't get into it


reason for wanting manipulation.
& without giving too much info out

I have 2 basic classes of soldier types that all other units are defined from
(These are differing config values for various attributes)

lets say for instance (and this is only for example clarification) that we have

1) US Rifleman of type class A = Blind obese 1 legged and deaf
2) US rifleman of type class B = fit as a fiddle but a pyscopath

in their config entries i can use

vehicleClass="Cripples";
vehicleClass="Lunatics";


This will allow the mission designer to differentiate the two classes when creating the mission

displayName="US Rifleman cripple";
displayName="US Rifleman lunatic";

this attrbute is the info that is given when a unit passes on a contact report
and the name of the unit type in the mp player selection screen

My problem is, that i dont want the player, ingame to be able to differentiate between the US Rifleman Cripple and Lunatic without actually observing them for the finer differences in their uniforms and movements

but i do need to differentiate between the unit classes when players select their playing slot.

I figured out that a possible way to do this is.

Have 2 west flags, one which defines a class A unit and one which defines a class B unit

so basically

a player selects a us rifleman in the mp selection screen, and then a us flag appears next to his name, and this us flag has a little A or B letter within it, thus the player knows what class type that unit is

« Last Edit: 21 Feb 2005, 16:49:53 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:replacing mp selection screen flag icons
« Reply #4 on: 21 Feb 2005, 23:38:52 »
Sorry Terox, I've looked everywhere for a mention of these files:

civflag_normal.paa
fiaflag_normal.paa
rusflag_normal.paa
usflag_normal.paa

I also looked for these ones as well:

civflag_locked.paa
fiaflag_locked.paa
rusflag_locked.paa
usflag_locked.paa

I've run out of places to look.

There is a possibility that it is handled directly by the game engine and cannot be changed.

I also cannot decode the context.bin file, so I can't help you there either.


Planck
I know a little about a lot, and a lot about a little.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:replacing mp selection screen flag icons
« Reply #5 on: 22 Feb 2005, 16:43:37 »
well thanks for your efforts mate, its greatly appreciated
It, looks like what i want to achieve is a no goer.

shoulda realised this before, otherwise the frenchpoint, finmod guys etc would have their national flag displaying there inmstead of the default bis

once again, thanks :)
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:replacing mp selection screen flag icons
« Reply #6 on: 22 Feb 2005, 22:21:49 »
No problem, you're welcome Terox.   ;)


Planck
I know a little about a lot, and a lot about a little.