View Full Version : Changing color scheme in single player
Tekn0megA
23rd Sep 03, 9:29 AM
It seems like a simple mod...
So? anyone know a way? I have been editing the PLAYERCFG.LUA and managed to find a way to edit other entities that show up in game, even replacing their badges with those I have downloaded.
The only sollution I can forsee would be to add another line to the code that is checked but not listed, a default color scheme and badge for default settings.
Any one else give this a shot and perhaps nailed it?
Dont want to keep at it if some one else already knows the answer. :rage:
Spooky
23rd Sep 03, 10:45 AM
That is very easy to do. YOu need to edit the TeamColours lines in the persistX.lua file:
TeamColours = {
{
trailColour = {
0.36500,
0.55300,
0.66700,
},
badgeTexName = "DATA:Badges/Hiigaran.tga",
baseColour = {
0.75500,
0.25300,
0.46700,
},
stripeColour = {
0.12000,
0.23000,
0.34000,
},
},
{
trailColour = {
0.36500,
0.55300,
0.66700,
},
badgeTexName = "DATA:Badges/Hiigaran.tga",
baseColour = {
1,
0.49400,
0,
},
stripeColour = {
1,
0.49400,
0,
},
},
{
trailColour = {
0.36500,
0.55300,
0.66700,
},
badgeTexName = "DATA:Badges/Hiigaran.tga",
baseColour = {
0.75200,
0.69400,
0.55600,
},
stripeColour = {
1,
1,
1,
},
},
{
trailColour = {
0.92100,
0.75000,
0.41900,
},
badgeTexName = "DATA:Badges/Vaygr.tga",
baseColour = {
0.90000,
0.90000,
0.90000,
},
stripeColour = {
0.10000,
0.10000,
0.10000,
},
},
{
trailColour = {
0.50000,
0.50000,
0.50000,
},
badgeTexName = "DATA:Badges/Relic.tga",
baseColour = {
0.50000,
0.50000,
0.50000,
},
stripeColour = {
0.70000,
0.70000,
0.60000,
},
},
},
The numbers you edit are the decimals which are representations of the RGB value where 0 = 0 and 1 = 255... :)
If i remember correctly the above should give you a bright pink fleet. :D
Tagar
23rd Sep 03, 12:32 PM
hmm from that i think you should be able to get a pure black ship with Yellow Engine Trails.. is that so? :D
Tekn0megA
23rd Sep 03, 1:41 PM
Well I was unable to find a persistX file, but I did find persist2,3, and 4. I copied new badge name and color scheme from my multiplayer custom settings found at the bottom of PLYERCNFG.LUA, and paste it over every existing entry of ...
badgeTexName = "DATA:Badges/Hiigaran.tga",
baseColour = {
0.75500,
0.25300,
0.46700,
},
stripeColour = {
0.12000,
0.23000,
0.34000,
... started up single player, but didnt work.
Do I need to extract persistX? Or am I doing something else wrong?
Tekn0megA
23rd Sep 03, 2:13 PM
I spoke too soon...
I had made the mistake of not using the decimal system for the color settings, but I corrected that on a global scale by making every thing 0 on 0 (black on black) which was a success! unfortunatly I could not get it to refrence my custom logo (it defaults to the relic badge), and furthermore, each persist(#).LUA appears to be Missions specific. So that I can make my team color one thing on Mission 3 and something completly different on mission 4, which I am currently stuck on lol.
Another strange note, is that I no longer even have a fleet on mission 2, I must have gone and screwed something up in that persist2.LUA. :wtf:
Why oh why didnt we get a single player custome color and badge option??
Miguel
23rd Sep 03, 4:51 PM
The reason you can't can't change color schemes is that the story is about the Higaraans, not the Custom Colour and Badge Fleet.
Tekn0megA
23rd Sep 03, 5:46 PM
The reason you can't can't change color schemes is that the story is about the Higaraans, not the Custom Colour and Badge Fleet.
Well, I guess by your philosophy there shouldnt be any mods section on the forums either? I mean it's not the story of babylon 5 for Christ sake! Pfft, thanks for the productive and helpful input. :madashel:
OminousSilence
23rd Sep 03, 8:02 PM
Lol, chill out man. He's only saying that you should perhaps develop a little identity with the Higarans when playing the campaign. There's nothing wrong with that, and I happen to agree with him.
Tekn0megA
23rd Sep 03, 10:05 PM
NONSENCE ! who is over reacting? ! WHOOO I ASK?!!? (waves his gun around)
:rant:
umm, yea I know, I'm just jaded... from a time you young bucks might not remember, called Home world. Yep, back when you could choose from 2 races, and have all the color options your little heart could desire. Yes, back when Black and dark Blue were options, not Baby ass soft blue and godly virgin white! BAH!
Well for anyone else who cared, this meathod is FUBAR, because every single unit created post editing of LUA defaults everything back, which looks pretty wierd. The only way I can see it working perminantly is if a hard coded mod were added into the game its self... So ends my dreams of a wicked cool Hiig fleet with blood Red on Gun metal Gray.
bobthedog
24th Sep 03, 7:30 AM
mmm... well actually in Homeworld wasn't one of the colors (base/stripe) only able to go down to half of the darkness slider? or is it still that way now...
BTW I hate all the proprietary colors on some ships... like the yellow on the resourcers and that brown stuff on the MotherShip... I tried a black base for the ships in MP and the fighters look fine but the MotherShip looks like it's sick.... :wtf:
Atreides
24th Sep 03, 6:57 PM
In Cata the base colour slider would only go down half way...
But you could open the Cata.cfg file and change it that way.
Funny thing was if you went totally black your name is lobby was black hole dark but ingame your ships were completely pink :rofl:
Ghent
25th Sep 03, 1:52 PM
you can change the badges quite easily...
just do something like this instead ............ :P
PROFILES:badges/custombadgename.tga
DarkReaper
25th Sep 03, 1:56 PM
Uhm I say one word to tell you how to change your sp colors. In main Menu -> profiles
Overload
25th Sep 03, 2:23 PM
Yeah except that I did that when I first started the game. Before I did anything else I created a profile with the colors I wanted. but nope. It still defaults to the regular colors.
Bump.
I'm wondering if anyone's worked out how to do this easily?
Erai_Hiryuu
6th Feb 04, 10:18 PM
Doubt it, hope someone will soon though.
ZuiljiN
6th Feb 04, 10:29 PM
its really simple...
each mission folder got a teamcolor.lua just edit it and you can choose your colors and badge and those for cpu too...Player is id 0
i tested it and its work
Erai_Hiryuu
7th Feb 04, 11:26 AM
Yes, but its not easy getting the colors right, or it isn't with me atleast.
ZuiljiN
7th Feb 04, 11:53 AM
its based on rgb 0,0,0 = black 1,0,0=red 1,1,0=yellow...etc
Erai_Hiryuu
7th Feb 04, 12:13 PM
Yes but I seem to have trouble getting the shades of color I want, looks...off...alot of the time, not sure if its me, the game or something else, the profile color picker works right in multiplier though so I'm a bit confused why I can't get the colors right also...bleh.
Here's what I worked out.
browse and pick colors for your multiplayer profile, and steal the numbers for that profile from the playercfg.lua.
for each color, divide the number by 255 to get a number between 0 and 1. These go into the persist.lua..
Now, I'm still working out which entries mean what. if you just use the first Teamcolor entry, your ships will be the right color, but carriers, desties, BCs and your mothership won't.
Erai_Hiryuu
7th Feb 04, 6:55 PM
hmmm I'll have to try that, thanks :)
ZuiljiN
7th Feb 04, 8:49 PM
Sian use the teamcolor.lua.....
any other files will not work at 100% in sp..
And I must have missed something, because new ships I build are in the default color.. =P
there isn't a teamcolor.lua file anywhere on my system. :(
ZuiljiN
7th Feb 04, 9:11 PM
hehehe
they are in the homeworld2.big...forgot to say that since i always have these files extracted :)
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.