Forged Alliance Forever Forged Alliance Forever Forums 2019-03-15T15:34:34+02:00 /feed.php?f=41&t=17314 2019-03-15T15:34:34+02:00 2019-03-15T15:34:34+02:00 /viewtopic.php?t=17314&p=172769#p172769 <![CDATA[Re: Change faction color of a unit to another faction's colo]]> :lol:

Statistics: Posted by Franck83 — 15 Mar 2019, 15:34


]]>
2019-03-15T14:14:07+02:00 2019-03-15T14:14:07+02:00 /viewtopic.php?t=17314&p=172768#p172768 <![CDATA[Re: Change faction color of a unit to another faction's colo]]>
A unit has
1. a texture graphic - you can edit it in photoshop
2. team colour overlay - it gets the colour from the team. You could change the colour of the team (map script?) or change the team of the unit

I think you mean #2 but it's not that clear. You could explain what you are trying to do more.

Statistics: Posted by nine2 — 15 Mar 2019, 14:14


]]>
2019-03-15T10:55:42+02:00 2019-03-15T10:55:42+02:00 /viewtopic.php?t=17314&p=172765#p172765 <![CDATA[Re: Change faction color of a unit to another faction's colo]]>
For example if you want to add cybran SCAU to Uef units :

1. Go to C:\ProgramData\FAForever\gamedata, take the units.nx2 file.
Rename it to zip. Unpack it.

2. Create your mod files
object

3. Take the unit bp you want from your zip file and put it in your unit hook rep.
\Mods\YourMod\Hook\units\URL0301

4. Replace the faction name CYBRAN to UEF in the bp files :
Code:
Categories = {
        'PRODUCTSC1',
        'SELECTABLE',
        'UEF', -- from CYBRAN
        'MOBILE',
        'LAND',
        'TECH3',
        'ENGINEER',
        'CONSTRUCTION',
        'REPAIR',
        'RECLAIM',
        'BUILTBYQUANTUMGATE',
        'CAPTURE',
        'VISIBLETORECON',
        'SUBCOMMANDER',
        'PATROLHELPER',
        'SHOWQUEUE',
        'OVERLAYOMNI',
        'OVERLAYDIRECTFIRE',
        'USEBUILDPRESETS',
    },



Code:
Economy = {
        BuildCostEnergy = 26400,
        BuildCostMass = 2000,
        BuildRate = 56,
        BuildTime = 14400,
        BuildableCategory = {
            'BUILTBYTIER3ENGINEER UEF', -- from CYBRAN
        },
        MaintenanceConsumptionPerSecondEnergy = 0,


Code:
        ConstructionBar = true,
        FactionName = 'Uef', -- From cybran
        Icon = 'amph',
        SelectionPriority = 3,
        TechLevel = 'RULEUTL_Secret',
        UnitWeight = 1,


4. Enjoy !

Image

Statistics: Posted by Franck83 — 15 Mar 2019, 10:55


]]>
2019-03-15T07:31:41+02:00 2019-03-15T07:31:41+02:00 /viewtopic.php?t=17314&p=172759#p172759 <![CDATA[Change faction color of a unit to another faction's color]]>
I'm new to modding (hacking?) FAF. I want to 'borrow' a unit from one faction and place it into another faction (UEF). I know how to borrow by copying the 'bp' and it's associated files from a unit into another unit but how do I change the unit's color to UEF (blue).

What kind of tool(s) do I need for FAF?

This is for offline play against an AI only.

Thank you.

Bofhlusr

Statistics: Posted by bofhlusr — 15 Mar 2019, 07:31


]]>