how can i change the current stock side to a custom side?
Posted: Mon Oct 15, 2012 5:41 pm
Hello again, i have a quick question. How can i change the current stock CIS side of my map to be a custom jedi unit that i have?
Get more from your games!
http://www.gametoast.com/
Code: Select all
ReadDataFile("dc:SIDE\\cfd.lvl",Code: Select all
"cis_inf_riflemana")Code: Select all
ReadDataFile("dc:SIDE\\cfd.lvl",
"cis_inf_riflemana")Code: Select all
cis = {
team = CIS,
units = 32,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 18},
assault = { "cis_inf_rocketeer",1, 6},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},Code: Select all
cis = {
team = CIS,
units = 32,
reinforcements = 150,
soldier = { "cis_inf_riflemana",9, 18},
assault = { "cis_inf_rocketeer",1, 6},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},It does mention it:Cleb wrote:http://www.gametoast.com/forums/viewtop ... 27&t=12729
Something that I don't think it says is that you must have the common side from the assets in your sides folder and munged or your game will crash.
You don't need to munge the common folder, it only needs to exist in data_ABC/Sides.Custom Side: How To wrote:Lets take another trip to the assets.
Go to Assets/Sides, and copy the common side to your Data_ABC/Sides.
A new name won't hurt, but you can leave it the same 3 character identifier. The dc in the LUA tells the game to look for the munged files from your map's addon folder, not from the retail files.Cleb wrote:Wait, you also must have a new name for your side, just also copy a cis side from the assets and rename it something else and then create its side folder in the munged folder.
Wow. When I started modding I read that tutorial over like, 15 times and never once saw that.AceMastermind wrote: It does mention it:You don't need to munge the common folder, it only needs to exist in data_ABC/Sides.Custom Side: How To wrote:Lets take another trip to the assets.
Go to Assets/Sides, and copy the common side to your Data_ABC/Sides.
Visual Munge pulls what it needs from there while munging the custom side.
Hmmm Once I did that and it crashed my game: forums/viewtopic.php?f=27&t=28343AceMastermind wrote:A new name won't hurt, but you can leave it the same 3 character identifier. The dc in the LUA tells the game to look for the munged files from your map's addon folder, not from the retail files.Cleb wrote:Wait, you also must have a new name for your side, just also copy a cis side from the assets and rename it something else and then create its side folder in the munged folder.
It worked only when I mad a new side called cfd.Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open dc:SIDE\cis.lvl