Custom sides in map
Moderator: Moderators
-
Master Fionwë
- Rebel Colonel

- Posts: 598
- Joined: Wed May 30, 2007 3:33 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: At RCTC
- Contact:
Custom sides in map
The title kinda says it. How do I add a side to a map? I know that I need to put dc in front of the rep.lvl in the scripts, but it doesn't work.
-
-_-
- Gametoast Staff

- Posts: 2678
- Joined: Sat May 07, 2005 1:22 pm
RE: Custom sides in map
Jedi Creation. doc
-
The_Emperor
- Supreme Galactic Ruler
- Posts: 2118
- Joined: Sat Dec 10, 2005 6:30 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Waaaaay over there.
RE: Custom sides in map
What exactly did you do? There could be many things you forgot...
Check out the modtool docs -> costum jedi creation, and scroll down to 6 – Final Notes
Check out the modtool docs -> costum jedi creation, and scroll down to 6 – Final Notes
-
Master Fionwë
- Rebel Colonel

- Posts: 598
- Joined: Wed May 30, 2007 3:33 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: At RCTC
- Contact:
RE: Custom sides in map
Okay, thanks. Doing so now.
Edit: Something that I've never really thought about until now. When you munge and create a world, there are multiple scripts in the script folder. Like, for example, I have VATc_con, and then there's a VATc_con.lua.bak. What is that? The .bak file, and could that be keeping a side from showing up in the map, an edited side?
Edit: Something that I've never really thought about until now. When you munge and create a world, there are multiple scripts in the script folder. Like, for example, I have VATc_con, and then there's a VATc_con.lua.bak. What is that? The .bak file, and could that be keeping a side from showing up in the map, an edited side?
- Challenger33
- Lieutenant General

- Posts: 726
- Joined: Wed Aug 23, 2006 3:44 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a legion of papercraft models.
- Contact:
Re: Custom sides in map
Just a side note-you probably did do this, but it needs to be dc: in the lua before the line SIDE=rep.lvl (it's something similar to that).Master Fionwë wrote:The title kinda says it. How do I add a side to a map? I know that I need to put dc in front of the rep.lvl in the scripts, but it doesn't work.
-:royal:
EDIT: I am quite sure that the BAK files are merely backup files-in case you edit something accidentally in the real LUA, you can just look at the BAK file to fix it. So I don't think that editing the BAK files can cause any errors. I hope this helped.
-:royal:
- Snork
- Lieutenant General

- Posts: 669
- Joined: Thu Jun 07, 2007 3:34 pm
- xbox live or psn: No gamertag set
- Contact:
RE: Re: Custom sides in map
.bak files are backup LUAs. Say you totally screw your LUA up. Erase everything in the LUA file. Just open the corresponing .bak with notepad and copy it into your empty LUA. It usually solves all side glitches.What is that? The .bak file, and could that be keeping a side from showing up in the map, an edited side?
-
Master Fionwë
- Rebel Colonel

- Posts: 598
- Joined: Wed May 30, 2007 3:33 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: At RCTC
- Contact:
RE: Re: Custom sides in map
Ah, I see. Well then, I've done the dc thing before, but it doesn't work, so I'll try it again. If it doesn't work this time, I'll post the script.
- Snork
- Lieutenant General

- Posts: 669
- Joined: Thu Jun 07, 2007 3:34 pm
- xbox live or psn: No gamertag set
- Contact:
RE: Re: Custom sides in map
Just post the script right now. might as well.
Me and my "Associates" will fix that Lua buddy of yours up reeaal nice...
Hehhe....
Me and my "Associates" will fix that Lua buddy of yours up reeaal nice...
Hehhe....
- Challenger33
- Lieutenant General

- Posts: 726
- Joined: Wed Aug 23, 2006 3:44 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a legion of papercraft models.
- Contact:
-
Master Fionwë
- Rebel Colonel

- Posts: 598
- Joined: Wed May 30, 2007 3:33 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: At RCTC
- Contact:
-
battlwfrontfreak
-
VF501
- Lieutenant Colonel

- Posts: 539
- Joined: Fri Jun 08, 2007 1:18 am
- Projects :: Various Stuff- Weapon models. UDK Stuff
- xbox live or psn: Vintage Tagious
- Location: Terra Firma, Sol System; Milky Way
You could do that but you invite a whole host of problems.
1. Game crash because unit ODF names do not match those that the Shipped misson.lvl calls for.
2. Game Crash because the custom side lacks things that certain maps need, ie, vehicles, or specific units.
3. If you have custom weapon odfs with custom names a 0x appears because those names are not localized in the common.lvl that comes with the game.
4. Calling custom sides for a custom map via dc: allows for more game variety. Not just the same sides for every map.
5. If you have a custom map added that uses (and calls) custom sides and pull the sides for global use with out replacing them, the game will crash because it can't find the specified sides.
So unless a side is intentionally created to be used globally, that method of putting it in Data/_LVL_PC/SIDE is too hit or miss.
1. Game crash because unit ODF names do not match those that the Shipped misson.lvl calls for.
2. Game Crash because the custom side lacks things that certain maps need, ie, vehicles, or specific units.
3. If you have custom weapon odfs with custom names a 0x appears because those names are not localized in the common.lvl that comes with the game.
4. Calling custom sides for a custom map via dc: allows for more game variety. Not just the same sides for every map.
5. If you have a custom map added that uses (and calls) custom sides and pull the sides for global use with out replacing them, the game will crash because it can't find the specified sides.
So unless a side is intentionally created to be used globally, that method of putting it in Data/_LVL_PC/SIDE is too hit or miss.
-
battlwfrontfreak
-
VF501
- Lieutenant Colonel

- Posts: 539
- Joined: Fri Jun 08, 2007 1:18 am
- Projects :: Various Stuff- Weapon models. UDK Stuff
- xbox live or psn: Vintage Tagious
- Location: Terra Firma, Sol System; Milky Way
