how can i change the current stock side to a custom side?
Moderator: Moderators
- Zapattack1234
- Rebel Colonel

- Posts: 574
- Joined: Mon Sep 24, 2012 6:44 pm
- Projects :: The Wrecked Graveyard_Amongst the Ruins
- xbox live or psn: xbla:Rehmfire49
- Location: Isla Nublar (Jurassic Park)
how can i change the current stock side to a custom side?
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?
- Cleb
- Lieutenant General

- Posts: 711
- Joined: Sun Jun 17, 2012 10:12 pm
- Projects :: Learning how to use 3DS Max
- xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
- Location: Somewhere
- Contact:
Re: how can i change the current stock side to a custom side
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.
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.
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.
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.
- Zapattack1234
- Rebel Colonel

- Posts: 574
- Joined: Mon Sep 24, 2012 6:44 pm
- Projects :: The Wrecked Graveyard_Amongst the Ruins
- xbox live or psn: xbla:Rehmfire49
- Location: Isla Nublar (Jurassic Park)
Re: how can i change the current stock side to a custom side
Wait, is there a way I could make a new side and implant it in the CIS sides place?
- Cleb
- Lieutenant General

- Posts: 711
- Joined: Sun Jun 17, 2012 10:12 pm
- Projects :: Learning how to use 3DS Max
- xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
- Location: Somewhere
- Contact:
Re: how can i change the current stock side to a custom side
Ummm... what do you mean by implant? 
- Zapattack1234
- Rebel Colonel

- Posts: 574
- Joined: Mon Sep 24, 2012 6:44 pm
- Projects :: The Wrecked Graveyard_Amongst the Ruins
- xbox live or psn: xbla:Rehmfire49
- Location: Isla Nublar (Jurassic Park)
Re: how can i change the current stock side to a custom side
"Put in the place of"
- Cleb
- Lieutenant General

- Posts: 711
- Joined: Sun Jun 17, 2012 10:12 pm
- Projects :: Learning how to use 3DS Max
- xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
- Location: Somewhere
- Contact:
Re: how can i change the current stock side to a custom side
Ok heres how it is done in lua
This is a really old piece of lua from my map I'm making, but it still works. The two custom sides I want to point out is the cis (blue, renamed cfd), and republic (red, called 327, but don't use all numbers as a side name, as I figured out it causes some problems). for a custom side, you must have odfs, reqs, and all other files needed(for starters, just copy/paste the cis folder from assets/sides and rename it cfd) in the side folder in sides called cfd. now, go into to your cfd folder and rename cis_inf_rifleman to cis_inf_riflemana. change its odf to your hearts content. also copy and repaste the file cis_inf_default_rifleman and rename it as cis_inf_default_riflemana. go back into cis_inf_riflemana and change the part at the top that says ClassParent from cis_inf_default_rifleman to cis_inf_default_riflemana Then go to _BUILD/Sides and make a new folder called CFD. then go to another side folder and copy the clean.bat and munge.bat into CFD. In your lua you must then make a line called,
THe dc: means that you are loading a custom side and not a stoic one. Under that put,
This loads the sbd odf file called cis_inf_riflemana from the cfd folder you made. It should nap look like this:
Now go to this part:
It should be right beneath that last part.
change it to:
Now save and munge.
I hope I didn't miss anything. 
Hidden/Spoiler:
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},change it to:
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},- Zapattack1234
- Rebel Colonel

- Posts: 574
- Joined: Mon Sep 24, 2012 6:44 pm
- Projects :: The Wrecked Graveyard_Amongst the Ruins
- xbox live or psn: xbla:Rehmfire49
- Location: Isla Nublar (Jurassic Park)
Re: how can i change the current stock side to a custom side
Ok now I get it, thanks man 
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: how can i change the current stock side to a custom side
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.
Visual Munge pulls what it needs from there while munging the custom side.
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.
- Cleb
- Lieutenant General

- Posts: 711
- Joined: Sun Jun 17, 2012 10:12 pm
- Projects :: Learning how to use 3DS Max
- xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
- Location: Somewhere
- Contact:
Re: how can i change the current stock side to a custom side
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 was somewhere in there...
Found it.
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
- Zapattack1234
- Rebel Colonel

- Posts: 574
- Joined: Mon Sep 24, 2012 6:44 pm
- Projects :: The Wrecked Graveyard_Amongst the Ruins
- xbox live or psn: xbla:Rehmfire49
- Location: Isla Nublar (Jurassic Park)
Re: how can i change the current stock side to a custom side
That might be my problem!
there is no common folder in my sides folder, only tur
Nm my unit still won't appear in-game
Nm my unit still won't appear in-game
