• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

modifying the in-game interface

Started by TheJamsh, October 26, 2008, 12:12:29 PM

Previous topic - Next topic

TheJamsh

i want to make a few changes to the interface for serenesis, so ill start with the targetting arrows and other things like that, trouble is i looked through colorize.tga and target.tga but its in neither... i think its in object.tga

i also want to know what the:

cmnd_########.tga files are used for as i havent seen them in game. there seems to be one for each command type, could i get these to work with pb4a?

what select.tga is used for, target.tga, what parts of colorize.tga change what etc.

ill also be moving the radar/targetting etc around a little, all thats done in the HUD .cfg right? is it bzgame_interface.cfg??

oh and all those .tga files i just listed, they dont have to have everything either white or transparent do they? i wouldnt know how to do it...


BZII Expansion Pack Development Leader. Coming Soon.

Warfreak

"looks at colorize.tga"

From the looks of it, it controls F#, Base icon #, Timer #s, Radar icons, and the shape of a selected unit's command menu.

They MUST be transparent where transparency is present (helps the engine out so you can just point put a 4 point location of the texture for it to reference)

They MUST be white or else the engine blends the color they are supposed to be with the color you made them, white is easier to work with.

other than that, knock yourself out with whatever modding you do to them.

TheJamsh

now i look at it i think youre right...

btw, have you got any models done yet lol?


BZII Expansion Pack Development Leader. Coming Soon.

Tempest Storm

I would check the sprite table for stuff like the targeting arrows and such. (Check sprite.txt in the data.pak and if you find what you are looking for compile the changes to a new sprite.stb file in the mod's addon)

General BlackDragon

#4
Quote from: Warfreak on October 26, 2008, 05:00:45 PM
They MUST be transparent where transparency is present (helps the engine out so you can just point put a 4 point location of the texture for it to reference)

They MUST be white or else the engine blends the color they are supposed to be with the color you made them, white is easier to work with.

Wrong. They "MUST" be nothing :)

You just have to know what you're doing :). Conventionally there are two ways to control the color of something. Either make the image grayscale and put the color in the odf/cfg code (like everything BZ2 does) or, make the image colored, and make the odf/cfg code white. (Like most BZC things do)

also, cmnd_########.tga ?

What? :P GSH can probably explain those better, but from the looks of it, they were intended for sattelite view but never used? They remind me of more old school RTS game symbols.



*****General BlackDragon*****

TheJamsh

id liek to use them somewhere, just wondering if i can incorporate them... maybe when i point at a unit i can see what ive ordered it to do with the icon next to the health/ammo bar


BZII Expansion Pack Development Leader. Coming Soon.

General BlackDragon




*****General BlackDragon*****

TheJamsh



BZII Expansion Pack Development Leader. Coming Soon.

Tempest Storm

Me and BZZERKER had tried to get those to work as command buttons at one point for BZ2RTS, although we really found nothing at all as to how to get them to work. I'd say its safe to assume that it probably can't be done without a feature request... :/

bigbadbogie

With dll it might be possible. It would require a lot of cfg work and every single unit in the game to be watched by the dll.
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com

Nielk1

Yes, since the DLL would be toggling the viability of extraneous CFG elements.

Click on the image...

TheJamsh

shame. they would have looked good i think...

feature request it is then i guess =]. but ill save it for later to avoid getting GSH annoyed


BZII Expansion Pack Development Leader. Coming Soon.

OvermindDL1

Yea, would have been easy by DLL, for the Host, to add client support would make it more... difficult, as you would need to setup another communication pipe...

Generated by OvermindDL1's Signature Auto-Add Script via GreaseMonkey


Nielk1

From what I can tell custom CFGs by DLL don't have an issue if they are read-only. I have to research this though.

Click on the image...

OvermindDL1

You can display different IFace's to different people with no state issues to worry about, even have them interact with them, it just depends on how the DLL interacts with what the person does, hence you need a bidirectional communication pipe between the server and all the clients.

Generated by OvermindDL1's Signature Auto-Add Script via GreaseMonkey