Question about avatars...
I want my 15 rapid-fire quantum torpedo launchers Uber-Defiant now! - Get help from modders. Share your work. Discuss modifications.
1, 2
posted on December 2nd, 2010, 2:45 pm
Firstly, I'll just say a quick hello - think I've only posted once before now on here
. So...hello
.
Anyways - to the point. I've been tinkering with Fleet Ops lately (needed me some Trek modding) and encountered a, well, annoyance with the avatar buttons. Two works fine (like stock FLOPS), three centres them nicely - but adding a forth sends them off of the right side of the screen at a horridly assymetrical angle.
So my question is - can this be fixed?
Now, coding and whatnot was never my specialty - so there's every chance I've put in a wrong number or something somewhere. I also tried shrinking the avatar buttons to 128x128 only to discover that they simpyl stretched into the original slot. This makes me think there is some form of evil overlord file that says where they['ve got to go, but I've no idea where to look for such a thing.
Thanks!


Anyways - to the point. I've been tinkering with Fleet Ops lately (needed me some Trek modding) and encountered a, well, annoyance with the avatar buttons. Two works fine (like stock FLOPS), three centres them nicely - but adding a forth sends them off of the right side of the screen at a horridly assymetrical angle.
So my question is - can this be fixed?
Now, coding and whatnot was never my specialty - so there's every chance I've put in a wrong number or something somewhere. I also tried shrinking the avatar buttons to 128x128 only to discover that they simpyl stretched into the original slot. This makes me think there is some form of evil overlord file that says where they['ve got to go, but I've no idea where to look for such a thing.
Thanks!

posted on December 2nd, 2010, 2:50 pm
more than likely its coded into the flops loader. Seeing as how right now the game was only created for 2 (at least for now) it prolly hasnt been specified where the 4th one goes.
posted on December 2nd, 2010, 3:00 pm
the avatar display panel can be configured with the generic interface files in the misc folder
posted on December 2nd, 2010, 3:10 pm
Yeah, I presume that you can change the location with the first two numbers 

b_S 0 0 64 64
posted on December 2nd, 2010, 3:27 pm
sorry was wrong 

posted on December 2nd, 2010, 4:30 pm
nope, Dominus' example is the definition of the texture to use. But it is scaled onto an actual button rectangle, which (size and position) is defined in the misc files. The default button layout is - at the moment - designed for 2 avatars
posted on December 2nd, 2010, 5:06 pm
Last edited by Amateur on December 2nd, 2010, 5:12 pm, edited 1 time in total.
Optec wrote:the avatar display panel can be configured with the generic interface files in the misc folder
Aha! The search narrows!
Sorry to push, but do you have any clue as to what the actual command is? Nothing really jumps out at me

Dircome wrote:sorry was wrong
No problem, we've all been there

Edit: tell a lie, I did find somethign. THere's a section called'avatarBox' in the file, but the reference seems to be 64x64 so I'm a little unsure whether that is it or not...
posted on December 2nd, 2010, 5:22 pm
Ahh! Oops
Yeah, I think the avatarBox reference is correct 
I haven't yet investigated which of these do what, so if you do experiment, would you mind posting it here so I can put it up on the guide? If not, I'll try and explore during this weekend
I assume that the first two numbers of avatarBoxBackgroundPanelArea and IconArea determine offset...


// avatarBox
avatarBoxDefaultCursor = "standard_cursor"
avatarBoxPanelArea = 8 75 64 64
avatarBoxBackgroundPanel = "avatarbox"
avatarBoxBackgroundPanelArea = 0 0 64 64
avatarBoxIconArea = 0 0 64 64
avatarBoxBackgroundPanelSize = 0
I haven't yet investigated which of these do what, so if you do experiment, would you mind posting it here so I can put it up on the guide? If not, I'll try and explore during this weekend

I assume that the first two numbers of avatarBoxBackgroundPanelArea and IconArea determine offset...
posted on December 2nd, 2010, 5:53 pm
nope. that's the avatar icon in the upper left corner. You are looking for the CommandInfoBar
posted on December 2nd, 2010, 6:41 pm
Optec wrote:nope. that's the avatar icon in the upper left corner. You are looking for the CommandInfoBar
Brilliant! Thanks muchly, I shall have a play with it now

posted on December 3rd, 2010, 12:54 am
Hey Amateur, great to see you here. I too am starting to mod FleetOps, however only plan on three avatars. I will be curious to see what you discover. 

posted on December 8th, 2010, 6:49 am
Following up on what Amateur has started, does any of the following settings have to do with the the arrangement/alighment of the avatars:
I too am looking for using 3 avatars.
- Code: Select all
avatarBoxPanelArea = 8 75 64 64
avatarBoxBackgroundPanelArea = 0 0 64 64
avatarBoxIconArea = 0 0 64 64
avatarBoxBackgroundPanelSize = 0
I too am looking for using 3 avatars.
posted on December 8th, 2010, 8:55 am
as i just said, the avatarBox is the avatar icon in the upper left icon, you are looking for the CommandInfoBar
posted on December 8th, 2010, 9:19 am
Ah okay, do you know which part I need to edit?
- Code: Select all
CommandInfoBarDefaultCursor = "standard_cursor"
CommandInfoBarPanelArea = 524 400 522 256
CommandInfoBarBackgroundPanel = "CommandInfoBar"
CommandInfoBarBackgroundPanelArea = 0 0 522 256
CommandInfoBarButtonRect = 0 0 256 256
CommandInfoBarButtonDistance = 296
CommandInfoBarBackgroundPanelSize = 0
posted on December 8th, 2010, 1:21 pm
Yep that's the correct one.
The PanelArea defines the actual avatar selection bar space.
The BackgroundPanelArea should have the same dimensions as the PanelArea.
The ButtonRect defines the size of an actual avatar button.
The ButtonDistance is the distance between the upper left corners of the buttons.
They are always aligned horizontally
The PanelArea defines the actual avatar selection bar space.
The BackgroundPanelArea should have the same dimensions as the PanelArea.
The ButtonRect defines the size of an actual avatar button.
The ButtonDistance is the distance between the upper left corners of the buttons.
They are always aligned horizontally
1, 2
Reply
Who is online
Users browsing this forum: No registered users and 5 guests