gamorreans! [solved]
Moderator: Moderators
-
BountyHunterV
gamorreans! [solved]
so i'm trying to add gamorreans to my map as locals...when i type it into the LUA, its all fine and dandy...they show up in the map, they attack, everything's perfect
ok so now i'm trying to edit the gamorreans, so i want to include them in my side...and when i do that there is no Munging error or anything, they just don't appear in game. at all.
here is my LUA thingy (actually its only the part that i edited):
function ScriptInit()
ReadDataFile("ingame.lvl")
SetMaxFlyHeight(30)
SetMaxPlayerFlyHeight (30)
SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")
ReadDataFile("dc:SIDE\\bmt.lvl",
"bmt_testsoldier",
"gam_inf_gamorreanguard")
ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")
SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "bmt_testsoldier",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},
},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}
SetTeamName (3,"piggies")
AddUnitClass (3, "gam_inf_gamorreanguard", 10,15)
SetUnitCount (3, 15)
AddAIGoal(3, "Deathmatch", 100)
SetTeamAsEnemy(ATT,3)
SetTeamAsEnemy(3,ATT)
SetTeamAsEnemy(DEF,3)
SetTeamAsEnemy(3,DEF)
SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_anakin")
i'm pretty sure i included all the necessary .odfs and .mshs in my side (there aren't very many), so i really don't know what's wrong...i probably just made some stupid mistake, but plz help
ok so now i'm trying to edit the gamorreans, so i want to include them in my side...and when i do that there is no Munging error or anything, they just don't appear in game. at all.
here is my LUA thingy (actually its only the part that i edited):
function ScriptInit()
ReadDataFile("ingame.lvl")
SetMaxFlyHeight(30)
SetMaxPlayerFlyHeight (30)
SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")
ReadDataFile("dc:SIDE\\bmt.lvl",
"bmt_testsoldier",
"gam_inf_gamorreanguard")
ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")
SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "bmt_testsoldier",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},
},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}
SetTeamName (3,"piggies")
AddUnitClass (3, "gam_inf_gamorreanguard", 10,15)
SetUnitCount (3, 15)
AddAIGoal(3, "Deathmatch", 100)
SetTeamAsEnemy(ATT,3)
SetTeamAsEnemy(3,ATT)
SetTeamAsEnemy(DEF,3)
SetTeamAsEnemy(3,DEF)
SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_anakin")
i'm pretty sure i included all the necessary .odfs and .mshs in my side (there aren't very many), so i really don't know what's wrong...i probably just made some stupid mistake, but plz help
-
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: gamorreans!
Set that to 15, not ten. I had the same issue once, and that fixed it. You only need the one number, not the two.AddUnitClass (3, "gam_inf_gamorreanguard", 10,15)
SetUnitCount (3, 15)
-
BountyHunterV
Re: gamorreans!
thanks for the tip, but unfortunately that didn't work...the gamorreans still don't appear
SetTeamName (3,"piggies")
AddUnitClass (3, "gam_inf_gamorreanguard", 15)
SetUnitCount (3, 15)
this is what i changed it to...i just deleted the "10," but no good
anybody else know what the problem is? (thanks in advance)
SetTeamName (3,"piggies")
AddUnitClass (3, "gam_inf_gamorreanguard", 15)
SetUnitCount (3, 15)
this is what i changed it to...i just deleted the "10," but no good
anybody else know what the problem is? (thanks in advance)
-
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 ಠ_ಠ
Re: gamorreans!
And thats whats crashing it.
Because you deleted the ten.
You must have a lower number for it to refrence.
In this case, any number less then 15.
Because you deleted the ten.
You must have a lower number for it to refrence.
In this case, any number less then 15.
SetTeamName (3, "hidden")
AddUnitClass (3, "man_inf_mand1", 1,2)
AddUnitClass (3, "man_inf_mand2", 1,2)
AddUnitClass (3, "man_duros_noob", 1,2)
AddUnitClass (3, "man_inf_mand3", 1,2)
SetUnitCount (3, 9)
AddAIGoal(3, "Deathmatch", 100)
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: gamorreans!
Check for your BMT side in the sides directory the addon folder for your map make sure it is there. If you put and unmodified gamorrean in you side folder then clean and remunge the side does it work then?
-
BountyHunterV
Re: gamorreans!
i know my sides directory is there because i have another unit from my sides that works fine...
the gamorrean is unmodified, and i've already cleaned and remunged...i will try again but i doubt it will make a difference
the gamorrean is unmodified, and i've already cleaned and remunged...i will try again but i doubt it will make a difference
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: gamorreans!
I was asking if it was unmodified because of this:

When they did work were they called from bmt side? Did you add gam_inf_gamorreanguard to your sides .req folder? I've missed that one beforeso i'm trying to add gamorreans to my map as locals...when i type it into the LUA, its all fine and dandy...they show up in the map, they attack, everything's perfect
ok so now i'm trying to edit the gamorreans, so i want to include them in my side...and when i do that there is no Munging error or anything, they just don't appear in game. at all.
-
BountyHunterV
Re: gamorreans!
thanks very much FragMe, i completely, totally, and utterly forgot about the REQ 
UNFORTUNATELY, the gamorreans still don't work...lol
when i cleaned and remunged, however, i did get some unhelpful warning messages that might be helpful to other people:
WARNING[PC_modelmunge msh\gam_inf_gamorreanguard.msh]:SplitSkinnedSegments: WARNING: out of space in splitting catalog!
WARNING[PC_modelmunge msh\gam_inf_gamorreanguard.msh]:SplitSkinnedSegments: WARNING: out of space in splitting catalog!
WARNING[PC_modelmunge msh\gam_inf_gamorreanguard.msh]:SplitSkinnedSegments: WARNING: resorting to brute force, this may take a while...
WARNING[PC_modelmunge msh\gam_inf_gamorreanguard.msh]:gam_inf_gamorreanguard has 1731 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
0 Errors 4 Warnings
does anybody know what these things mean? if not, should i try a manual clean?
UNFORTUNATELY, the gamorreans still don't work...lol
when i cleaned and remunged, however, i did get some unhelpful warning messages that might be helpful to other people:
WARNING[PC_modelmunge msh\gam_inf_gamorreanguard.msh]:SplitSkinnedSegments: WARNING: out of space in splitting catalog!
WARNING[PC_modelmunge msh\gam_inf_gamorreanguard.msh]:SplitSkinnedSegments: WARNING: out of space in splitting catalog!
WARNING[PC_modelmunge msh\gam_inf_gamorreanguard.msh]:SplitSkinnedSegments: WARNING: resorting to brute force, this may take a while...
WARNING[PC_modelmunge msh\gam_inf_gamorreanguard.msh]:gam_inf_gamorreanguard has 1731 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
0 Errors 4 Warnings
does anybody know what these things mean? if not, should i try a manual clean?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: gamorreans!
You can ignore those warnings; in fact, almost any munging warnings (not errors) can be ignored.
-
BountyHunterV
Re: gamorreans!
okay...then what am i doing wrong
-
GolfBulb
Re: gamorreans!
would the BF2_log help any? it usualy helps with some things
-
BountyHunterV
Re: gamorreans!
nvrm guys, i figured it out (thank god)...i rememberd the gamorreans individual REQ file, but i forgot to put "gam_inf_gamorreanguard" in the sides REQ file
thanks for the help anyways
thanks for the help anyways
