Can u still put dc: on the sides in the lua if their from stock sides?

Started by Delta327, October 24, 2015, 01:36:50 PM

Previous topic - Next topic
Im trying to add a weapon with the stock side and when I play test the game it crashes
PROJECTS:                                 
BF1:
Sector 3-4482-F
Solar System
BF2:
Shattered Galaxy
Project 171A


You have to put dc: in the lua for it to call your custom side instead of the stock side. If you put a weapon in and it crashes it means you likely typed something wrong in the odf or something.
=AaTc= Forever

SALLY....

-Retired Modder

DC:\ redirects the game to call from GameData\AddOn
by default it loads GameData\Data\LVL_PC

the first one is for ur custom maps folder, second is root/stock folder. you can store custom LVL in the root folder too, say you wanted to use custom IMP2.lvl in the SIDE folder, just call that in the mission like you would stock imp.lvl

this way you won't have to duplicate the side several times for the other mod maps. you can also have custom named folders like ZOM\

Check SPtest to make sure it's loading the units properly, this causes crash most often. LUA > REQ > ODF make sure all of these are perfect