Battlezone Universe

Battlezone Universe => Battlezone 2: 1.3 Public Beta 5.1 => Topic started by: Nielk1 on September 06, 2009, 07:04:14 PM

Title: Improved Team Fslots
Post by: Nielk1 on September 06, 2009, 07:04:14 PM
This was never vetted for PB5.1 so it never made it in, but it is rather useful.

(http://www.bzcomplex.com/mirror/config/bzgame_team/bzgame_team.jpg)

Simply save one of these files into your Battlezone II\addon\ folder as "bzgame_team.cfg" .
Default (http://www.bzcomplex.com/mirror/config/bzgame_team/bzgame_team.cfg)
Optional alternate for 1024x768 (http://www.bzcomplex.com/mirror/config/bzgame_team/bzgame_team_1024x768.cfg)
Optional alternate for 1280x1024 (http://www.bzcomplex.com/mirror/config/bzgame_team/bzgame_team_1280x1024.cfg)

This adds the Ammo, Hull, and Name of the human player under their icon.

I hear some people have BZ2 automaticly load the alternate CFGs for larger screen sizes, my bz2 does not. In that case, be sure to pack up the stock extra size cfgs in addon/config/game since they will get duplicate assets if you add the alternate resolution ones.
Title: Re: Improved Team Fslots
Post by: Lordtac on September 12, 2009, 06:38:15 PM
good idea nielk
Title: Re: Improved Team Fslots
Post by: Nielk1 on September 12, 2009, 07:28:00 PM
In the end I think Commando, Greenheart, GeneralBlackDragon, TheJamsh, and I all did SOMETHING on it.
Title: Re: Improved Team Fslots
Post by: TheJamsh on September 13, 2009, 05:16:55 AM
You will need to download all three in case you change resolution. Someone keeps forgetting that there are bzgame_team.cfg's in addon with extra resolutions there, which is why i made the extra two in the first place.

BZ2 automatically chooses the resolution version for youre screen if it exists, so if you run in either of those extra resolutions or plan to, get them.
Title: Re: Improved Team Fslots
Post by: Nielk1 on September 13, 2009, 02:12:16 PM
Quote from: TheJamsh on September 13, 2009, 05:16:55 AM
You will need to download all three in case you change resolution. Someone keeps forgetting that there are bzgame_team.cfg's in addon with extra resolutions there, which is why i made the extra two in the first place.

BZ2 automatically chooses the resolution version for youre screen if it exists, so if you run in either of those extra resolutions or plan to, get them.

NO!
WRONG!
I TOLD YOU THIS!

I talked to GSH. Those are there for ppl to rename them without the extension if they want to use them!
Why else would they be in addon instead of patch13.pak?
Title: Re: Improved Team Fslots
Post by: ScarleTomato on September 13, 2009, 03:20:36 PM
still, for the people who don't know about those cfgs in addon/config/game

if you're going to use the higher resolution versions you have to get rid of those cfgs (rename to .bak for instance) or they will override the modified bzgame_team.cfg

QuoteThose are there for ppl to rename them without the extension if they want to use them!
Why else would they be in addon instead of patch13.pak?
dunno why they're in addon but bz DOES seem to use bzgame_team_1024x768.cfg unless i change it to .bak
Title: Re: Improved Team Fslots
Post by: Lordtac on September 13, 2009, 05:49:30 PM
will this cause asset error if other players don't have it or is it client sided

That's a no, it works fine if someone else doesn't have it in multi
Title: Re: Improved Team Fslots
Post by: General BlackDragon on September 13, 2009, 07:31:38 PM
they dont need to be renamed
Title: Re: Improved Team Fslots
Post by: Nielk1 on September 13, 2009, 10:05:36 PM
Quote from: ScarleTomato on September 13, 2009, 03:20:36 PM
still, for the people who don't know about those cfgs in addon/config/game

if you're going to use the higher resolution versions you have to get rid of those cfgs (rename to .bak for instance) or they will override the modified bzgame_team.cfg
dunno why they're in addon but bz DOES seem to use bzgame_team_1024x768.cfg unless i change it to .bak
Quote from: General BlackDragon on September 13, 2009, 07:31:38 PM
they dont need to be renamed

GSH told me that BZ2 does not read bzgame_team_####x###.cfg
Title: Re: Improved Team Fslots
Post by: ScarleTomato on September 13, 2009, 11:50:19 PM
dunno, maybe he was thinking of a different beta. I just tried it with a unique distinction (moved the TeamPanel down 45 pixels) in bzgame_team_1024x768.cfg and it did in fact use that file.
Title: Re: Improved Team Fslots
Post by: Nielk1 on September 14, 2009, 12:16:40 AM
Quote from: ScarleTomato on September 13, 2009, 11:50:19 PM
dunno, maybe he was thinking of a different beta. I just tried it with a unique distinction (moved the TeamPanel down 45 pixels) in bzgame_team_1024x768.cfg and it did in fact use that file.

OK, we will have to sort that out then. Both for these and Jamsh and I for the AP. I had to revert a bunch of his changes for various reasons and the screen resolutions bit got caught up in that (addon pack stuff).

EDIT:
WAIT A SEC!
I run 1024x768 and it uses bzgame_team.cfg
Title: Re: Improved Team Fslots
Post by: TheJamsh on September 14, 2009, 07:42:43 AM
Mine never did :lol: I run in 1024x768, and when i installed bzgame_team.cfg it didn't work for me, i just got the standard one, when i copied the 1024x768 ones in as well, it worked.

You can see the same thing happen with the new 'escape' screens that i added to PB5.1, you DONT need to rename anything, but all the buttons accross the top are now equally spaced out if you run in one of those resolutions, and i didnt change the original one.
Title: Re: Improved Team Fslots
Post by: TheJamsh on September 14, 2009, 01:11:25 PM

- Fixed (I think) the game resolution-dependent cfgs. Resolution is
read from current profile instead. [NM]

- Strat, MPI map INF updates, daywrecker model is 1.3 variant again,
from Commando. Reverted bzgame_stats.cfg as it doesn't work at the
default of 640x480 mode (I run windowed so that the debugger works
well). Resolution-specific variants of that cfg might be added, but
the default one needs to work at 640x480. [NM]

- Fix for mantis #573 - made sure all root .cfgs used by game are
check for resolution-modifying names. This includes a bunch of editor
cfgs. [NM]

- Updated bzgame_base.cfg, bzgame_command.cfg, and bzgame_group.cfg to
use ConfigureInterface() DefineControlType(), eliminating vast swaths
of replicated control configuration and drastically shrinking those
files and cleanly separating presentation from structure.  The perl
scripts that build them are no longer necessary, and creating versions
for different resolutions should be much easier.  [Ken]

- Made various cfg files more resolution-independent. Basically, for a
file like "bzshell.cfg", it'll look first for a file
"bzshell_640x480.cfg" first, and if that's present, use it. The 640,
480 are based on the current resolutions. As there's a lot of
resolutions, there'll be a lot of duplications. Sorry. The files
affected by this change are: "bzshell.cfg", "bzshell_editor.cfg",
"bzgame_base.cfg", "bzgame_command.cfg", "bzgame_factory.cfg",
"bzgame_group.cfg", "bzgame_moves.cfg", "bzgame_satellite.cfg",
"bzgame_scrap.cfg", "bzgame_weapon.cfg", "bzgame_team.cfg",
"bzgame_init.cfg", "bzgame_keys.cfg", "bzgame_stats.cfg" Mostly
untested, but should work. [NM]
Title: Re: Improved Team Fslots
Post by: TheJamsh on September 14, 2009, 01:12:43 PM
- When running in windowed mode, it'll use render.cfg's ShellWidth/
ShellHeight when looking for expanded game UI files, e.g.
bzgame_team_640x480.cfg vs bzgame_team_1920x1200.cfg (assuming that
your ingame profile was set to the latter). [NM]
Title: Re: Improved Team Fslots
Post by: Nielk1 on September 14, 2009, 06:15:00 PM
Thank you for posting that here. I wonder WTF is with my install...
Title: Re: Improved Team Fslots
Post by: TopGun on September 26, 2009, 10:30:18 AM
Does this work in Single Player? Or does it only work with real people on Multi? I tried the 1024x768 and when I tried an instant game it did not work. I put the .cfg file in just like it said on the first post. But when I use the default the game freezes before the game will run.

I am trying this out on my Bench Computer. I will go home tonight and try it on my home PC. But until then am I installing it right?


TopGun
Title: Re: Improved Team Fslots
Post by: ScarleTomato on September 26, 2009, 10:56:24 AM
?
the game already gives health bars for other AI units. This just adds the health bar to other players in the game


edit: saves confusion :P
Title: Re: Improved Team Fslots
Post by: TopGun on September 26, 2009, 12:08:23 PM
So when I am in a Multiplayer game it adds health and ammo bars only to the real players? If so then that is cool.


TopGun
Title: Re: Improved Team Fslots
Post by: ScarleTomato on September 26, 2009, 12:35:32 PM
exactly. check the first post, NK1 added a picture example
Title: Re: Improved Team Fslots
Post by: TopGun on September 26, 2009, 02:45:31 PM
I just tried getting the addon working on my home PC and it does not work. I made a new text file in the addon folder and then copy pasted the what it was suppose to be named. And then copy pasted the 1024x768 page into the .cfg and it does not work. If I am looking at it right my PC does not even see it as a .cfg file. It still shows at being some kind of note pad file. Can you guys tell me what is wrong?


TopGun
Title: Re: Improved Team Fslots
Post by: TheJamsh on September 26, 2009, 04:21:29 PM
yeh you saved it as a .txt file. NEVER use save as, ALWAYS use save.
Title: Re: Improved Team Fslots
Post by: VSMIT on September 26, 2009, 04:31:52 PM
Quote from: TheJamsh on September 26, 2009, 04:21:29 PM
yeh you saved it as a .txt file. NEVER use save as, ALWAYS use save.
You can use "Save As," but you should use the "Save As Type" dropdown to select "All Files" instead of "Text document."
Title: Re: Improved Team Fslots
Post by: TheJamsh on September 27, 2009, 02:29:42 AM
I always copy the file and make changes, then just quit and save. Everyone has there ways though...
Title: Re: Improved Team Fslots
Post by: TopGun on September 27, 2009, 12:03:55 PM
I have read this hole topic and there are so many other ways that other people say worked. Can you guys plz tell me how to get this thing working. I have been trying for the past day to get this thing working.

Can you guys plz help me?


TopGun
Title: Re: Improved Team Fslots
Post by: ScarleTomato on September 27, 2009, 12:20:59 PM
what resolution do you have BZ set to?
Title: Re: Improved Team Fslots
Post by: TopGun on September 27, 2009, 04:29:00 PM
Video Mode is set to 640*480.


TopGun
Title: Re: Improved Team Fslots
Post by: ScarleTomato on September 27, 2009, 05:55:55 PM
right click on the link called "Default" in Nielk1's post and click "Save target as..." and save it in your "/Battlezone II/addon/" folder. Make sure it saves as "bzgame_team.cfg"

you will need to join a game with wingmen on your team to notice any changes
Title: Re: Improved Team Fslots
Post by: General BlackDragon on September 27, 2009, 07:16:05 PM
N1 should zip them up as they should all 3 be in addon folder.
Title: Re: Improved Team Fslots
Post by: Nielk1 on September 27, 2009, 08:24:48 PM
They then conflict with files already in addon.

And I never had it use the alternate resolution one automatically. You all are weird.
Title: Re: Improved Team Fslots
Post by: TopGun on September 28, 2009, 04:33:42 PM
Squirrel helped my last night to get it working. I had to but it in     D:\games\Battlezone II folder\Battlezone II-1.3PB5\addon\config\game   And used the 1024*768 to get it working. It would not work in just the addon folder.

Hope this helps.


TopGun