Problem with adding replacement .lvls
Moderator: Moderators
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Problem with adding replacement .lvls
Well, I'm positive i've set it up right, sides and all. The problem i have is when i move my file, say imp.lvl for example, to the side folder. In game the dark trooper isn't selectable, but my storm commando isn't either, just an empty space. What have i done wrong?
-
Jetsi
-
Jetsi
Astute,
I don't mean to hijack your thread, but it seems we are having the same problem.
Here is what I get from sptest:
Message Severity: 2
.\source\Team.cpp(531)
Team missing class "imp_inf_pilotatst" (check the side's .req file)
Message Severity: 2
.\source\Team.cpp(531)
Team missing class "ewk_inf" (check the side's .req file)
Now I have found the ewk.req file in my sides folder, but I haven't found the all.req or imp.req. I was under the impression that it wasn't necessary to add the all and imp to the sides folder because it would be a duplication and increase the munged folder size. Is the fix as simple as adding the appropriate sides folder?
Jetsi
I don't mean to hijack your thread, but it seems we are having the same problem.
Here is what I get from sptest:
Message Severity: 2
.\source\Team.cpp(531)
Team missing class "imp_inf_pilotatst" (check the side's .req file)
Message Severity: 2
.\source\Team.cpp(531)
Team missing class "ewk_inf" (check the side's .req file)
Now I have found the ewk.req file in my sides folder, but I haven't found the all.req or imp.req. I was under the impression that it wasn't necessary to add the all and imp to the sides folder because it would be a duplication and increase the munged folder size. Is the fix as simple as adding the appropriate sides folder?
Jetsi
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
-_-
- Gametoast Staff

- Posts: 2678
- Joined: Sat May 07, 2005 1:22 pm
-
Jetsi
OK, I'm starting to get frustrated.
Astute, sorry to hijack your thread, but I don't think we need two of these threads runnin around. Hopefully if I get an answer you can also.
So, here is my GCW .lua file (some extraneous sound stuff removed):
--start header
function ScriptInit()
local ALL = 1
local IMP = 2
local ATT = 1
local DEF = 2
--end header
--start objectives
AddMissionObjective(IMP,"red", "level.ENDATB.objectives.1");
AddMissionObjective(IMP,"orange", "level.ENDATB.objectives.2");
AddMissionObjective(IMP,"orange", "level.ENDATB.objectives.3");
AddMissionObjective(ALL,"red", "level.ENDATB.objectives.1");
AddMissionObjective(ALL,"orange", "level.ENDATB.objectives.2");
AddMissionObjective(ALL,"orange","level.ENDATB.objectives.3");
--end objectives
--start soundlvl
ReadDataFile("sound\\end.lvl;end1gcw");
--end soundlvl
-- Start sidelvls
ReadDataFile("SIDE\\all.lvl",
"all_inf_basicjungle",
"all_inf_smuggler"),
"all_hover_combatspeeder",;
ReadDataFile("SIDE\\imp.lvl",
"imp_inf_basic_tie",
"imp_inf_dark_trooper",
"imp_inf_pilotatst",
"imp_walk_atst_jungle",
"imp_hover_speederbike");
ReadDataFile("SIDE\\ewk.lvl",
"all_end_music",
"ewk_inf",
"ewk_inf_basic");
--end sidelvls
--start loadouts
SetTeamName(ALL, "Alliance")
SetTeamIcon(ALL, "all_icon")
AddUnitClass(ALL, "all_inf_soldierjungle",11)
AddUnitClass(ALL, "all_inf_vanguardjungle",3)
AddUnitClass(ALL, "all_inf_pilot",4)
AddUnitClass(ALL, "all_inf_marksmanjungle",4)
AddUnitClass(ALL, "all_inf_smuggler",3)
--SetHeroClass(ALL, "all_inf_lukeskywalker")
SetTeamName(IMP, "Empire")
SetTeamIcon(IMP, "imp_icon")
AddUnitClass(IMP, "imp_inf_storm_trooper",11)
AddUnitClass(IMP, "imp_inf_shock_trooper",3)
AddUnitClass(IMP, "imp_inf_pilotatst",4)
AddUnitClass(IMP, "imp_inf_scout_trooper",4)
AddUnitClass(IMP, "imp_inf_dark_trooper",3)
--SetHeroClass(IMP, "imp_inf_darthvader")
--Local Stats
SetTeamName (3, "locals")
AddUnitClass (3, "ewk_inf", 15);
AddUnitClass (3, "ewk_inf_repair", 25);
AddUnitClass (3, "ewk_inf_scout", 25);
AddUnitClass (3, "ewk_inf_trooper", 25);
SetTeamAsEnemy(3,ATT)
SetTeamAsEnemy(3,DEF)
--end loadouts
--start teamstats
SetUnitCount(ATT, 25)
SetReinforcementCount(ATT, 200)
SetUnitCount(DEF, 25)
SetReinforcementCount(DEF, 200)
SetUnitCount (3, 75)
SetReinforcementCount(3, 400)
--end teamstats
--start alliances
SetTeamAsFriend(ATT, 1)
SetTeamAsEnemy(ATT, 2)
SetTeamAsEnemy(ATT, 3)
SetTeamAsFriend(DEF, 2)
SetTeamAsEnemy(DEF, 1)
SetTeamAsEnemy(DEF, 3)
SetAttackingTeam(ATT)
SetTeamAsEnemy(3,ATT)
SetTeamAsEnemy(3,DEF);
--end alliances
--start memorypools
ClearWalkers()
AddWalkerType(0, 0)-- special -> droidekas
AddWalkerType(1, 2)-- 1x2 (1 pair of legs)
AddWalkerType(2, 0)-- 2x2 (2 pairs of legs)
AddWalkerType(3, 0)-- 3x2 (3 pairs of legs)
SetMemoryPoolSize("EntityHover", 20)
SetMemoryPoolSize("PowerupItem", 60)
SetMemoryPoolSize("EntityMine", 40)
SetMemoryPoolSize ("MountedTurret",20)
SetMemoryPoolSize ("EntityDroid",10)
--end memorypools
--start worldlvl
ReadDataFile("dc:ENDATB\\ENDATB.lvl")
--end worldlvl
--start spawndelay
SetSpawnDelay(10.0, 0.25)
--end spawndelay
--start flyheight
--end flyheight
--start ainotify
--end ainotify
--start stayinturrets
--end stayinturrets
--start denseenvironment
SetDenseEnvironment("false")
--end denseenvironment
--start birdsandfish
--end birdsandfish
--start deathregions
--end deathregions
And here is my imp.req file:
ucft
{
REQN
{
"lvl"
"imp_fly_destroyer_dome"
"imp_fly_tiebomber"
"imp_fly_tiefighter"
"imp_fly_trooptrans"
"imp_hover_fightertank"
"imp_hover_speederbike"
"imp_inf_basic"
"imp_inf_basicsnow"
"imp_inf_basic_tie"
"imp_inf_dark_trooper"
"imp_inf_dark_troopersnow"
"imp_inf_pilot_atst"
"imp_walk_atat"
"imp_walk_atst"
"imp_walk_atst_jungle"
"imp_walk_atst_snow"
"imp_droid_probe"
}
}
So, I mislabelled in my first post. I only show 4 classes on the Imperial side, and the choice for pilot is missing. I see where others can get 6 or more choices (whether they play or not is a different story), but I can only get 4. I have also tried putting in the Tie pilot and the ATAT pilot, but they still don't show. So I believe the problem is somewhere else. Any help would be greatly appreciated.
Jetsi
Astute, sorry to hijack your thread, but I don't think we need two of these threads runnin around. Hopefully if I get an answer you can also.
So, here is my GCW .lua file (some extraneous sound stuff removed):
--start header
function ScriptInit()
local ALL = 1
local IMP = 2
local ATT = 1
local DEF = 2
--end header
--start objectives
AddMissionObjective(IMP,"red", "level.ENDATB.objectives.1");
AddMissionObjective(IMP,"orange", "level.ENDATB.objectives.2");
AddMissionObjective(IMP,"orange", "level.ENDATB.objectives.3");
AddMissionObjective(ALL,"red", "level.ENDATB.objectives.1");
AddMissionObjective(ALL,"orange", "level.ENDATB.objectives.2");
AddMissionObjective(ALL,"orange","level.ENDATB.objectives.3");
--end objectives
--start soundlvl
ReadDataFile("sound\\end.lvl;end1gcw");
--end soundlvl
-- Start sidelvls
ReadDataFile("SIDE\\all.lvl",
"all_inf_basicjungle",
"all_inf_smuggler"),
"all_hover_combatspeeder",;
ReadDataFile("SIDE\\imp.lvl",
"imp_inf_basic_tie",
"imp_inf_dark_trooper",
"imp_inf_pilotatst",
"imp_walk_atst_jungle",
"imp_hover_speederbike");
ReadDataFile("SIDE\\ewk.lvl",
"all_end_music",
"ewk_inf",
"ewk_inf_basic");
--end sidelvls
--start loadouts
SetTeamName(ALL, "Alliance")
SetTeamIcon(ALL, "all_icon")
AddUnitClass(ALL, "all_inf_soldierjungle",11)
AddUnitClass(ALL, "all_inf_vanguardjungle",3)
AddUnitClass(ALL, "all_inf_pilot",4)
AddUnitClass(ALL, "all_inf_marksmanjungle",4)
AddUnitClass(ALL, "all_inf_smuggler",3)
--SetHeroClass(ALL, "all_inf_lukeskywalker")
SetTeamName(IMP, "Empire")
SetTeamIcon(IMP, "imp_icon")
AddUnitClass(IMP, "imp_inf_storm_trooper",11)
AddUnitClass(IMP, "imp_inf_shock_trooper",3)
AddUnitClass(IMP, "imp_inf_pilotatst",4)
AddUnitClass(IMP, "imp_inf_scout_trooper",4)
AddUnitClass(IMP, "imp_inf_dark_trooper",3)
--SetHeroClass(IMP, "imp_inf_darthvader")
--Local Stats
SetTeamName (3, "locals")
AddUnitClass (3, "ewk_inf", 15);
AddUnitClass (3, "ewk_inf_repair", 25);
AddUnitClass (3, "ewk_inf_scout", 25);
AddUnitClass (3, "ewk_inf_trooper", 25);
SetTeamAsEnemy(3,ATT)
SetTeamAsEnemy(3,DEF)
--end loadouts
--start teamstats
SetUnitCount(ATT, 25)
SetReinforcementCount(ATT, 200)
SetUnitCount(DEF, 25)
SetReinforcementCount(DEF, 200)
SetUnitCount (3, 75)
SetReinforcementCount(3, 400)
--end teamstats
--start alliances
SetTeamAsFriend(ATT, 1)
SetTeamAsEnemy(ATT, 2)
SetTeamAsEnemy(ATT, 3)
SetTeamAsFriend(DEF, 2)
SetTeamAsEnemy(DEF, 1)
SetTeamAsEnemy(DEF, 3)
SetAttackingTeam(ATT)
SetTeamAsEnemy(3,ATT)
SetTeamAsEnemy(3,DEF);
--end alliances
--start memorypools
ClearWalkers()
AddWalkerType(0, 0)-- special -> droidekas
AddWalkerType(1, 2)-- 1x2 (1 pair of legs)
AddWalkerType(2, 0)-- 2x2 (2 pairs of legs)
AddWalkerType(3, 0)-- 3x2 (3 pairs of legs)
SetMemoryPoolSize("EntityHover", 20)
SetMemoryPoolSize("PowerupItem", 60)
SetMemoryPoolSize("EntityMine", 40)
SetMemoryPoolSize ("MountedTurret",20)
SetMemoryPoolSize ("EntityDroid",10)
--end memorypools
--start worldlvl
ReadDataFile("dc:ENDATB\\ENDATB.lvl")
--end worldlvl
--start spawndelay
SetSpawnDelay(10.0, 0.25)
--end spawndelay
--start flyheight
--end flyheight
--start ainotify
--end ainotify
--start stayinturrets
--end stayinturrets
--start denseenvironment
SetDenseEnvironment("false")
--end denseenvironment
--start birdsandfish
--end birdsandfish
--start deathregions
--end deathregions
And here is my imp.req file:
ucft
{
REQN
{
"lvl"
"imp_fly_destroyer_dome"
"imp_fly_tiebomber"
"imp_fly_tiefighter"
"imp_fly_trooptrans"
"imp_hover_fightertank"
"imp_hover_speederbike"
"imp_inf_basic"
"imp_inf_basicsnow"
"imp_inf_basic_tie"
"imp_inf_dark_trooper"
"imp_inf_dark_troopersnow"
"imp_inf_pilot_atst"
"imp_walk_atat"
"imp_walk_atst"
"imp_walk_atst_jungle"
"imp_walk_atst_snow"
"imp_droid_probe"
}
}
So, I mislabelled in my first post. I only show 4 classes on the Imperial side, and the choice for pilot is missing. I see where others can get 6 or more choices (whether they play or not is a different story), but I can only get 4. I have also tried putting in the Tie pilot and the ATAT pilot, but they still don't show. So I believe the problem is somewhere else. Any help would be greatly appreciated.
Jetsi
-
Leviathan
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Jetsi
You beat me to it
Did a search of all .req files, and found a bunch.
Realized that in the .lua it was not adding individual classes, but that was a batch add to the classes. So I have already made the change there, but still nothing. Just a choice of 4 classes.
GRRRRRRRRRRRRRRRRRRRR
Jetsi
Realized that in the .lua it was not adding individual classes, but that was a batch add to the classes. So I have already made the change there, but still nothing. Just a choice of 4 classes.
GRRRRRRRRRRRRRRRRRRRR
Jetsi
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: You beat me to it
Ok, nothing is working, i still end up with no dark trooper/storm commando, just an empty slot. Here are my files.
LUA>
ReadDataFile("dc:SIDE\\imp.lvl",
"imp_inf_basic_tie",
"imp_inf_storm_commando",
"imp_inf_darthvader");
-- Imperial Stats
SetTeamName(IMP, "Empire")
SetTeamIcon(IMP, "imp_icon")
AddUnitClass(IMP, "imp_inf_storm_trooper",10)
AddUnitClass(IMP, "imp_inf_shock_trooper",1)
AddUnitClass(IMP, "imp_inf_pilottie",2)
AddUnitClass(IMP, "imp_inf_scout_trooper",2)
AddUnitClass(IMP, "imp_inf_storm_commando",1)
SetHeroClass(IMP, "imp_inf_darthvader")
REQS>
ucft
{
REQN
{
"lvl"
"imp_fly_destroyer_dome"
"imp_fly_tiebomber"
"imp_fly_tiefighter"
"imp_fly_trooptrans"
"imp_hover_fightertank"
"imp_hover_speederbike"
"imp_inf_basic"
"imp_inf_basicsnow"
"imp_inf_basic_tie"
"imp_inf_storm_commando"
"imp_inf_darthvader"
"imp_walk_atat"
"imp_walk_atst"
"imp_walk_atst_jungle"
"imp_walk_atst_snow"
"imp_droid_probe"
}
}
>>EDIT:My bfront.log is in a previous post above.
This works on my modded maps, but when the new imp.lvl file is added it just doesn't work.
LUA>
ReadDataFile("dc:SIDE\\imp.lvl",
"imp_inf_basic_tie",
"imp_inf_storm_commando",
"imp_inf_darthvader");
-- Imperial Stats
SetTeamName(IMP, "Empire")
SetTeamIcon(IMP, "imp_icon")
AddUnitClass(IMP, "imp_inf_storm_trooper",10)
AddUnitClass(IMP, "imp_inf_shock_trooper",1)
AddUnitClass(IMP, "imp_inf_pilottie",2)
AddUnitClass(IMP, "imp_inf_scout_trooper",2)
AddUnitClass(IMP, "imp_inf_storm_commando",1)
SetHeroClass(IMP, "imp_inf_darthvader")
REQS>
ucft
{
REQN
{
"lvl"
"imp_fly_destroyer_dome"
"imp_fly_tiebomber"
"imp_fly_tiefighter"
"imp_fly_trooptrans"
"imp_hover_fightertank"
"imp_hover_speederbike"
"imp_inf_basic"
"imp_inf_basicsnow"
"imp_inf_basic_tie"
"imp_inf_storm_commando"
"imp_inf_darthvader"
"imp_walk_atat"
"imp_walk_atst"
"imp_walk_atst_jungle"
"imp_walk_atst_snow"
"imp_droid_probe"
}
}
>>EDIT:My bfront.log is in a previous post above.
This works on my modded maps, but when the new imp.lvl file is added it just doesn't work.
Last edited by Astute on Sat Nov 19, 2005 3:36 pm, edited 1 time in total.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
RE: You beat me to it
Anything from BFront.log?
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: You beat me to it
Ack, I've tried everything i can think of. Renaming, Rearranging, even trying to pass the storm commando off as a dark trooper, nothing is working 
-
Delta_57_Dash
- Jedi

- Posts: 1187
- Joined: Fri Jun 10, 2005 2:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: You beat me to it
is this replacing the original sides for all levels? or just one map?
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: You beat me to it
this is a replacement for all levels
-
sef0907
RE: You beat me to it
Maybe you are doing too much? Weird, nothing seems wrong in your log.
-
Leviathan
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: You beat me to it
Astute, could you sum up what you'd like to do, please ? (I might have an idea to make this project working...)
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: You beat me to it
for now, i would just like my storm commando in place of the dark trooper on all shipped levels.
EDIT: The REQ name is imp_inf_storm_commando
EDIT: The REQ name is imp_inf_storm_commando
Last edited by Astute on Sat Nov 26, 2005 1:52 pm, edited 1 time in total.
-
Leviathan
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: You beat me to it
What's the name of your Storm Commando's *.REQ file ? 
-
-_-
- Gametoast Staff

- Posts: 2678
- Joined: Sat May 07, 2005 1:22 pm
