PDA

View Full Version : Custom faction question



Zain
03-09-2007, 03:25
Is it possible to create a brand new faction that is playable in the "new world"? That's what I've been trying to do with a few tutorials, but nothing's working. Let me know soon, thanks!

Zain
03-09-2007, 05:30
I got it working, I has put NE Bodyguards instead of NE Bodyguard as a unit. One little letter nearly screwed me over big time. Hehe.

All my unit soldiers have no textures, I haven't tried to fix it yet, because I must leave the computer, but anyone know off the top of their heads how to fix it? Thanks.

alpaca
03-09-2007, 14:53
Yes, create new textures and put them into the textures folder bearing the new faction name you have to create.

Zain
03-09-2007, 15:00
cool, i'll do so.

Zain
03-09-2007, 16:26
I've been trying to put in the symbol for the city banner by using slot number 23. I've been using Adobe Photoshop to add in my dragon symbol but still it isn't working. The symbol in-game is just showing a slightly darker shade of white blank square... :help:

alpaca
03-10-2007, 03:49
Which file did you change exactly?

Zain
03-11-2007, 22:35
mymod/data/banners/symbols6.tga

i changed some stuff in decr_sm_factions as well

alpaca
03-12-2007, 01:57
Hmm can't really help you there, sorry. Did you try what happens if you assign slot 23 to somebody else or slot 22 to your faction?

Zain
03-12-2007, 01:59
i haven't tried it on another faction, but 22 and so on worked fine on them. I even tried to move on to 24 and added my symbol and it did the same thing. Seems like edited files don't work or something.

alpaca
03-12-2007, 02:14
i haven't tried it on another faction, but 22 and so on worked fine on them. I even tried to move on to 24 and added my symbol and it did the same thing. Seems like edited files don't work or something.
Did you think of editing the alpha layer to enable transparency for your new banner (i.e. if it's all black, it won't be visible)?

Zain
03-12-2007, 03:54
yes, i have, but i haven't and the banners are black. But right now I'm just trying to get this certain thing work, the symbols...

alpaca
03-12-2007, 15:47
Well what I meant is that if the banner is all black in the alpha layer, it won't be shown because it's transparent. If you look at the other banners you'll see that the alpha layer is white where the banner appears.
So in fact, you have to edit the alpha layer to make your new banner visible.

Zain
03-12-2007, 22:57
ah, i must've not understood that concept before. Would you just refresh me on what file i must edit? I don't want to mess this up... Thanks man.

alpaca
03-14-2007, 16:08
Well in the symbols6.tga file, open it with Photoshop, go to channels, make the alpha channel visible and the RGB channels invisible and you should see what I mean.

Zain
03-15-2007, 02:52
okay

Zain
03-17-2007, 23:15
I still don't know what to do. I tried to make the alpha layer invisible with Adobe Photoshop and the RGB layer visible, but I don't know how. Here are some screenshots so you know exactly what I'm talking about.

Here I'm showing the city with the blank banner and the faction symbol which is set to the saxons symbol.

https://i68.photobucket.com/albums/i10/ZainDustin/NoBanner.jpg


Here are the black banners and textureless soldiers on the battlefield, which I don't know how to fix either.

https://i68.photobucket.com/albums/i10/ZainDustin/TexturelessSoldiers.jpg

I hate to be so stupid... but once I learn how to do this once I'll never forget.

Thanks.

alpaca
03-18-2007, 11:05
Hmm which file did you edit to change the image on the bottom right of the battle interface?

Anyways, to switch channels, first select channels (green), then make the alpha channel (blue) visible, then make the RGB channels (red) invisible.


https://img243.imageshack.us/img243/893/chan1hv5.jpg

This will produce the following:


https://img151.imageshack.us/img151/1700/chan2to4.jpg

You can see that the image is now white where anything is visibile in-game and black where stuff is invisible.
To edit it, you'll also need to select the alpha channel (by clicking on it in the channels tab).

Makanyane
03-21-2007, 09:11
@Zain,
are you sure problem with texture less soldiers is the actual texture (alpha etc) and not the folder structure its in?

I had the metalic soldier effect when trying to make changes in mod-folder. Think battle_models.modeldb and new textures have to be in main folders not mod-folder (unless there's fix for that) and use the --io.file_first switch

to double check before you play with texture too much, back up your version and copy and re-name an existing texture to it - to make sure that appears in battle.

(suspects she doesn't really know what she's talking about so runs away to hide in RTW section again....)

Zain
03-21-2007, 12:34
thank you, actually my version of adobe photoshop's 30 day trial is over and so i haven't been able to do anything with it. But thanks for the help, once I get it registered I'll be working with this stuff again.