(Watch somone will make it the moment I post this
Anyway,
I have a couch, and an Armchair... They fly... I want my couch (and chair)
in the all.lvl so I can call them from there in the lua. here we are,
the couch is called sat_fly_couch,
the armchair is called sat_fly_armchair,
I copyed the all and common sides into my maps side folder, I deleted like all the unit odfs and msh's in the all side, leaving a few important things
I added the flying furnature's msh's, odf's, and req to their proper places in the all side, With a helpful pointer(s) from Darth_Z13 I added the furnature to the all.req.
in the lua I call the furnature so,
Code: Select all
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep2_rifleman",
"rep_inf_ep2_rocketeer",
"rep_inf_ep2_engineer",
"rep_inf_ep2_sniper",
"rep_inf_ep2_rocketeer_chaingun",
"rep_inf_ep2_jettrooper_sniper",
"rep_hero_anakin")
ReadDataFile("SIDE\\all.lvl",
"all_fly_xwing_sc",
"sat_fly_couch",
"sat_fly_armchair")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_jangofett")The com_item_vehicle_spawn, calls them as
sat_fly_couch, and sat_fly_armchair.
The problem? They don't show up.
Before I tryed adding them to the all.lvl I managed to get them to show up ingame by placing the armchair and couch in to the map underground, the vehicle spawns I guess were able to manifest the furnature because it was in the map phisicly.
However if its part of the all.lvl, It souldn't have to be in the map phisicly, right?
BTW for legal reasons I must state that I did NOT create the couch and armchair myself, eddie did... or saturn labs... or both.
P.S. Yes, I munged the all.lvl.
P.S.S. here is a list of furnature related errors in the bfront2 log
Code: Select all
Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk sat_fly_couch in data\_lvl_pc\SIDE\all.lvl
Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk sat_fly_armchair in data\_lvl_pc\SIDE\all.lvl
Message Severity: 3
.\Source\LoadUtil.cpp(1019)
Unable to find level chunk in SIDE\all.lvl
Message Severity: 2
.\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "sat_fly_couch"
Message Severity: 2
.\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "sat_fly_couch"
Message Severity: 2
.\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "sat_fly_couch"
Message Severity: 2
.\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "sat_fly_armchair"
Message Severity: 2
.\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "sat_fly_armchair"
Message Severity: 2
.\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "sat_fly_armchair"
Message Severity: 2
.\Source\GameObject.cpp(978)
Too many damage effects specified for gameobject [all_fly_xwing_sc]




