PDA

View Full Version : [HOW-TO] Getting colour schemes in campaign.



{Exo}{Elite}
25th Feb 09, 12:47 PM
Well I decided to make a mini tut' about this, incase nobody knew how to pull this off.

Part1
Using Corsix's sga reader, extract "tuning.lua" from Gamedefault (lies in campaign folder) sga open this file out in wordpad, or notepad++
search for this:

-- this references Config/defaultChapterColours.lua
player_chapter_names =
{
"SM_Bloodravens", -- player 1
"SM_Bloodravens_COOP", -- player 2 (co-op)
},

Part2
Once you have gotten the file extracted, you could edit the SM_Bloodravens part of the file with your own like for example:
SM_Darkangels
SM_Whitescars
And so on, also you could edit the coop file too, so whoever your playing with would show up with that designated colourscheme (only playable online with somebody who has the mod I would assume.)
And you can also put in you custom schemes, just type
"colourschemenamehere" and it should work (Haven't exactly tested that yet, but will do.)
And refer to Copernicus's Sga packing tutorial here http://forums.relicnews.com/showthread.php?t=215592 if you need help with sga packing or use the -dev parameter.
there you have it, hopefully this tutorial helped you =D.
And as you can see I have sucsessfully changed Blood Ravens to Novamarines:
http://img8.imageshack.us/img8/2126/relic00024.th.jpg (http://img8.imageshack.us/my.php?image=relic00024.jpg)
Oh and if you want the colour schemes to appear every where, edit the defualt chapter colours lua.

Getting your colours into the Blood Ravens colourscheme.
Ok, first things first, open up gamedefault.sga with Corsix's sga reader, and go to config, look at the right hand side there should be alot of .lua's extract "defualtchaptercolours.lua" open it up once you have extracted it, at first you should see this:

{
{
chapterKeyName = "SM_Bloodravens",

chapterNameID = 9109487, -- LOCDB [9109487] 'Blood Ravens'
--~ chapterNameID = 9109488, -- LOCDB [9109488] 'Blood Ravens Chapter'

primaryColourName = "Blood Raven Red",
secondaryColourName = "Bone",
tintColourName = "Chaos Black",
extraColourName = "Metallic Gold",

teamTex = "1",
badge1Tex = "sm_Bloodravens",

usableRaces = { "race_marine" },
armyPainterVisibility = true,
},
This is the file you want editing, if you want info on the colours extract armypaintercolours.lua in config also.
And there you have it, you very own custom made campaign colour scheme!
Use wordpad not notepad when editing the luas.

Copernicus
25th Feb 09, 1:00 PM
Great, I was just about to write this How-To aswell :D

{Exo}{Elite}
25th Feb 09, 1:02 PM
Lol, yeah I realised some people where having problems with it so I decided to make it :D

darkheron
25th Feb 09, 1:16 PM
This changes the campaign model textures but not the model textures in the loadout screen and elsewhere it seems. Had to modify the config/defaultchaptercolours.lua to get the colors I wanted everywhere.

{Exo}{Elite}
25th Feb 09, 1:40 PM
Indeed , I shall edit my post for that.

Khyron
25th Feb 09, 1:54 PM
How did you get the rest of your squad equiped with other armor? Is this a mod also? I see they have the Aquila pattern armor on there...

{Exo}{Elite}
25th Feb 09, 2:02 PM
Indeed, my own personal mod. If you want I could give you the marines with Aquila pattern armor.

Khyron
25th Feb 09, 3:18 PM
Hi Exo

That would be great, I would very much appreciate it.

RayvenQ85
25th Feb 09, 3:34 PM
I'd love that too, the regular army they have just looks too bland.

Paladin
25th Feb 09, 3:53 PM
Testing it, I've found that your custom paint schemes won't work. I think you'd have to mod an extra entry into defaultchaptercolors.lua to be able to do that.

{Exo}{Elite}
25th Feb 09, 4:03 PM
Strange, I have just tried Novamarines colours+badges swapping with Bloodravens colour entrys on that file, and worked, not unless there different. Oh and the people who want me to upload the mod hold on ill get to work on that tommorow =D

RayvenQ85
25th Feb 09, 4:05 PM
If I want a custom scheme, I leave the tuning set to blood ravens and instead edit the defaulchaptercolours entry of the blood ravens to have the colours and pattern I want.

and by custom paint schemes, I think he means user created ones trying to list them in the tuning file.

Paladin
25th Feb 09, 4:10 PM
Yeah, this mod works with any color scheme in the defaultchaptercolors.lua file, but not custom user-created paint schemes made through the army painter (Which are saved to your player config file in your my games/dawn of war 2/ folder.

RayvenQ85
25th Feb 09, 4:13 PM
Yeah, for that you have to change the colours/badges/badge of a chapter that already exists in the defaultcolours (or by all means add one extra) and pointing the tuning to that name.

Paladin
25th Feb 09, 4:21 PM
Mostly I just wanted to make the existing chapters shinier, so I just went through and replaced their current colors with similar metallic colors.

Paladin
26th Feb 09, 1:48 AM
I have to mention this: It's hilarious when you use a custom paint scheme for the campaign, and you play the first mission where Thaddeus appears. It's a scripted event, and the troops spawn as NPC puppets to start with, which are in Blood Ravens colors no matter what. Then when they jump down from the ridge and become controllable, the game despawns the puppets and spawns Thaddeus as a unit for you in that position, so they suddenly change colors.

It's kind of cool ;)

{Exo}{Elite}
26th Feb 09, 3:20 AM
Yeah lol, Hopefully there will be a way to change it if people don't want it ;).

Paladin
26th Feb 09, 3:26 AM
Well, you can make even the scripted NPCs show up in your custom colors by altering the blood ravens color scheme in the defaultchaptercolors.lua, but that affects MP/Skirmish as well...

{Exo}{Elite}
26th Feb 09, 3:33 AM
Yes, I suppose so.

Lorgrin
28th Feb 09, 7:47 AM
Give me a hand here please, i have no idea what i did wrong, as it doesnt work.

I extracted the tuning.lua from D:\Program Files (x86)\Steam\steamapps\common\dawn of war 2\GameAssets\Archives

Edited it so it looks like this:
-- this references Config/defaultChapterColours.lua
player_chapter_names =
{
"SM_Spacewolves", -- player 1
"SM_Bloodravens_COOP", -- player 2 (co-op)
},

Saved and put the .lua in D:\Program Files (x86)\Steam\steamapps\common\dawn of war 2\GameAssets\Archives

my Desktop Shortcut looks like this: "D:\Program Files (x86)\Steam\Steam.exe" -applaunch 15620 -dev

Did i miss anything? I have no Idea...only difference is i own the German Version but i doubt it makes any difference in the code.

Thanks in advance...

{Exo}{Elite}
28th Feb 09, 8:03 AM
are you sure you did it right? you might have missed a part of the module or something?

RayvenQ85
28th Feb 09, 8:18 AM
You need to put the .lua in GameAssets\Data\Config for it to show up if it isn't a .sga

Lorgrin
28th Feb 09, 8:56 AM
I didn´t create any modules, just edited the tuning.lua.

also there is no config subfolder under GameAssets/Data I created one and will try that now, only folder called config is dirctly under comm/dawn of war 2/ where it doesn´t work either.

Edit: Do i need to start a new campaign for each try?

RayvenQ85
28th Feb 09, 9:16 AM
No, it'll show up right away no need to create a new campaign, although in the Equipment screen it'll show the normal Blood Ravens colours, ingame it will show what you changed it to.

And yeah you'd have to create a folder in data.

Lorgrin
28th Feb 09, 12:17 PM
Maybe it doesnt work because i extracted ONLY the tuning.lua from the .sga? I will try again extracting everything from it, as soon as i redownloaded the Game, messed it up somewhere...

Either there is a crucial Step missing or the How-To is not recommended for the average user. Or, which seems more likely, im just plain stupid...

Khannis
1st Mar 09, 10:44 PM
I used an black/silver half-split scheme for my Marines in the campaign, but found it odd that Davian Thule (you know, after he was... saved) had a half-split scheme like I edited on the squad loadout screens, but in missions he has silver amor with a black backpack :confused:

{Exo}{Elite}
2nd Mar 09, 2:14 AM
@Lorgrin
Have you tried using -dev?

Lorgrin
2nd Mar 09, 5:14 AM
Yes, i did...everything i wrote in the above post is straight copy and paste. I´m still trying to figure it out. I was thinking it might have something to do with file redundancy, since i now have a modified, extracted .lua and one unmodified inside the .sga.

darkelf
2nd Mar 09, 6:54 AM
It will always use the folder version if there is one when you use -dev, so that is not an issue. It should work if you have the correct filepath (DOW2\Gameassets\Data\Config) and use -dev.

Fazotronic
2nd Mar 09, 8:46 AM
hello im new here...

how can i add a helmet to cyrus like u did in the picture?
i hope u can help me out with this...

{Exo}{Elite}
2nd Mar 09, 9:01 AM
Yeah, simple check out my mod here:
http://forums.relicnews.com/showthread.php?t=216739

Fazotronic
2nd Mar 09, 9:15 AM
well thats cool but i just want to change the helmets from the scouts...
i actually dont want the other stuff...
is it very complicated or can u make a short tutorial?

{Exo}{Elite}
2nd Mar 09, 9:25 AM
Easy to make, ill wip up a mod in a couple of hours or so. (busy)

Khannis
2nd Mar 09, 2:39 PM
Nobody knows about the Dread texture?

†TYRANICK†™
4th Mar 09, 1:56 PM
So...

Can someone post a tutorial to get custom user created colour schemes to work or editing the blood raven ones to the colours I want? Would be much appreciated :).

{Exo}{Elite}
4th Mar 09, 2:13 PM
Editing the blood ravens colours? simple, I could edit my post then.

†TYRANICK†™
4th Mar 09, 2:17 PM
Sweet ^^ thx! I really wanna use my awesome shinies hehe.

{Exo}{Elite}
4th Mar 09, 2:40 PM
There we go ;)

Practiti0ner
4th Mar 09, 11:51 PM
Okay i give up, i really didnt want to post here asking what i did wrong, but im really confused, i edited the tuning.lua and the defaultchapercolours.lua i just copied and pasted the novamarines and pasted it over the blood ravens, yet in game and on equip menu they have pink splots on there pauldrons and on the banners, yet the pattern and color is the same just pink splots... lol really confused :) ill post my entry in default chapers



{
{
chapterKeyName = "SM_Novamarines",

chapterNameID = 9109654, -- LOCDB [9109655] 'Novamarines'
--~ chapterNameID = 9109655, -- LOCDB [9109655] 'Novamarines Chapter'

primaryColourName = "Light Grey",
secondaryColourName = "Midnight Blue",
tintColourName = "Light Grey",
extraColourName = "Charadon Granite",

teamTex = "1",
badge1Tex = "sm_Novamarines",

usableRaces = { "race_marine" },
armyPainterVisibility = true,
},

Zetrial
5th Mar 09, 1:05 AM
I don't think you should of changed the chapterkey name or the chapter names, just copied the colours and tex lines, I'll throw one up for you that should work

{
chapterKeyName = "SM_Bloodravens",

chapterNameID = 9109487, -- LOCDB [9109487] 'Blood Ravens'
--~ chapterNameID = 9109488, -- LOCDB [9109488] 'Blood Ravens Chapter'

primaryColourName = "Light Grey",
secondaryColourName = "Midnight Blue",
tintColourName = "Light Grey",
extraColourName = "Charadon Granite",

teamTex = "3",
badge1Tex = "SM_Novamarines",

usableRaces = { "race_marine" },
armyPainterVisibility = true,
},

Practiti0ner
5th Mar 09, 1:53 AM
Thanks bro ill give that a go tomorrow, *YAWNS* bed... she beckons me.

†TYRANICK†™
5th Mar 09, 5:11 AM
Can't get my custom colours appearing anywhere :S:



{
{
chapterKeyName = "SM_Bloodravens",

chapterNameID = 9109487, -- LOCDB [9109487] 'Blood Ravens'
--~ chapterNameID = 9109488, -- LOCDB [9109488] 'Blood Ravens Chapter'

primaryColourName = "Chaos Black",
secondaryColourName = "Abyss Red",
tintColourName = "Brazen Brass",
extraColourName = "Burnished Gold",

teamTex = "1",
badge1Tex = "sm_Bloodravens",

usableRaces = { "race_marine" },
armyPainterVisibility = true,
},


I assume you leave the file in the extracted desitination for it to work or does it need to be somewhere esle? Currently in: dawn of war 2\GameAssets\Archives\DATA\config.

Zetrial
5th Mar 09, 5:28 AM
Wrong folder Tyranick, should just be gameassets\data\config.
Use the data folder as the base of any archive you extract.

†TYRANICK†™
5th Mar 09, 3:44 PM
Thank you zet :).

Gaunt21502
5th Mar 09, 4:13 PM
Yikes...Im sorry in advance...and im just learning how to do these...simple for some... sga stuff. I managed to extract and modify all the write files etc. But how or where do I put my new lua and sga files back into gamesdefault after I modfied them? I tried just putting the two files I modified for the new colour schemes in both the single player and load-out screens, into the archives folder in the DoW II data subfolder.

What do I do :(

Zetrial
5th Mar 09, 4:55 PM
Place it in the folder I showed Tyranick, the lua's for chapter colour and army painter should be in the gameassets\data\config folder, if there isn't a config folder already there make one and throw them in.
Then make sure you run with -dev and viola

Thlaylie
5th Mar 09, 11:42 PM
I have found a line in the targeted .lua colors missing the entire last line of the entry : "armyPainterVisibility = true," for the color "tenticle pink"

Zetrial
5th Mar 09, 11:59 PM
Very nice find

Thlaylie
6th Mar 09, 12:15 AM
Someone was asking for a pink color in one of the threads. I'm glad I could return the favor to the forum members after you showed me how to get the preorder colors.

How about unlocking level 60 Tyranid Commanders Look? Does anyone know how to do this yet?

Zetrial
6th Mar 09, 12:17 AM
Depends on how you want it done, can do it an easy way but it disables any type of multiplayer but is fine for skirmish, the other way is to just wait on this.
http://forums.relicnews.com/showthread.php?t=217458

Thlaylie
6th Mar 09, 1:37 AM
I was shown an easy -dev edit for the colors that disables online gaming, but removing the -dev allows me to play with my altered colors. Do you mean like that? Is it in the same file as the colors?

Zetrial
6th Mar 09, 1:40 AM
Not the same file, there is a ranks.lua file in the gamedefault.sga I believe, you can go and fiddle with that to give you level 60 items but need -dev mode to run it which disables multi and having -dev off disables it completely

Thlaylie
6th Mar 09, 1:43 AM
So my Tyrant could reach level 60 in skirmish and I would see the same effect without altering this file?

Zetrial
6th Mar 09, 1:46 AM
Wouldn't be level 60 unit, but count you as a level 60 player, making you have all the visual upgrades they get, that is it, haven't tried it but from when I glanced at it shouldn't be too hard to do

Thlaylie
6th Mar 09, 1:53 AM
What do I need to change in the file? Pm me some instructions if you can.

Krass
7th Mar 09, 2:52 AM
To have Deathwatch or Relic chapters playable : just rename them "SM_Deathwatch" and "SM_Relic", set armypainter "true". They will show in army painter.
To play them in campaign, copy colors and badge into Blood Ravens in the Chaptercolors lua and rename the chapter in the tuning lua, run with -dev.

Atli_man
7th Mar 09, 6:55 AM
ChapterColours =
{
{
chapterKeyName = "SM_Bloodravens",

chapterNameID = 9109487, -- LOCDB [9109487] 'Blood Ravens'
--~ chapterNameID = 9109488, -- LOCDB [9109488] 'Blood Ravens Chapter'

primaryColourName = "Light Grey",
secondaryColourName = "Midnight Blue",
tintColourName = "Light Grey",
extraColourName = "Charadon Granite",

teamTex = "3",
badge1Tex = "sm_Novamarines",

usableRaces = { "race_marine" },
armyPainterVisibility = true,


it wont work

the game crashes when i go into the army painter or anything

Atli_man
7th Mar 09, 8:40 AM
there is something wrong i can only get the the chapters or clan and all but not the ones that are in the game

Gaunt21502
7th Mar 09, 9:40 AM
Zetrial I wanted to thank you for your earlier help, it did work at least in the sense I now have different colours...however after following all the directions...for some reason it keeps the same badge (Angels Sanguine) and these odd colors that are neither the Angels Sanguine nor the colors that I typed into the ChapterColours.lua which I placed as Ultramarines...I have orange for trim and pink for shoulders? Do you or anyone have any ideas to what I may have or not have done right? Here is what I did.



-- see end of file for a variety of faction names
ChapterColours =
{
{
chapterKeyName = "SM_Ultramarines",

chapterNameID = 9109501, -- LOCDB [9109501] 'Ultramarines'
--~ chapterNameID = 9109502, -- LOCDB [9109502] 'Ultramarines Chapter'

primaryColourName = "Mordian Blue",
secondaryColourName = "Mordian Blue",
tintColourName = "Metallic Gold",
extraColourName = "Metallic Gold",

teamTex = "1",
badge1Tex = "Sm_Ultramarines",

usableRaces = { "race_marine" },
armyPainterVisibility = true,

Zetrial
7th Mar 09, 9:44 AM
Don't suppose your using notepad?
Also don't overwrite the keyname or id's when you change them, safest thing is to use wordpad as notepad glitches and only ever copy the colour, teamtex and badgetex entries.

zai
11th Mar 09, 5:13 PM
i have succesful changed the campaign colour scheme,but i noticed an error: with teamtex "2",even if the dread is right in the "hangar",on the field it has the standard color pattern..it's also the same with the other 2 patterns,on the field the dread continue using the standard colour scheme while in the hangar it's showed right..do you have noticed the same problem on your games?

Bravus
20th Mar 09, 2:49 AM
i have a question:

i edited the DATA\CAMPAIGN\tuning.lua to use a custom scheme.
i created this custom scheme by adding it to DATA\CONFIG\defaultchaptercolours.lua

since the name of my custom scheme "Hawk Lords" wasn't predefined and i don't want to overwrite one i added the next free number as the chapterNameID:
chapterNameID = 9109668, -- LOCDB [9109668] 'Hawk Lords'

it works in SP and is also handled by the army painter as if it were a stock theme. the only thing that doesn't work is the name in the army painter, where it says §9109668NoRange as the army's name.

clearly it has something to do with the invalid chapterNameID, which is not defined elsewhere! i assume the chapterNameID links to another file, where each ID is assigned a textual name... does anybody know which file that might be?

jaylo138
20th Mar 09, 4:53 AM
Add this line under your first Hawk Lords entry in defaultchaptercolours.lua


--~ chapterNameID = 9109669, -- LOCDB [9109488] 'Hawk Lords Chapter'

Then add this line to DOW2.ucs


9109669 Hawk Lords Chapter

I would suggest copying DOW2.ucs, rename the copy to whatever you want, clear all entries in the copy & create new entries in the copy continuing from the last entry in DOW2.ucs. This way you wont run out of numbers for entries & you can keep track of what entries you've added.

Clonesa
20th Mar 09, 10:19 AM
Jaylo, that line seems to be copied from another entry, but if you look cloesly its commented out and therefore will not do anything. Each of the default chapters by Relic has one commented out line regarding the chapter names as at some point Relic changed them.

-- is a comment in lua
--[[
--]] is a comment block

jaylo138
20th Mar 09, 4:25 PM
Have you added the id number to the DOW2.ucs e.g

9109668 Hawk Lords

Bravus
21st Mar 09, 4:29 AM
thanks jaylo138!
adding a seperate .ucs file which contains all my custom lines the file won't load.
but if i add the line '9109668 Hawk Lords' directly into the original DOW2.ucs it works perfectly fine!

jaylo138
21st Mar 09, 4:50 AM
I have as part of my mod an additional ucs & it works fine.

Did you delete all info from the copied one?

Zetrial
21st Mar 09, 5:16 AM
Bravus to create a seperate ucs file you need to copy the original file, clear it and put in your custom entries. Renaming it how you want it.
Just creating a new text file and giving it the ucs extension won't work.

Bravus
22nd Mar 09, 3:01 PM
i see.
thanks for your answers.

liniv
23rd Mar 09, 5:28 AM
where do i put the tuning.lua when i changed it

MegaDok
23rd Mar 09, 5:26 PM
Ok I'm lost here....

This is what I put in for the values

http://img6.imageshack.us/img6/5084/61282111.th.jpg (http://img6.imageshack.us/my.php?image=61282111.jpg)

This is what I get in the game...

http://img8.imageshack.us/img8/4540/91300990.th.jpg (http://img8.imageshack.us/my.php?image=91300990.jpg)

So what is going on here? I'm using the -dev method

Shaggydog
26th Mar 09, 6:52 PM
changed the colours for the blood ravens in the defaultchaptercolours.lua
but ingame i just get black marines with a random badge and not the colours i selected. i opened armypaintercolours.lua and made sure i had the spelling and capitals correct.. dunno if the capitals make a difference or not?
EDIT: never mind. i got it working :D

{Exo}{Elite}
27th Mar 09, 12:50 AM
@MegaDok.
You did use wordpad right?

liniv
27th Mar 09, 2:58 PM
same fore me they just get black whith a purple badge

if i want to change to a schame i made it loks like the one on post 71

i got it to work i used notepad first then i used wordpad insted and it worked so Shaggydog and MegaDok try using wordpad and it will work

MegaDok
27th Mar 09, 4:47 PM
Ok so I've been using wordpad in vista...

saved as "rich text format" = black armor purple badge
saved as "text document" = red armor with the orange shoulder pads (original porblem)
saved as "text document - ms dos format" = red armor orange shoulder pads
saved as "unicode text document" = black armor purple badge

That's all the options I'm given to save as. The file still shows up as a lua file. Is there some special extension I have to manually include that nobody has listed?

I don't know what the hell is going on :bricks:

danq578
28th Mar 09, 8:20 AM
MegaDok im not sure you are meant to save as. I just had to press File-Save and place the file in the right place
(btw im using vista as well)
hope this helps somewhat

MegaDok
28th Mar 09, 11:07 AM
ok yeah it still isn't working it just comes up with black armor and purple badge

C:\Program Files (x86)\Steam\steamapps\common\dawn of war 2\GameAssets\Data\Config

that is the correct directory right? and I put in the defaultchaptercolours.lua file into it?

Buick
28th Mar 09, 11:55 AM
Thanks for the tut, i'm now playing through the campaign again with my nice Black Templars paint work. :D

danq578
28th Mar 09, 1:02 PM
i did have the black armour and purple badge problem but then i needed to reinstall (a bit of overzealous deleting while modding)
since then i have run it from a separate mod.
now i have another .module file pointing to a mod folder with an identical file structure as yours. mine is:
dawn of war 2\Space_Wolves\Data\config
and i just placed the lau in there.
maybe if you try it using a new mod, it will work?

MegaDok
28th Mar 09, 3:49 PM
Finally got it working. I don't know what was going on but I guess I can't type anything into the fields and have it work I have to manually copy and paste whatever text I want to change from another lua file into the defaultchapter.lua

liniv
29th Mar 09, 2:44 AM
{Exo}{Elite} cud you give me the marines with Aquila pattern armor would be great

{Exo}{Elite}
29th Mar 09, 2:45 AM
Simple, right here:
http://forums.relicnews.com/showthread.php?t=216739

Galadorn
7th Apr 09, 1:21 AM
Alright, I've been pulling my hair out over this for the past week and apparently no amount of lurking is going to help me figure out what I'm doing wrong. I've followed the steps of this thread to the letter, extracting the tuning.lua and defaultchaptercolors.lua files, put them in the /Data/Config folder, entering all the code right and whatnot and even edited the DOW2.ucs correctly.

Here's my problem: I've added my custom chapter, the Steel Spartans, into the defaultchaptercolors.lua and I know it's working right because they appear in the Army Painter as one of the "core" chapters. However, I cannot, for the life of me, figure out why I can't edit the colors to be used in the campaign. I have edited the tuning.lua file, with WordPad, as dictated, changing the "SM_Bloodravens" to "SM_Steelspartans", I've even tried using the core chapters like "SM_Darkangels" and "SM_Blacktemplars", but no matter what I do, the campaign colors are only ever Blood Ravens and I can't figure out why.

Now, one thing that I only just now thought of (although I can't imagine this is it) is that maybe the first mission (tutorial mission) will always show up as Blood Ravens anyway 'cause of the whole allied colors spawning...thing...so maybe I just have to play through the first mission before the colors take effect. Again, I can't imagine this is the cause. I haven't tested it yet because it's 1am and I'm so tired my eyeballs hurt. I'm hoping to get some responses overnight so somebody can please tell me wtf I'm doing wrong, 'cause *I* can't figure it out.

Here is exactly what's in my tuning.lua file right now.

},

-- this references Config/defaultChapterColours.lua
player_chapter_names =
{
"SM_Steelspartans", -- player 1
"SM_Bloodravens_COOP", -- player 2 (co-op)
},
}

Not posting the defaultchaptercolors.lua or DOW2.ucs because my Chapter is showing up just fine in the Army Painter, so I know THAT much is right. Since they're showing up, that should prove that, yes, I am launching with the -dev parameter. Please help...I think my wife is very close to suggesting therapy for me over this. :banghead:

liniv
7th Apr 09, 3:28 AM
try using word pad

Galadorn
7th Apr 09, 12:41 PM
I have edited the tuning.lua file, with WordPad, as dictated, changing the

Apparently you missed this part.

Shaggydog
7th Apr 09, 5:40 PM
Have you tried editing the default colours for the Blood Ravens? Leave the name as is and copy and paste the colours into the correct sections... I don't know why but typing them in caused an error of sorts for me (Black marines with bright purple splodge for a badge). Sorry if this is no help or already tried. It's all I can think of at the moment.

SCharger
21st Jan 10, 12:19 PM
So, I'm trying to follow this tute as best I can. And I believe that I have done an admirable job of trying all of the possible variations on the technique. I have tried modifying the Tuning.lua file for Blood Ravens and then Changing the blood ravens colors, I've tried changing the tuning file to a different chapter. I've also tried copying the two blood ravens block of code in the Default file and building my own chapter. The problem that I always run into is that my marines end up all Chaos Black with a purple badge. Not only that, but the game has deleted all the other chapters and color schemes in the army painter (marine and xeno). If I remove the files and reboot the game, all of the old colors and army schemes are back.

I've gone back and looked at the files for spacing, i've used Word pad everytime, and I've even copied and pasted instead of typed the new colors. The only time the game doesn anything normal is when I haven't touched the files at all. I have tuning.lua in assets/data/campaign, and defaultchaptercolours.lua in data/config.

Any suggestions? Thanks!



*update*
Please Disregard this post as the game seems to have decided to stop being dumb and work. I went back and reworked the files using notepad on a whim and it decided to function properly. Ironic, and frustrating.

hangar-8
25th Jan 10, 4:00 PM
Suggestion..

Find and download Notepad++, I found using a windows text or wordpad caused problems in my mod (even though there were no typos and the coding was 100% correct).

Elleym
12th Mar 10, 12:19 AM
in DOW2 i used defaultchaptercolours.lua edit to change blood ravens scheme to what i liked...

now in CR using same file makes chaos corupt (no schemes aside of custom i made)

i supose CR uses diferent defaultchaptercolours.lua but i cant find it (i serched gamedefault.sga and delta version the seam to contain same version of file)

can anyone here help me? :bonnet:

Copernicus
12th Mar 10, 3:36 AM
Did you search in 210_data.sga and 200_data.sga?

Elleym
12th Mar 10, 5:27 AM
one from 200_data.sga worked, thx ^^

TrashMan
30th Jul 10, 1:25 PM
I just have one question - where do I have to put a new badge if I want it used?
Custom chapter, custom badge, no?


EDIT: NEVERMIND.

Alphabreen
16th Aug 10, 1:15 PM
Hi there, i am new and i got a question :)

i tried to change my colours in the campaign ( first the normal dow2 campaign ) i got dow2 + cr ( newest version )

i followed the tutorial and it doenst work. than i tried the defaultchaptercolours.lua from the 200_data.sga file and it doesnt work too ...
below is the text i changed in the file.
( yep i used - dev and it work because i use a mod file which extend the squad members in the dow2 campaign )

chapterKeyName = "SM_Bloodravens",

chapterNameID = 9109487, -- LOCDB [9109487] 'Blood Ravens'
--~ chapterNameID = 9109488, -- LOCDB [9109488] 'Blood Ravens Chapter'

primaryColourName = "Metallic Blue",
secondaryColourName = "Metallic Blue",
tintColourName = "Metallic Gold",
extraColourName = "Metallic Gold",

teamTex = "1",
badge1Tex = "sm_Ultramarines",

usableRaces = { "race_marine" },
armyPainterVisibility = true,
},

thx for all infos and help

alphabreen

Drone456
17th Aug 10, 1:04 AM
I think maybe it isn't working because you're changing the 200_data.sga file, try editing the gamedefault.sga and then go config-defaultchaptercolours.lua. See if after you edit that and put the file where it needs to go if it works then.

Hope that helps.

jaylo138
17th Aug 10, 2:24 PM
Also do not edit defaultchapters.lua with notepad, the file doesn't like it.
Use wordpad or similar instead.

Cebro
6th Mar 11, 8:02 PM
Anyone found how to change colour schemes in Retrebution?

Ironmane
10th Mar 11, 8:48 PM
Same question, simply knowing where the default colors are held is all thats needed, I can't find the sga with this info, and honestly have no idea where to look.

Gingo30
18th Aug 11, 9:51 AM
Dunno if anyone is still checking this for Retribution but the default colours are found in the \GameAssets\Archives folder in the xxx_data.sga files. There are 4 of them in there numbered 000, 001, 002, 003 and 001 doesn't have the default colors but the other 3 do. Not sure which to use though. Trying to get Crimson Fists into the campaign but this is my first go so I'm stumbling along accomplishing a lot of nothing right now.

Floodsamurai
18th Jan 13, 7:39 PM
OK, I did all that. Now I have an edited wordpad file. Then what do I do with it to get it working in the game? When I go to the sga packer the file is nowhere to be found. could you be a bit more specific on what happens next please?