This is what the beginning of my missions lua file looks like, reading the comments you can see where I added the data.
--start header
function ScriptInit()
local ALL = 1
local IMP = 2
local ATT = 1
local DEF = 2
--end header
--start objectives
AddMissionObjective(IMP,"red", "level.HERE.objectives.1");
AddMissionObjective(IMP,"orange", "level.HERE.objectives.2");
AddMissionObjective(IMP,"orange", "level.HERE.objectives.3");
AddMissionObjective(ALL,"red", "level.HERE.objectives.1");
AddMissionObjective(ALL,"orange", "level.HERE.objectives.2");
AddMissionObjective(ALL,"orange","level.HERE.objectives.3");
--end objectives
--start soundlvl
ReadDataFile("sound\\geo.lvl;geo1cw"), -- added here by suggestion of SWBFgamersdotcom
ReadDataFile("sound\\tat.lvl;tat1gcw");
--end soundlvl
-- Start sidelvls
ReadDataFile("sound\\geo.lvl;geo1cw"), -- added here by suggestion of SWBFgamersdotcom
ReadDataFile("SIDE\\all.lvl",
"all_inf_basicdesert",
"all_hover_combatspeeder", -- added here
"all_inf_lukeskywalker",
"all_inf_smuggler");
ReadDataFile("sound\\geo.lvl;geo1cw") -- added here by suggestion of SWBFgamersdotcom
ReadDataFile("SIDE\\imp.lvl",
"imp_inf_basic_tie",
"imp_walk_atat", -- added here
"imp_inf_darthvader",
"imp_inf_dark_trooper");
--end sidelvls
When I munge however I get an error (because I don't know how to add spoilers I'll type it):
**********
Debug Assertion Failed!
Program: ...FBuilder\DataHERE\_BUILD_PC\..\..\ToolsFL\Bin\ScriptMunge.exe
File: c:\src\frontline\toolsfl\scriptmunge\source\scriptmunge.cpp
Line:191
Expression: ErrorCode == 0
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
**********
The munging process however continues and the map and everything loads fine, but I still can't get the gun sound effect when I fire. Did I do something wrong?
--start header
function ScriptInit()
local ALL = 1
local IMP = 2
local ATT = 1
local DEF = 2
--end header
--start objectives
AddMissionObjective(IMP,"red", "level.HERE.objectives.1");
AddMissionObjective(IMP,"orange", "level.HERE.objectives.2");
AddMissionObjective(IMP,"orange", "level.HERE.objectives.3");
AddMissionObjective(ALL,"red", "level.HERE.objectives.1");
AddMissionObjective(ALL,"orange", "level.HERE.objectives.2");
AddMissionObjective(ALL,"orange","level.HERE.objectives.3");
--end objectives
--start soundlvl
ReadDataFile("sound\\geo.lvl;geo1cw"), -- added here by suggestion of SWBFgamersdotcom
ReadDataFile("sound\\tat.lvl;tat1gcw");
--end soundlvl
-- Start sidelvls
ReadDataFile("sound\\geo.lvl;geo1cw"), -- added here by suggestion of SWBFgamersdotcom
ReadDataFile("SIDE\\all.lvl",
"all_inf_basicdesert",
"all_hover_combatspeeder", -- added here
"all_inf_lukeskywalker",
"all_inf_smuggler");
ReadDataFile("sound\\geo.lvl;geo1cw") -- added here by suggestion of SWBFgamersdotcom
ReadDataFile("SIDE\\imp.lvl",
"imp_inf_basic_tie",
"imp_walk_atat", -- added here
"imp_inf_darthvader",
"imp_inf_dark_trooper");
--end sidelvls
When I munge however I get an error (because I don't know how to add spoilers I'll type it):
**********
Debug Assertion Failed!
Program: ...FBuilder\DataHERE\_BUILD_PC\..\..\ToolsFL\Bin\ScriptMunge.exe
File: c:\src\frontline\toolsfl\scriptmunge\source\scriptmunge.cpp
Line:191
Expression: ErrorCode == 0
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
**********
The munging process however continues and the map and everything loads fine, but I still can't get the gun sound effect when I fire. Did I do something wrong?