[GT-B]Caleb1117's map help (updated)
Moderator: Moderators
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
- phazon_elite
- Rebel Colonel

- Posts: 597
- Joined: Tue Jan 16, 2007 9:10 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
- Contact:
You mean work for the whole game? Or just a map? If it's the entire game, follow MercuryNoodles' tutorial. If it's for a map, then it should be completely fine.
Note: Nevermind, I found a solution. Place the odf folder in the Common folder into the side folder. You'll have to do a lot of cut n' paste jobs.
ex: Place all of the text in the com_weap_inf_rifle between the last line under properties and before the sound section in the side's rifle odf:
so it would be placed at:
[Properties]
BLAHBLAH = "blah"
Blahblahmoo = "bla_blah_bla_blahblah_blah"
BLAHBLAH = "BLAHBLAH"
BLAHBLAH = "BLAHBLAH"
BL_BLAH = "BLAHBLAH"
HERE
******************************************************************************************************************* SOUND *************************************************
Note: Nevermind, I found a solution. Place the odf folder in the Common folder into the side folder. You'll have to do a lot of cut n' paste jobs.
ex: Place all of the text in the com_weap_inf_rifle between the last line under properties and before the sound section in the side's rifle odf:
so it would be placed at:
[Properties]
BLAHBLAH = "blah"
Blahblahmoo = "bla_blah_bla_blahblah_blah"
BLAHBLAH = "BLAHBLAH"
BLAHBLAH = "BLAHBLAH"
BL_BLAH = "BLAHBLAH"
HERE
******************************************************************************************************************* SOUND *************************************************
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Like I said in my other reply, the stock sides seem to override any changes to exising odfs. So, you can't test a side mod through a new map. You'll have to replace the stock files to see the result.Caleb1117 wrote:Hmmm that would be great if I could get my ODF changes to work...
If you just want modded sides for your own map, then it's best to recreate or rename odfs and make sure everything is being called correctly. For example, altering imp_weap_inf_rifle won't show the changes, but renaming the file to say mmm_weap_inf_rifle and calling for it in the stormtrooper odf will apply everything because there is no such file in the stock imp side to conflict with it.
As for the copy-paste idea. I actually didn't mention this because it involves more work, making sure the files are properly spliced, though it is easier for some of us this way.
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Although I didn't understand what else you said I follow'd the quoted part and I think it worked, I'm still testing it, so far the retiqle hasen't shown up but my sniper rifle is now 1 hit kill, so I think you may be on to something Phazon.phazon_elite wrote: If it's for a map, then it should be completely fine.
Note: Nevermind, I found a solution. Place the odf folder in the Common folder into the side folder. You'll have to do a lot of cut n' paste jobs.
Thanks!
but your not off the hook yet there will be more questions I assure you.
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Well turns out it didn't work, the sniper being one hit kill was because I had war hero.
oh well, maybe I'll foget my odf ideas.
ok two questions
1. would a side mod that gives snipers a reqticle interfear with MP?
2. If not then could someone who knows how to make side mods do this for me? As I can't seem to get odf changes to work.
3. I still can't get ground textures to work I have all the ones I need but when I increce the "rank" of one texture it takes over the map.
once I get a friend of mine to get on X-fire I'll send him the map, If any one else Is iterested I can X-fire you a copy its 97 MB though,
Someone once did a tut on how to make an auto-installer where is that? it would make the download way smaller.
oh well, maybe I'll foget my odf ideas.
ok two questions
1. would a side mod that gives snipers a reqticle interfear with MP?
2. If not then could someone who knows how to make side mods do this for me? As I can't seem to get odf changes to work.
3. I still can't get ground textures to work I have all the ones I need but when I increce the "rank" of one texture it takes over the map.
once I get a friend of mine to get on X-fire I'll send him the map, If any one else Is iterested I can X-fire you a copy its 97 MB though,
Someone once did a tut on how to make an auto-installer where is that? it would make the download way smaller.
- phazon_elite
- Rebel Colonel

- Posts: 597
- Joined: Tue Jan 16, 2007 9:10 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
- Contact:
Ok, that update the world .req button still didn't work for me, so I think it has something to do with my LUA. I'll look into it...
Anyway,
1. I'm not sure about it. Editing weapons, sounds, units, etc. will not work with MP. BUT, skins will....I checked
2. It's easy for me to do, but I'm working on some cool new sides which are about 1/3 done, so I can't
3. Why raise the rank? It's odd unless they are on the bottom, which they shouldn't be unless you have that many textures
Hope this helps
- EP-000782
Anyway,
1. I'm not sure about it. Editing weapons, sounds, units, etc. will not work with MP. BUT, skins will....I checked
2. It's easy for me to do, but I'm working on some cool new sides which are about 1/3 done, so I can't
3. Why raise the rank? It's odd unless they are on the bottom, which they shouldn't be unless you have that many textures
Hope this helps
- EP-000782
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
OK new questions
1 How do I get GCW mode back in? (see page 3)
2 Is it possable to add Hunt and XL modes? How?
3 I am makeing 2 copys of this map, one for those with the SWBFI conversion pack, and one for those without it, anyway for the SWBFI CP edition I added Rep commando to rep, Niomodian enginer to CIS, shaakti for rep hero, ventres padawan for CIS hero. The niomdian and commando work fine, but when the hero for eathier side becomes avalible I hit F1, select the hero, hit spawn, bam, crash. how do I fix that? (I have 1.8.1)
thats all for now! may put up pics later.
Thanks,
[GT-B]Caleb1117
1 How do I get GCW mode back in? (see page 3)
2 Is it possable to add Hunt and XL modes? How?
3 I am makeing 2 copys of this map, one for those with the SWBFI conversion pack, and one for those without it, anyway for the SWBFI CP edition I added Rep commando to rep, Niomodian enginer to CIS, shaakti for rep hero, ventres padawan for CIS hero. The niomdian and commando work fine, but when the hero for eathier side becomes avalible I hit F1, select the hero, hit spawn, bam, crash. how do I fix that? (I have 1.8.1)
thats all for now! may put up pics later.
Thanks,
[GT-B]Caleb1117
Last edited by Caleb1117 on Fri Feb 09, 2007 7:00 pm, edited 1 time in total.
- phazon_elite
- Rebel Colonel

- Posts: 597
- Joined: Tue Jan 16, 2007 9:10 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
- Contact:
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
- phazon_elite
- Rebel Colonel

- Posts: 597
- Joined: Tue Jan 16, 2007 9:10 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
- Contact:
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Yea the thing is the map did not have hunt or XL in the first place. (first munge)
I'd sorta like to add them, as atfirst I made this map to learn stuff so,
I gave it 2 basic modes conquest and elimination,
now that I know more about what i'm doing I want hunt and XL.
Besides I notaced that in the first munge (when you set 3 letter mod id) XL is not in the list of modes to suppy?
Also I for some stupid reason got rid of GCW conquest
(see page 3) and I want it back.
EDIT: thanks for reply, hmm lets see... Gaaaa! woah! I do not know enough about lua's to (take for example) alter the hoth hunt lua to fit my map. same for XL. Unless anyone knows someone decent with lua's thats willing to help then forget hunt and XL.
I'd sorta like to add them, as atfirst I made this map to learn stuff so,
I gave it 2 basic modes conquest and elimination,
now that I know more about what i'm doing I want hunt and XL.
Besides I notaced that in the first munge (when you set 3 letter mod id) XL is not in the list of modes to suppy?
Also I for some stupid reason got rid of GCW conquest
EDIT: thanks for reply, hmm lets see... Gaaaa! woah! I do not know enough about lua's to (take for example) alter the hoth hunt lua to fit my map. same for XL. Unless anyone knows someone decent with lua's thats willing to help then forget hunt and XL.
Last edited by Caleb1117 on Sat Feb 10, 2007 4:10 pm, edited 1 time in total.
- phazon_elite
- Rebel Colonel

- Posts: 597
- Joined: Tue Jan 16, 2007 9:10 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
- Contact:
Is the LUA in your recycle bin?
XL and Hunt were actually custom modes made for a few shipped maps during the development of SWBF2, so they weren't integrated into the VisualMunge in the data folder. Well, for almost every map, there's a ctf mode, right? So if it's on almost every single shipped map, then it would be common sense to have that mode created for VisualMunge.
- EP-000782
XL and Hunt were actually custom modes made for a few shipped maps during the development of SWBF2, so they weren't integrated into the VisualMunge in the data folder. Well, for almost every map, there's a ctf mode, right? So if it's on almost every single shipped map, then it would be common sense to have that mode created for VisualMunge.
- EP-000782
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
No, its not in recicle bin 
Edit: going to use this post to test X-fire profile thing...

Edit#2: yep it worked.
I swear I get nerdier every day.
Edit: going to use this post to test X-fire profile thing...

Edit#2: yep it worked.
Last edited by Caleb1117 on Sat Feb 10, 2007 6:22 pm, edited 2 times in total.
- phazon_elite
- Rebel Colonel

- Posts: 597
- Joined: Tue Jan 16, 2007 9:10 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
- Contact:
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
- phazon_elite
- Rebel Colonel

- Posts: 597
- Joined: Tue Jan 16, 2007 9:10 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
- Contact:
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
like so?
sorry for all the asking, just wish to be... Sure.
Code: Select all
--Search through the missionlist to find a map that matches mapName,
--then insert the new flags into said entry.
--Use this when you know the map already exists, but this content patch is just
--adding new gamemodes (otherwise you should just add whole new entries to the missionlist)
function AddNewGameModes(missionList, mapName, newFlags)
for i, mission in missionList do
if mission.mapluafile == mapName then
for flag, value in pairs(newFlags) do
mission[flag] = value
end
end
end
end
--insert totally new maps here:
local sp_n = 0
local mp_n = 0
sp_n = table.getn(sp_missionselect_listbox_contents)
sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "PM2%s_%s", era_g = 1, era_c = 1, mode_con_c = 1, mode_con_g = 1, mode_eli_g = 1,}
mp_n = table.getn(mp_missionselect_listbox_contents)
mp_missionselect_listbox_contents[mp_n+1] = sp_missionselect_listbox_contents[sp_n+1]
-- associate this mission name with the current downloadable content directory
-- (this tells the engine which maps are downloaded, so you need to include all new mission lua's here)
-- first arg: mapluafile from above
-- second arg: mission script name
-- third arg: level memory modifier. the arg to LuaScript.cpp: DEFAULT_MODEL_MEMORY_PLUS(x)
AddDownloadableContent("PM2","PM2g_con",4)
AddDownloadableContent("PM2","PM2c_con",6)
AddDownloadableContent("PM2","PM2g_eli",4)
-- all done
newEntry = nil
n = nil
-- Now load our core.lvl into the shell to add our localize keys
ReadDataFile("..\\..\\addon\\PM2\\data\\_LVL_PC\\core.lvl")






