Forged Alliance Forever Forged Alliance Forever Forums 2017-11-06T09:16:45+02:00 /feed.php?f=41&t=15391 2017-11-06T09:16:45+02:00 2017-11-06T09:16:45+02:00 /viewtopic.php?t=15391&p=156022#p156022 <![CDATA[Re: Can anyone get me started with making a custom faction?]]>
there are different ways to do this.

Easy but destructive:
Go to your gamedirectory and search for the lua.scd file:
E:\Games\Supreme Commander - Forged Alliance 1.5.3603\gamedata\lua.scd
Rename the file from lua.scd to lua.zip and unpack the archive.
Now you can search and edit any game lua file inside the ardhive.
Repack the zip, rename it back to .scd and you can test/play your modded game.

Hooking:
Same as above, but your files will be in a directory named "hook".
Those files can overwrite functions from the original game, without editing/destroying the mainfiles.

The smart way:
The whole FAF programm code can be found on gidHub:
https://github.com/FAForever/fa
You can fork a copy of the programmcode, and edit it in your own github space.
And you can play your github version directly with a simple init file for supcom.
(But you need to update and patch your forked copy every time when we are realeasing a new FAF version! Have this in mind!)

Best of it, in case your mod is "perfect" (whatever this means) we can implement this into the FAF version with a single click.

@biass:
Thanks for the link! I knew i forgot something :D

Statistics: Posted by Uveso — 06 Nov 2017, 09:16


]]>
2017-11-06T07:18:23+02:00 2017-11-06T07:18:23+02:00 /viewtopic.php?t=15391&p=156018#p156018 <![CDATA[Re: Can anyone get me started with making a custom faction?]]> http://supcom.wikia.com/wiki/Unit_Creation

You'll need to be able to do this before you bother editing the core game files to add in your own playable race, this will include some competency at 3d modelling and also some minor ability to understand LUA code, good luck

Statistics: Posted by biass — 06 Nov 2017, 07:18


]]>
2017-11-06T05:25:36+02:00 2017-11-06T05:25:36+02:00 /viewtopic.php?t=15391&p=156016#p156016 <![CDATA[Re: Can anyone get me started with making a custom faction?]]> Statistics: Posted by Euclidian Geometry — 06 Nov 2017, 05:25


]]>
2017-11-06T03:34:15+02:00 2017-11-06T03:34:15+02:00 /viewtopic.php?t=15391&p=156014#p156014 <![CDATA[Re: Can anyone get me started with making a custom faction?]]>
I just made a fast search for faction related programminglines that need a modification if you add a new faction.

These files must be modified:

aibrain.lua
defaultunits.lua
Effectutilities.lua
factions.lua
GameColors.lua
Platoon.lua
ScrenarioFramework.lua
ScrenarioPlatoonAI.lua
SimCallback.lua
SimObjectives.lua
aibuildstructures.lua
hotbuild.lua
options.lua
FactoryBuildManager.lua
ScenarioUtilities.lua
Score.lua
Unit.lua
skins.lua
createunitfilter.lua
score.lua (same name like above, but other directory!)
avatars.lua
gamemain.lua
tooltips.lua
lobby.lua
UnitAnalyzer.lua
UnitManager.lua
10 AI-Builder.lua files
17 AI-Template.lua files

Statistics: Posted by Uveso — 06 Nov 2017, 03:34


]]>
2017-11-06T02:13:39+02:00 2017-11-06T02:13:39+02:00 /viewtopic.php?t=15391&p=156010#p156010 <![CDATA[Re: Can anyone get me started with making a custom faction?]]> Statistics: Posted by Euclidian Geometry — 06 Nov 2017, 02:13


]]>
2017-11-06T01:29:02+02:00 2017-11-06T01:29:02+02:00 /viewtopic.php?t=15391&p=156007#p156007 <![CDATA[Re: Can anyone get me started with making a custom faction?]]>
i guess there is no guide to make a new faction.

Thinks you need to do for a new faction:

1. decide if you want to make the new faction for the FAF game, SupCom Forged Alliance or the steam/vanilla game.
Your mod will only run on a specific supreme commander version, because you need to change basic game files.

2. Time. If you can't spend at least 1 hour a day for the next half/full year then forget it.

3. Make at least 80% of the units for the new faction. (thats only my personal opinion)
Minimum requiement is a land, air, sea and quantum factory with at least one buildable unit.
You will need many help to make the programmcode for a new faction, so you should show that you have done at least the unit models.

4. Rewrite some of the original game files to include the new faction.
To make a new faction you need to hook into original gamefiles to modify the gamelobby, unitmanager etc.
This can't be made with a normal mod. You must use .scd files.

5. Many player are playing with or against the AI.
So we need also some AI scripting to get the new units work.

6. Get player to test / balance your new faction.

7. If your mod is "Perfect", then we could talk about implementing this new faction to the FAF-maingame
If you make a stand alone mod with .scd files, then you maybe need to fix your mod after every FAF update.
(Because of the modified game files)

Also a good start to see how much work a new faction is, take a look inte the "Nomads" forum.
viewforum.php?f=14

Greetings, Uveso.

Statistics: Posted by Uveso — 06 Nov 2017, 01:29


]]>
2017-11-06T01:05:13+02:00 2017-11-06T01:05:13+02:00 /viewtopic.php?t=15391&p=156006#p156006 <![CDATA[Re: Can anyone get me started with making a custom faction?]]> Statistics: Posted by Euclidian Geometry — 06 Nov 2017, 01:05


]]>
2017-11-05T11:35:59+02:00 2017-11-05T11:35:59+02:00 /viewtopic.php?t=15391&p=155983#p155983 <![CDATA[Re: Can anyone get me started with making a custom faction?]]> If you want to contribute in terms of a new faction then support the guys of the nomads.

Statistics: Posted by PsychoBoB — 05 Nov 2017, 11:35


]]>
2017-11-05T05:22:44+02:00 2017-11-05T05:22:44+02:00 /viewtopic.php?t=15391&p=155982#p155982 <![CDATA[Can anyone get me started with making a custom faction?]]> Statistics: Posted by Euclidian Geometry — 05 Nov 2017, 05:22


]]>