Crediting points for Shanes Bomb
- Roi Danton
- Offline
- Regular
Good idea, this supports the team like: Look, we have the best CUV and Bomber pilot.Originally posted by MajorTom
What about this? We could put 3 new splitters in a separate block next to the "team - results" block.
They would be "Functional Stats" "Repairs" and "Bomb Hits".
That would be nice.(I'll do a quick pog example for making the dummyscore stats a bit later)
Ever thought on Scrollbar Windows?If we have a game with 12 players (6 on each team) there wouldn't be enough room to put a second row of splitters (with the functional stats) below the first row of splitters.
If not, have a look at that Buda5GUI function (explanations can be found in the Readme) or I'll update the GUI code in the next beta version:
~Buda5 Designer & Scripter
buda5.firstones.com
~Buda5 Designer & Scripter
buda5.firstones.com
Please Log in or Create an account to join the conversation.
That is a good idea, but:Originally posted by Roi Danton
Ever thought on Scrollbar Windows?
The player normally won't have time to scroll through when the game cycles, and
he should be able to make a screen shot of the whole GUI at once for his "Trophy" collection
Here is the code examples
(code is no problem for me but creating and formating splitters is the absolute Horror for me)
Iwar2 Multiplayer Fan Site
Please Log in or Create an account to join the conversation.
iMultiplay.IsGameEnded() is only returned to a client so I edited out the query in the pog example above, since that function is done on the server.
For now, we'll just have to live with the short delay caused by looking for the cuv and bomber ships whenever the player uses the ingame score screen.
Meanwhile, I'll see if I can find an appropriate query to see if/when a game is over on the server.
Iwar2 Multiplayer Fan Site
Please Log in or Create an account to join the conversation.
- Roi Danton
- Offline
- Regular
So I used your suggestion.
Problem:
With the current style the problem is that there is a limitation due to the limited screen space. Here max 5 players at all can use bombers and/or cuvs.
Solutions:
1) Scrollbars ... if you agree here I'll update this with the help of the Buda5GUI package
2) Decreasing the name_width, frags_width, ... so maybe we get two more Splitters on the right side of the normal player list.
Btw, rebel players will be listed first.
Btw, nice new function:
MajorTom
This would be read in the function roMPutils.ScoreScreamTeam()
~Buda5 Designer & Scripter
buda5.firstones.com
~Buda5 Designer & Scripter
buda5.firstones.com
Please Log in or Create an account to join the conversation.
If you don't mind the work, you can definatly put in a scroll function in case there are more than 5 special units. The player probably won't have time to scroll anyhow before the game cycles, but at least if there are more than 5 it won't spill over into the splitters below.
If it is too much work, 5 slots for special units should be enough (with an average of 6 players per team, there probably won't be more than 2 special unit ships per team).
On the readout, part you'll have to change the query, where you have:
if (String.Left (name, <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="" title="Cool" /><!-- s8) -->== "cuvstats")
{
name = String.TrimLeft( name, <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="" title="Cool" /><!-- s8) -->;
While testing I discovered that the name recieved by the client is:
"*cuvstatsMP_NAME_<Players name>"
So, you need to trim the String by 17 charachters to get the players actual name.
for example
if (String.Left (name, 4)== "*cuvs")
{
name = String.TrimLeft( name, 17);
btw, I think it would look better if we trim all the players names on the right by 5 charachters to get rid of the "__Alpha" or "__Beta"
(trim by 5, because I plan to change the name suffix to "_Rebs" and "_Imps" anyhow.) Ok?
The name suffixes are important to insure the faction allocation works correctly on the server. (but it doesn't matter if the string is "Alpha" or "Rebs" )
A secondary advantage: The name with suffix is shown in gamespy, so you can see who is playing on which team.
ROFLBtw, nice new function:
Iwar2 Multiplayer Fan Site
Please Log in or Create an account to join the conversation.
- Roi Danton
- Offline
- Regular
Unfortunately due to the different splitters it isn't possible to make a unique scrollbar for the list. So I just put a scrollbar "around" the splitters.
I haven't compiled and tested it, so it could look horrible (b/c the position and size settings could be a little bit wrong), but I think now you get what is possible.
Before testing and compiling you must have downloaded the Buda5GUI package and put the header and package files in the appropriate folders and so on ... well, you know this for yourself.
~Buda5 Designer & Scripter
buda5.firstones.com
~Buda5 Designer & Scripter
buda5.firstones.com
Please Log in or Create an account to join the conversation.