SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: Delta327 on October 24, 2015, 01:36:50 PM

Title: Can u still put dc: on the sides in the lua if their from stock sides?
Post by: Delta327 on October 24, 2015, 01:36:50 PM
Im trying to add a weapon with the stock side and when I play test the game it crashes
Title: Re: Can u still put dc: on the sides in the lua if their from stock sides?
Post by: Led on October 24, 2015, 02:40:25 PM
No.

DC: is only for Downloadable Content
Title: Re: Can u still put dc: on the sides in the lua if their from stock sides?
Post by: Snake on October 24, 2015, 04:53:26 PM
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.
Title: Re: Can u still put dc: on the sides in the lua if their from stock sides?
Post by: Phobos on October 24, 2015, 09:37:15 PM
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
EhPortal 1.34 © 2024, WebDev