RUNNING WITH RIFLES
http://www.runningwithrifles.com/phpBB3/

Modding factions
http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=7&t=1803
Page 1 of 1

Author:  Oxtone [ Tue Jul 29, 2014 5:18 pm ]
Post subject:  Modding factions

Hi all

I have managed using the current models available in the game to create another faction with a different colour however when i use the faction in quick match it still shows up green on the map and the bar that appears at the bottom of the page when capturing territory still appears green, is there anyway i can change this to match the factions colour?? I dont know much about modding so the easier the better :)

Author:  pasik [ Thu Jul 31, 2014 12:11 pm ]
Post subject:  Re: Modding factions

Faction's color is defined in the faction tag in a faction XML file.

Code:
<faction name="Greenbelts" color="0.0 0.5 0.03" firstnames_file="english_firstnames.txt" lastnames_file="english_lastnames.txt">


The color format takes three numbers in range between 0.0 and 1.0, that's red, green and blue respectively.

Also hex is accepted, like #FF0000 for red, if you're more familiar with that.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/