Battlezone Universe

Battlezone Universe => Archive Vault => 1.3 Public Beta 5: Tech Alpha 5 => Topic started by: OvermindDL1 on May 22, 2009, 03:08:25 AM

Title: BZ2 1.3+ Teamcolor editor
Post by: OvermindDL1 on May 22, 2009, 03:08:25 AM
I whipped up a team color editor for BZ2 1.3, click this link to read the basic details and for the download (http://www.overminddl1.com/forum/index.php/topic,875.msg5507.html#msg5507).

(http://www.overminddl1.com/image_scripts/image_sig.php?type=ODL1signitures&image/sig.gif)
Generated by OvermindDL1's Signature Auto-Add Script (http://overminddl1.com) via GreaseMonkey (http://greasemonkey.mozdev.org/)

Title: Re: BZ2 1.3+ Teamcolor editor
Post by: AHadley on May 22, 2009, 02:27:35 PM
I like it!
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: Steeveeo on May 22, 2009, 02:45:22 PM
Might I suggest having an image of a sabre and warrior together showing the teamcolors of the last edited line, or at least some kind of unit preview?

Might come in handy to see exactly how it would show up in game, similar to ODLWinter, but it doesn't have to be 3D (extra credit if it is! :P)
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: CivBase on May 22, 2009, 03:52:05 PM
Team 0 is really Team 1... right?

And do I just save this to the root folder?
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: Steeveeo on May 22, 2009, 04:00:58 PM
No, Team 0 is Team 0, i.e. "No team" (grey on radar)
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: OvermindDL1 on May 22, 2009, 06:23:34 PM
So no bugs found?

This is a first version thing so I expect some sort of bugs, especially with how complicated the code is in some areas relating to file loading/saving. :P

And I could show a preview, but unless I know the exact way BZ2 draws colors, it will be off, as well as the fact that the preview window surrounded by your desktop will give another 'feel' to the colors that would be unlike the game.  Best to check inside the game itself, but I could add a preview if really wanted.

And yes, Team 0 is the neutral team, as Steeveeo said, the ones that are gray on the radar.

And save this anywhere, nothing special about it.  It does require the VS2k5SP1 runtimes, but since BZ21.3 installs those for you, you have everything you need, just run this from anywhere.
(http://www.overminddl1.com/image_scripts/image_sig.php?type=ODL1signitures&image/sig.gif)
Generated by OvermindDL1's Signature Auto-Add Script (http://overminddl1.com) via GreaseMonkey (http://greasemonkey.mozdev.org/)

Title: Re: BZ2 1.3+ Teamcolor editor
Post by: CivBase on May 23, 2009, 09:54:41 AM
Wait... so I save it... and then I just run it and it opens the game for me?  I'm confused...
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: Warfreak on May 23, 2009, 01:11:21 PM
This program makes putting the RGB(A) values for Teamcolor much simpler. Open your localprefs.ini, make your color changes, save, run BZ2.
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: CivBase on May 23, 2009, 04:44:38 PM
Oooooooooooh..... I get it now.

Sorry, I'm helpless without someone holding my hand the whole way through.
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: OvermindDL1 on May 23, 2009, 07:44:56 PM
Heh, you have plenty of help here as always.  :)

So no bugs?  No random deletion of large chunks or even single characters of a file or anything?  Is it good?
(http://www.overminddl1.com/image_scripts/image_sig.php?type=ODL1signitures&image/sig.gif)
Generated by OvermindDL1's Signature Auto-Add Script (http://overminddl1.com) via GreaseMonkey (http://greasemonkey.mozdev.org/)

Title: Re: BZ2 1.3+ Teamcolor editor
Post by: AHadley on May 24, 2009, 01:58:48 AM
A bug with the download, it hangs on 'starting'... Any chance somebody could send me this some other way? :(
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: OvermindDL1 on May 24, 2009, 03:53:19 AM
I see no issue with the download, and it has been downloaded by 37 others.  What browser are you using?
(http://www.overminddl1.com/image_scripts/image_sig.php?type=ODL1signitures&image/sig.gif)
Generated by OvermindDL1's Signature Auto-Add Script (http://overminddl1.com) via GreaseMonkey (http://greasemonkey.mozdev.org/)

Title: Re: BZ2 1.3+ Teamcolor editor
Post by: AHadley on May 24, 2009, 03:58:20 AM
Firefox, most likely same as most other downloaders.
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: OvermindDL1 on May 24, 2009, 06:00:22 AM
Works fine here, and I know most others that downloaded it are using that as well.  Try again?
(http://www.overminddl1.com/image_scripts/image_sig.php?type=ODL1signitures&image/sig.gif)
Generated by OvermindDL1's Signature Auto-Add Script (http://overminddl1.com) via GreaseMonkey (http://greasemonkey.mozdev.org/)

Title: Re: BZ2 1.3+ Teamcolor editor
Post by: AHadley on May 24, 2009, 06:51:56 AM
Got an idea, I'll try it on my laptop :)
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: Purplehaze on May 24, 2009, 12:11:08 PM
That's awesome, Thanks man!
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: OvermindDL1 on May 26, 2009, 06:56:29 PM
I posted a bugfix version (yes, the first one had a bug that no one else caught, but I found by perusing the code),1.0.1.
Then I just posted a new feature version, adds presets, read the about box for details, 1.1.
Check the post on my site (http://www.overminddl1.com/forum/index.php/topic,875.msg5507.html#msg5507) for download and details.
(http://www.overminddl1.com/image_scripts/image_sig.php?type=ODL1signitures&image/sig.gif)
Generated by OvermindDL1's Signature Auto-Add Script (http://overminddl1.com) via GreaseMonkey (http://greasemonkey.mozdev.org/)

Title: Re: BZ2 1.3+ Teamcolor editor
Post by: Dark Scion Soldier on May 26, 2009, 07:16:28 PM
Have any users with IE downloaded this? I've been trying figure why it crashs on me instantly... :|
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: Purplehaze on May 26, 2009, 07:47:56 PM
Prehaps you should just use firefox :)

Im only joking, try using a download manager, and saving it on your computer, not just running it, Or viceversa
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: Dark Scion Soldier on May 26, 2009, 09:42:58 PM
Heh I wish but one of my parents can't even figure out what a url is. And other doesn't want to do anything without my bro's (the techie) recommendation.. but I try the download manager. Thanks. :-)
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: Commando on May 29, 2009, 10:19:09 AM
Having the image of a sabre would be pointless.  The ingame skin color will always be darker than the RGB value you specify in the gameprefs file or in OM's program.  If you specify a very light blue, for example teal, ingame you will end up with a much darker blue.
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: Nielk1 on May 29, 2009, 12:11:40 PM
I've had it be much brighter to. In reality it is a factor of the planet's light, as it should be.
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: Commando on May 29, 2009, 02:51:48 PM
I got it to edit team 1's color but every time I edit team 2's color then save, the change is ignored.  I then close the application and reopen it, and the team 2 color is still unspecified.  I have no idea what is going on with team 2's color.
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: OvermindDL1 on May 29, 2009, 08:41:09 PM
Teams 0 through 15 and teamgroup A and B all use the same code (just different indices), if you can give me an ini file that demonstrates the issue I would be much appreciative.
(http://www.overminddl1.com/image_scripts/image_sig.php?type=ODL1signitures&image/sig.gif)
Generated by OvermindDL1's Signature Auto-Add Script (http://overminddl1.com) via GreaseMonkey (http://greasemonkey.mozdev.org/)

Title: Re: BZ2 1.3+ Teamcolor editor
Post by: GSH on May 30, 2009, 12:34:59 AM
Quote
Teams 0 through 15 and teamgroup A and B all use the same code (just different indices), if you can give me an ini file that demonstrates the issue I would be much appreciative.

Not quite. If the DLL says "turn on FFA colors" ( DefaultTeamColors() ), then it uses the team 0..15 settings. If the DLL says "turn on team strat/mpi colors" ( TeamplayTeamColors() ), then it uses the A/B set. Changing the FFA colors doesn't mean a thing if you run MPI, because the exe does what the DLL says.

-- GSH
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: OvermindDL1 on May 30, 2009, 05:22:44 AM
I know that.  :P

I meant inside *my* program.  :)
All of those things use identical code, so I could not understand why, for example, team1 would work but team2 would not.

So yea, Commando, if you can give me a reproducible case, that would be awesome, because I cannot replicate that bug here...
(http://www.overminddl1.com/image_scripts/image_sig.php?type=ODL1signitures&image/sig.gif)
Generated by OvermindDL1's Signature Auto-Add Script (http://overminddl1.com) via GreaseMonkey (http://greasemonkey.mozdev.org/)

Title: Re: BZ2 1.3+ Teamcolor editor
Post by: Eaglebird on September 25, 2009, 09:17:43 PM
Open the ini file, set some colors and set colors for Teamgroup A and teamgroup B. Save, and exit. Reload the same ini file in the program. Teamgroup A's color is set, while Teamgroup B's is not. Adding 'TeamColorTeamB = "50 50 255 255"' to the ini makes it show up in the color editor.

I was curious what exactly this affected. I want to be 'blue', but if it's a random pick of 16 colors (or the two colors for teams) then I guess you can't choose your own color?
Title: Re: BZ2 1.3+ Teamcolor editor
Post by: TheJamsh on September 26, 2009, 03:54:07 AM
You can you just need to make sure colors are NOT set to 'FFA'. Use either 'teamplay' or 'default'