ODF files
Moderator: Moderators
-
ninjor1
- Recruit Womprat Killer
- Posts: 13
- Joined: Sat Oct 18, 2008 5:03 am
ODF files
So I copied the ODF files from the Assets; the ones that are located in the Common folder. I then copied them into ABC\Sides\Common1. I then modified the com_rocket_launcher.odf file so that I had more ammo and the reload time only be 1 sec. I then munged the the map, and had the Sides be "Common1". But when I run the map, nothing is different. I still only have 7 rounds and the reload time is still 4 secs. What's wrong? How do I make my map use the ODF files that I want?
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: ODF files
Most likely something is wrong with how you are loading your custom side. Please post your Lua script. You did change that to load your side right? The Jedi Creation documentation talks about adding custom sides to your map.
-
ninjor1
- Recruit Womprat Killer
- Posts: 13
- Joined: Sat Oct 18, 2008 5:03 am
Re: ODF files
no i didn't modify my lua. here it is:
Hidden/Spoiler:
-
YaNkFaN
- Field Commander

- Posts: 943
- Joined: Sat Dec 13, 2008 8:17 am
Re: ODF files
do not copy the files into a different folder other than common.
copy the folder assets/sides/common to data_abc/sides/common then go to data_abc/build/sides/all and copy a clean.bat and munge.bat from there and paste it into data_abc/sides/common now you can edit any common file you want to and it will show up in game.
copy the folder assets/sides/common to data_abc/sides/common then go to data_abc/build/sides/all and copy a clean.bat and munge.bat from there and paste it into data_abc/sides/common now you can edit any common file you want to and it will show up in game.
-
ninjor1
- Recruit Womprat Killer
- Posts: 13
- Joined: Sat Oct 18, 2008 5:03 am
Re: ODF files
it's not working. I copied the files just as you said and it still doesn't work.
-
MileHighGuy
- Jedi

- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: ODF files
you didnt put in a dc: here> ReadDataFile("SIDE\\whateveryoursideis.lvl", make it this ("dc:SIDE\\whateveryoursideis.lvl", 
-
ninjor1
- Recruit Womprat Killer
- Posts: 13
- Joined: Sat Oct 18, 2008 5:03 am
Re: ODF files
ok. i'll try that.
so if the side I modified is called "Common1" then I would do "dc:SIDE\\Common1.lvl"?
so if the side I modified is called "Common1" then I would do "dc:SIDE\\Common1.lvl"?
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: ODF files
yes.ninjor1 wrote:ok. i'll try that.
so if the side I modified is called "Common1" then I would do "dc:SIDE\\Common1.lvl"?
-
ninjor1
- Recruit Womprat Killer
- Posts: 13
- Joined: Sat Oct 18, 2008 5:03 am
Re: ODF files
now when the game loads, it just crashes. Sigh, this is so annoying. I appreciate your help though. Without it, I'd be completely lost.
P.S if it helps any, I'm moddifying the com_weap_inf_rocket_launcher ODF. I'm just trying to make the reload time less (until I figure out how to get this to work).
P.S if it helps any, I'm moddifying the com_weap_inf_rocket_launcher ODF. I'm just trying to make the reload time less (until I figure out how to get this to work).
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
Re: ODF files
Don't place the dc: in front of Common1.lvl. I'm not even sure where you came up with Common1. Common is the name of the folder that holds parent ODFs with properties consistent with all sides of the game.
Whatever reference you made to Common1, change it back to what it was before. Place the dc: in front of SIDE\\all.lvl and SIDE\\imp.lvl.
So its
dc:SIDE\\all.lvl
and
dc:SIDE\\imp.lvl
That enables the game to recognize any changes that were made to that side (including changes that applied to them from parent ODFs in the Common side). The Common side doesn't need to be modified in the LUA or even the Common.lvl mentioned.
Whatever reference you made to Common1, change it back to what it was before. Place the dc: in front of SIDE\\all.lvl and SIDE\\imp.lvl.
So its
dc:SIDE\\all.lvl
and
dc:SIDE\\imp.lvl
That enables the game to recognize any changes that were made to that side (including changes that applied to them from parent ODFs in the Common side). The Common side doesn't need to be modified in the LUA or even the Common.lvl mentioned.
-
ninjor1
- Recruit Womprat Killer
- Posts: 13
- Joined: Sat Oct 18, 2008 5:03 am
Re: ODF files
thanks a whole lot! It works! Thanks to everyone for their help. It was very much appreciated. 
