Page 1 of 2

Replacing SBD with B1?

Posted: Tue Mar 06, 2012 11:03 pm
by darkling155
So I tried replacing the SBD with the B1 battledroid, by copying the marine's odfs and pasting them into the rifleman's odfs but it dosent seem to work!

is there anything else I need to do?

Re: Replacing SBD with B1?

Posted: Tue Mar 06, 2012 11:04 pm
by yuke5
Can you paste the modified ODF please? Also, make sure you're editing both the cis_default_rifleman and cis_inf_rifleman.

Re: Replacing SBD with B1?

Posted: Tue Mar 06, 2012 11:09 pm
by darkling155
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "cis_inf_default"

[Properties]
UnitType = "trooper"

WEAPONSECTION = 1
WeaponName = "cis_weap_inf_rifle"
WeaponAmmo = 4

WEAPONSECTION = 2
WeaponName = "cis_weap_inf_rocket_launcher"
WeaponAmmo = 4

WEAPONSECTION = 3
WeaponName = "cis_weap_inf_thermaldetonator"
WeaponAmmo = 2
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "cis_weap_award_rifle"
WeaponAmmo = 4

VOUnitType = 082

VOSound = "cis_command_follow SC_Follow"
VOSound = "cis_command_stopFollow SC_StopFollow"
VOSound = "cis_command_stopVehicle SC_VehicleWaitUp"
VOSound = "cis_command_getIn SC_GetIn"
VOSound = "cis_command_getOut SC_GetOut"
VOSound = "cis_response_follow SC_FollowResponse"
VOSound = "cis_response_stopFollow SC_StopFollowResponse"
VOSound = "cis_response_stopVehicle SC_VehicleWaitUpResponse"
VOSound = "cis_response_getIn SC_GetInResponse"
VOSound = "cis_response_getOut SC_GetOutResponse"

VOSound = "cis1_inf_pc_com_hostile SpottedVO"
VOSound = "cis1_inf_pc_com_bacta NeedMedicVO"
VOSound = "cis1_inf_pc_com_mechanic NeedRepairVO"
VOSound = "cis1_inf_pc_com_ammo NeedAmmoVO"
VOSound = "cis1_inf_pc_com_transport NeedPickupVO"
VOSound = "cis1_inf_pc_com_backup NeedBackupVO"
VOSound = "cis1_inf_pc_com_clear_area AttackPositionVO"
VOSound = "cis1_inf_pc_com_defend DefendPositionVO"

VOSound = "cis1_inf_pc_com_hostile_inVehicle SpottedVO +InVehicle"
VOSound = "cis1_inf_pc_com_bacta_inVehicle NeedMedicVO +InVehicle"
VOSound = "cis1_inf_pc_com_mechanic_inVehicle NeedRepairVO +InVehicle"
VOSound = "cis1_inf_pc_com_ammo_inVehicle NeedAmmoVO +InVehicle"
VOSound = "cis1_inf_pc_com_transport_inVehicle NeedPickupVO +InVehicle"
VOSound = "cis1_inf_pc_com_backup_inVehicle NeedBackupVO +InVehicle"
VOSound = "cis1_inf_pc_com_clear_area_inVehicle AttackPositionVO +InVehicle"
VOSound = "cis1_inf_pc_com_defend_inVehicle DefendPositionVO +InVehicle"

VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum121 AcquiredTarget +VOUnitNum121"
VOSound = "cis1_inf_chatter_AcquiredTarget_Left AcquiredTarget +Left"
VOSound = "cis1_inf_chatter_AcquiredTarget_Right AcquiredTarget +Right"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum123 AcquiredTarget +VOUnitNum123"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum124 AcquiredTarget +VOUnitNum124"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum124 NotShootingCriticalHit +VOUnitNum124"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum125 AcquiredTarget +VOUnitNum125"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum125 NotShootingCriticalHit +VOUnitNum125"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum126 AcquiredTarget +VOUnitNum126"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum126 NotShootingCriticalHit +VOUnitNum126"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum127 AcquiredTarget +VOUnitNum127"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum127 NotShootingCriticalHit +VOUnitNum127"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum132 AcquiredTarget +VOUnitNum132"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum132 NotShootingCriticalHit +VOUnitNum132"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum161 AcquiredTarget +VOUnitNum161"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum161 NotShootingCriticalHit +VOUnitNum161"
VOSound = "cis1_inf_chatter_NearbyFriendlySlaughter NearbyFriendlySlaughter"
VOSound = "cis1_inf_chatter_NearbyEnemySlaughter NearbyEnemySlaughter"
VOSound = "cis1_inf_chatter_KillingSpree4 KillingSpree4"
VOSound = "cis1_inf_chatter_KillingSpree8 KillingSpree8"
VOSound = "cis1_inf_chatter_HeadshotKill HeadshotKill"
VOSound = "cis1_inf_chatter_Grenade Grenade"
VOSound = "cis1_inf_chatter_MissileIncoming MissileIncoming"
VOSound = "cis1_inf_chatter_AcquiredTarget_IsSniper_VOUnitNum122 AcquiredTarget +IsSniper +VOUnitNum122"
VOSound = "cis1_inf_chatter_FriendlyFire FriendlyFire"
VOSound = "cis1_inf_chatter_RebelsShootDeadBody RebelsShootDeadBody"
VOSound = "cis1_inf_chatter_GivePowerup GivePowerup"
VOSound = "cis1_inf_chatter_AcquiredTarget_IsTurret AcquiredTarget +IsTurret"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum181 AcquiredTarget +VOUnitNum181"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum186 AcquiredTarget +VOUnitNum186"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum187 AcquiredTarget +VOUnitNum187"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum188 AcquiredTarget +VOUnitNum188"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum189 AcquiredTarget +VOUnitNum189"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum190 AcquiredTarget +VOUnitNum190"
VOSound = "cis1_inf_chatter_RepairStart_IsHover RepairStart +IsHover"
VOSound = "cis1_inf_chatter_RepairStart_IsWalker RepairStart +IsWalker"
VOSound = "cis1_inf_chatter_RepairStart_IsFlyer RepairStart +IsFlyer"
VOSound = "cis1_inf_chatter_RepairEnd_IsHover RepairEnd +IsHover"
VOSound = "cis1_inf_chatter_RepairEnd_IsWalker RepairEnd +IsWalker"
VOSound = "cis1_inf_chatter_RepairEnd_IsFlyer RepairEnd +IsFlyer"
VOSound = "cis1_inf_chatter_RepairStart_IsTurret RepairStart +IsTurret"
VOSound = "cis1_inf_chatter_RepairEnd_IsTurret RepairEnd +IsTurret"
VOSound = "cis1_inf_chatter_AcquiredTarget AcquiredTarget"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum176 AcquiredTarget +VOUnitNum176"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum175 AcquiredTarget +VOUnitNum175"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum177 AcquiredTarget +VOUnitNum177"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum2 AcquiredTarget +VOUnitNum2"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum172 AcquiredTarget +VOUnitNum172"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum174 AcquiredTarget +VOUnitNum174"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum173 AcquiredTarget +VOUnitNum173"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum171 AcquiredTarget +VOUnitNum171"
VOSound = "cis1_inf_chatter_AcquiredTarget_Above_VOUnitNum121_InHover AcquiredTarget +Above +VOUnitNum121 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_Left_InHover AcquiredTarget +Left +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_Right_InHover AcquiredTarget +Right +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum124_InHover AcquiredTarget +VOUnitNum124 +InHover"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum124_InHover NotShootingCriticalHit +VOUnitNum124 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum125_InHover AcquiredTarget +VOUnitNum125 +InHover"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum125_InHover NotShootingCriticalHit +VOUnitNum125 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum126_InHover AcquiredTarget +VOUnitNum126 +InHover"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum126_InHover NotShootingCriticalHit +VOUnitNum126 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum127_InHover AcquiredTarget +VOUnitNum127 +InHover"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum127_InHover NotShootingCriticalHit +VOUnitNum127 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum132_InHover AcquiredTarget +VOUnitNum132 +InHover"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum132_InHover NotShootingCriticalHit +VOUnitNum132 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum161_InHover AcquiredTarget +VOUnitNum161 +InHover"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum161_InHover NotShootingCriticalHit +VOUnitNum161 +InHover"
VOSound = "cis1_inf_chatter_NearbyEnemySlaughter_InHover NearbyEnemySlaughter +InHover"
VOSound = "cis1_inf_chatter_NearbyFriendlySlaughter_InHover NearbyFriendlySlaughter +InHover"
VOSound = "cis1_inf_chatter_KillingSpree4_InHover KillingSpree4 +InHover"
VOSound = "cis1_inf_chatter_KillingSpree8_InHover KillingSpree8 +InHover"
VOSound = "cis1_inf_chatter_HeadshotKill_InHover HeadshotKill +InHover"
VOSound = "cis1_inf_chatter_Grenade_InHover Grenade +InHover"
VOSound = "cis1_inf_chatter_MissileIncoming_InHover MissileIncoming +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_IsSniper_VOUnitNum122_InHover AcquiredTarget +IsSniper +VOUnitNum122 +InHover"
VOSound = "cis1_inf_chatter_FriendlyFire_InHover FriendlyFire +InHover"
VOSound = "cis1_inf_chatter_RebelsShootDeadBody_InHover RebelsShootDeadBody +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_IsTurret_InHover AcquiredTarget +IsTurret +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum181_InHover AcquiredTarget +VOUnitNum181 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum186_InHover AcquiredTarget +VOUnitNum186 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum187_InHover AcquiredTarget +VOUnitNum187 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum188_InHover AcquiredTarget +VOUnitNum188 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum189_InHover AcquiredTarget +VOUnitNum189 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum190_InHover AcquiredTarget +VOUnitNum190 +InHover"
VOSound = "cis1_inf_chatter_RepairStart_IsHover_InHover RepairStart +IsHover +InHover"
VOSound = "cis1_inf_chatter_RepairStart_IsWalker_InHover RepairStart +IsWalker +InHover"
VOSound = "cis1_inf_chatter_RepairStart_IsFlyer_InHover RepairStart +IsFlyer +InHover"
VOSound = "cis1_inf_chatter_RepairEnd_IsHover_InHover RepairEnd +IsHover +InHover"
VOSound = "cis1_inf_chatter_RepairEnd_IsWalker_InHover RepairEnd +IsWalker +InHover"
VOSound = "cis1_inf_chatter_RepairEnd_IsFlyer_InHover RepairEnd +IsFlyer +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_InHover AcquiredTarget +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum176_InHover AcquiredTarget +VOUnitNum176 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum175_InHover AcquiredTarget +VOUnitNum175 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum177_InHover AcquiredTarget +VOUnitNum177 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum2_InHover AcquiredTarget +VOUnitNum2 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum172_InHover AcquiredTarget +VOUnitNum172 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum174_InHover AcquiredTarget +VOUnitNum174 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum173_InHover AcquiredTarget +VOUnitNum173 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum171_InHover AcquiredTarget +VOUnitNum171 +InHover"
VOSound = "cis1_inf_chatter_AcquiredTarget_Above_VOUnitNum121_InWalker AcquiredTarget +Above +VOUnitNum121 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_Left_InWalker AcquiredTarget +Left +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_Right_InWalker AcquiredTarget +Right +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum124_InWalker AcquiredTarget +VOUnitNum124 +InWalker"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum124_InWalker NotShootingCriticalHit +VOUnitNum124 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum125_InWalker AcquiredTarget +VOUnitNum125 +InWalker"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum125_InWalker NotShootingCriticalHit +VOUnitNum125 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum126_InWalker AcquiredTarget +VOUnitNum126 +InWalker"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum126_InWalker NotShootingCriticalHit +VOUnitNum126 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum127_InWalker AcquiredTarget +VOUnitNum127 +InWalker"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum127_InWalker NotShootingCriticalHit +VOUnitNum127 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum132_InWalker AcquiredTarget +VOUnitNum132 +InWalker"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum132_InWalker NotShootingCriticalHit +VOUnitNum132 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum161_InWalker AcquiredTarget +VOUnitNum161 +InWalker"
VOSound = "cis1_inf_chatter_NotShootingCriticalHit_VOUnitNum161_InWalker NotShootingCriticalHit +VOUnitNum161 +InWalker"
VOSound = "cis1_inf_chatter_NearbyEnemySlaughter_InWalker NearbyEnemySlaughter +InWalker"
VOSound = "cis1_inf_chatter_NearbyFriendlySlaughter_InWalker NearbyFriendlySlaughter +InWalker"
VOSound = "cis1_inf_chatter_KillingSpree4_InWalker KillingSpree4 +InWalker"
VOSound = "cis1_inf_chatter_KillingSpree8_InWalker KillingSpree8 +InWalker"
VOSound = "cis1_inf_chatter_HeadshotKill_InWalker HeadshotKill +InWalker"
VOSound = "cis1_inf_chatter_Grenade_InWalker Grenade +InWalker"
VOSound = "cis1_inf_chatter_MissileIncoming_InWalker MissileIncoming +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_IsSniper_VOUnitNum122_InWalker AcquiredTarget +IsSniper +VOUnitNum122 +InWalker"
VOSound = "cis1_inf_chatter_FriendlyFire_InWalker FriendlyFire +InWalker"
VOSound = "cis1_inf_chatter_RebelsShootDeadBody_InWalker RebelsShootDeadBody +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_IsTurret_InWalker AcquiredTarget +IsTurret +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum181_InWalker AcquiredTarget +VOUnitNum181 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum186_InWalker AcquiredTarget +VOUnitNum186 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum187_InWalker AcquiredTarget +VOUnitNum187 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum188_InWalker AcquiredTarget +VOUnitNum188 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum189_InWalker AcquiredTarget +VOUnitNum189 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum190_InWalker AcquiredTarget +VOUnitNum190 +InWalker"
VOSound = "cis1_inf_chatter_RepairStart_IsHover_InWalker RepairStart +IsHover +InWalker"
VOSound = "cis1_inf_chatter_RepairStart_IsWalker_InWalker RepairStart +IsWalker +InWalker"
VOSound = "cis1_inf_chatter_RepairStart_IsFlyer_InWalker RepairStart +IsFlyer +InWalker"
VOSound = "cis1_inf_chatter_RepairEnd_IsHover_InWalker RepairEnd +IsHover +InWalker"
VOSound = "cis1_inf_chatter_RepairEnd_IsWalker_InWalker RepairEnd +IsWalker +InWalker"
VOSound = "cis1_inf_chatter_RepairEnd_IsFlyer_InWalker RepairEnd +IsFlyer +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_InWalker AcquiredTarget +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum176_InWalker AcquiredTarget +VOUnitNum176 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum175_InWalker AcquiredTarget +VOUnitNum175 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum177_InWalker AcquiredTarget +VOUnitNum177 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum2_InWalker AcquiredTarget +VOUnitNum2 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum172_InWalker AcquiredTarget +VOUnitNum172 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum174_InWalker AcquiredTarget +VOUnitNum174 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum173_InWalker AcquiredTarget +VOUnitNum173 +InWalker"
VOSound = "cis1_inf_chatter_AcquiredTarget_VOUnitNum171_InWalker AcquiredTarget +VOUnitNum171 +InWalker"

Code: Select all

[GameObjectClass]
ClassParent         = "cis_inf_default_marine"


[Properties]
GeometryName            = "cis_inf_bdroid"
GeometryLowRes          = "cis_inf_bdroid_low1"
SkeletonName            = "bdroid"
SkeletonLowRes          = "bdroidlz"

FirstPerson             = "CIS\cisbdrd;cis_1st_bdroid"

OverrideTexture         = "cis_inf_battledroid_green"


Re: Replacing SBD with B1?

Posted: Tue Mar 06, 2012 11:53 pm
by yuke5
Your odfs seem fine. Can you post your BFront2 log please?

Actually, why not just load the marine instead of the SBD? Go to your LUA and edit the following lines...
Hidden/Spoiler:
ReadDataFile("dc: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")
Replace the highlighted text with this...
Hidden/Spoiler:
ReadDataFile("dc:SIDE\\cis.lvl",
"cis_inf_marine",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")
Then, edit this part further down...
Hidden/Spoiler:
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},
to this:
Hidden/Spoiler:
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_marine",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},

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 12:33 am
by lucasfart
You have copied the cis_inf_bdroid.msh and cis_inf_bdroid_low1.msh with the accompanying textures into your sides folder, right?

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 12:01 pm
by darkling155
Ok yuke5 ill do that for now, but I was hoping I would be able to use both the rifleman and the marine. Yes I have the entire cis side in the sides folder.

Munge log:
Hidden/Spoiler:
WARNING[PC_modelmunge msh\cis_1st_droideka.msh]:cis_1st_droideka has 2908 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_tread_hailfire.msh]:SplitSkinnedSegments: WARNING: out of space in splitting catalog!
WARNING[PC_modelmunge msh\cis_tread_hailfire.msh]:SplitSkinnedSegments: WARNING: resorting to brute force, this may take a while...
WARNING[PC_modelmunge msh\cis_tread_hailfire.msh]:SplitSkinnedSegments: WARNING: out of space in splitting catalog!
WARNING[PC_modelmunge msh\cis_tread_hailfire.msh]:SplitSkinnedSegments: WARNING: resorting to brute force, this may take a while...
WARNING[PC_modelmunge msh\cis_1st_bdroid.msh]:cis_1st_bdroid has 1509 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_1st_jangofett.msh]:cis_1st_jangofett has 1102 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_1st_magnaguard.msh]:cis_1st_magnaguard has 1961 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_droideka_idle_low1.msh]:cis_droideka_idle_low1 has 1164 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_droideka_roll_low1.msh]:cis_droideka_roll_low1 has 1166 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_inf_bdroid.msh]:cis_inf_bdroid has 2633 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_inf_countdooku.msh]:cis_inf_countdooku has 1575 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_inf_darthmaul.msh]:cis_inf_darthmaul has 1575 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_inf_darthsidious.msh]:cis_inf_darthsidious has 2429 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_inf_generalgrevious.msh]:SplitSkinnedSegments: WARNING: out of space in splitting catalog!
WARNING[PC_modelmunge msh\cis_inf_generalgrevious.msh]:SplitSkinnedSegments: WARNING: resorting to brute force, this may take a while...
WARNING[PC_modelmunge msh\cis_inf_generalgrevious.msh]:cis_inf_generalgrevious has 5784 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_inf_generalgrevious_low1.msh]:cis_inf_generalgrevious_low1 has 1769 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_inf_jangofett.msh]:cis_inf_jangofett has 2949 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_inf_magnaguard.msh]:cis_inf_magnaguard has 3527 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_inf_sbdroid.msh]:cis_inf_sbdroid has 2894 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\cis_walk_droideka.msh]:SplitSkinnedSegments: WARNING: out of space in splitting catalog!
WARNING[PC_modelmunge msh\cis_walk_droideka.msh]:SplitSkinnedSegments: WARNING: resorting to brute force, this may take a while...
WARNING[PC_modelmunge msh\cis_walk_droideka_low1.msh]:cis_walk_droideka_low1 has 1188 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
0 Errors 24 Warnings
Does anyone know what the geometry thing is about? I get that every time I munge...

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 2:37 pm
by THEWULFMAN
That's your Munge Error Log, not the BFront2 Log. Your munge log looks fine, those warnings are normal.

Here's the information on how to create the BFront2 log, create it by running it and playing your map. It should crash, or not. Either way exit out (if it didn't crash) and post the contents of the log here.
The FAQ wrote:Question #4 - I have the CD version of SWBF2 and I get a binkw32.dll error when trying to launch the BF2_modtools.exe, what's wrong?
Answer - The BF2_modtools.exe is the debug executable, copy it from C:\BF2_ModTools and paste it in the same folder as your BattlefrontII.exe, usually:
C:\Program Files\LucasArts\Star Wars Battlefront II\GameData
you can launch BF2_modtools.exe and play your map then exit or let it crash to generate a BFront2.log located in that same folder.
If you have the DVD version of SWBF2 check THIS or THIS link for a compatible version of the BF2_modtools.exe
If you run it and find no error log, then check this post to find a possible solution.

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 3:45 pm
by darkling155
this?:
Hidden/Spoiler:
Opened logfile BFront2.log 2012-03-07 1443

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 3:46 pm
by THEWULFMAN
darkling155 wrote:this?:
Hidden/Spoiler:
Opened logfile BFront2.log 2012-03-07 1443


You're on the right track. That is indeed the log file, however you need to run the Debugger, and play your map with the issue to create a relevant error log.

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 3:48 pm
by darkling155
debugger as in the Bf2_modtools.exe?

because if thats so all it says is insert CD
(which it is inserted)

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 3:50 pm
by CressAlbane
The FAQ wrote:If you have the DVD version of SWBF2 check THIS link for a compatible version of the BF2_modtools.exe

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 3:54 pm
by darkling155
*facepalm* I thought I had the cd version >.>
Hidden/Spoiler:
Opened logfile BFront2.log 2012-03-07 1453
shell_interface: Entered

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open v1.3patch_strings.lvl
shell_interface: gPlatformStr, gOnlineServiceStr, gLangStr, gLangEnum: PC GameSpy english 0
ifs_era_handler - Entered
ifs_era_handler - Exited
shell_interface: No custom_gc_0.lvl
shell_interface: No custom_gc_1.lvl
shell_interface: No custom_gc_2.lvl
shell_interface: No custom_gc_3.lvl
shell_interface: No custom_gc_4.lvl
shell_interface: No custom_gc_5.lvl
shell_interface: No custom_gc_6.lvl
shell_interface: No custom_gc_7.lvl
shell_interface: No custom_gc_8.lvl
shell_interface: No custom_gc_9.lvl
shell_interface: No custom_gc_10.lvl
custom_EraButtonList(): Finished building era button table Known eras buttons: 28
custom_GetGMapEras(): Finished building era table Known eras: 28
custom_GetGMapModes(): Finished building game mode table Known Modes: 39
custom_GetMPGameModeList(): Finished building game mode list table List Length: 40
custom_SetMovieLocation()
custom_GetGCButtonList()
custom_SetMovieLocation()
custom_GetFreeformBattleModeList(): Finished building freeform battle mode list Known Modes: 39
ingame stream movies\crawl.mvs
shell_interface: Opening movie: movies\shell.mvs
shell_interface: Leaving
prev = none iLastPage = nil
prev = texture iLastPage = 1
prev = texture iLastPage = 2
prev = texture iLastPage = 3
ifs_legal.Exit

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\GameMovie.cpp(399)
Unable to find open movie segment shell_main

ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadFileList

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to compare two nil values
stack traceback:
(none): in function `ifs_login_EnterInterface'
(none): in function <(none):598>

ifs_saveop_DoOps LoadProfile
ifs_saveop_DoOps LoadProfile

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to compare two nil values
stack traceback:
(none): in function `ifs_login_EnterInterface'
(none): in function <(none):598>

ifs_sp_campaign: Input_Accept(): Entered: _tab_instant
missionlist_ExpandMapList()
ifs_missionselect_pcMulti_fnSetMapPreview(): Defaulting index to 1
this.CurButton = check_mode1
cur_button = nil
Checkbox for check_era3 clicked
this.CurButton = check_era3
cur_button = nil
custom_AddMapNew()
custom_printTable(): table: 056111CC
The key, value is: era_c 1
The key, value is: era_g 1
The key, value is: mode_con_c 1
The key is mapluafile, the formated value is: WIP<A>_<B>
The key, value is: mode_con_g 1
The key, value is: bSelected 1
The key, value is: isModLevel 1
custom_printTable(): Returning
custom_printTable(): table: 0561672C
The key, value is: key mode_con
The key, value is: subst con
The key, value is: showstr modename.name.con
The key, value is: descstr modename.description.con
The key, value is: icon mode_icon_con
custom_printTable(): Returning
gMapEras.key = era_c Era = era_c subst = c
Adding map: WIPc_con idx: 1
this.CurButton = _map_add
cur_button = nil
this.CurButton = Launch
cur_button = nil

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\HUDElementBitmap.cpp(380)
HUD BitmapElement unable to find texture hud_target_hint_offscreen

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\HUDElementBitmap.cpp(380)
HUD BitmapElement unable to find texture hud_target_hint_offscreen

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\HUDElementBitmap.cpp(380)
HUD BitmapElement unable to find texture btn_directional_pad_LR
game_interface: Entered
utility_functions2: Listening on AddUnitClass() calls
utility_functions2: Listening on SetHeroClass() calls
utility_functions2: Listening on ReadDataFile() calls
game_interface: Reading in custom strings

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open v1.3patch_strings.lvl
game_interface: No user_script_0.lvl
game_interface: No user_script_1.lvl
game_interface: No user_script_2.lvl
game_interface: No user_script_3.lvl
game_interface: No user_script_4.lvl
game_interface: No user_script_5.lvl
game_interface: No user_script_6.lvl
game_interface: No user_script_7.lvl
game_interface: No user_script_8.lvl
game_interface: No user_script_9.lvl
game_interface: No user_script_10.lvl
ifs_sideselect_fnBuildScreen()
game_interface: Exited

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(317)
Memory pool "ClothData" set item count after being allocated

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(1065)
Entity "com_weap_inf_remotedroid_ord" unknown building collision "p_buildingsphere"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(1073)
Entity "com_weap_inf_remotedroid_ord" unknown vehicle collision "p_buildingsphere"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(1089)
Entity "com_weap_inf_remotedroid_ord" unknown ordnance collision "p_sphere"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(1081)
Entity "com_weap_inf_remotedroid_ord" unknown soldier collision "p_sphere"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(1058)
Entity "com_weap_veh_guided_rocket_ord" unknown terrain collision "p_front_sphere"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(1073)
Entity "com_weap_veh_guided_rocket_ord" unknown vehicle collision "p_front_sphere"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(1065)
Entity "com_weap_veh_guided_rocket_ord" unknown building collision "p_front_sphere"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(1051)
Entity "com_weap_veh_guided_rocket_ord" unknown targetable collision "CollisionMesh"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(1058)
Entity "com_weap_award_rocket_launcher_" unknown terrain collision "p_front_sphere"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(1073)
Entity "com_weap_award_rocket_launcher_" unknown vehicle collision "p_front_sphere"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(1065)
Entity "com_weap_award_rocket_launcher_" unknown building collision "p_front_sphere"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(1051)
Entity "com_weap_award_rocket_launcher_" unknown targetable collision "CollisionMesh"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\FLEffect.cpp(214)
FLEffect::Read: duplicate effect class name (d6c288e8)!

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\FLEffect.cpp(214)
FLEffect::Read: duplicate effect class name (6616778a)!

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\FLEffect.cpp(214)
FLEffect::Read: duplicate effect class name (ef255e37)!

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\FLEffect.cpp(214)
FLEffect::Read: duplicate effect class name (c3a9860f)!

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VOHelper.cpp(183)
VOSound (cis1_inf_pc_com_hostile_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VOHelper.cpp(183)
VOSound (cis1_inf_pc_com_bacta_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VOHelper.cpp(183)
VOSound (cis1_inf_pc_com_mechanic_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VOHelper.cpp(183)
VOSound (cis1_inf_pc_com_ammo_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VOHelper.cpp(183)
VOSound (cis1_inf_pc_com_transport_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VOHelper.cpp(183)
VOSound (cis1_inf_pc_com_backup_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VOHelper.cpp(183)
VOSound (cis1_inf_pc_com_clear_area_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VOHelper.cpp(183)
VOSound (cis1_inf_pc_com_defend_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\FLEffect.cpp(214)
FLEffect::Read: duplicate effect class name (5f518933)!

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\FLEffect.cpp(214)
FLEffect::Read: duplicate effect class name (5f518933)!

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\FLEffect.cpp(214)
FLEffect::Read: duplicate effect class name (5f518933)!

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Graphics\PC\pcRedStencilShadow.cpp(892)
No shadow data!

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\FLEffect.cpp(214)
FLEffect::Read: duplicate effect class name (5f518933)!

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntitySoldier.cpp(10471)
Soldier cis_inf_caped_magnaguard has geometry collision
uf_updateClassIndex(): Added class: rep_inf_ep3_rifleman
uf_updateClassIndex(): Added class: rep_inf_ep3_rocketeer
uf_updateClassIndex(): Added class: rep_inf_ep3_sniper
uf_updateClassIndex(): Added class: rep_inf_ep3_engineer
uf_updateClassIndex(): Added class: rep_inf_ep3_officer
uf_updateClassIndex(): Added class: rep_inf_ep3_jettrooper
uf_updateClassIndex(): Added class: cis_inf_rifleman
uf_updateClassIndex(): Added class: cis_inf_rocketeer
uf_updateClassIndex(): Added class: cis_inf_sniper
uf_updateClassIndex(): Added class: cis_inf_engineer
uf_updateClassIndex(): Added class: cis_inf_officer
uf_updateClassIndex(): Added class: cis_inf_droideka
uf_updateClassIndex(): Added class: cis_hero_darthmaul
uf_updateClassIndex(): Added class: rep_hero_anakin
utility_functions2: ReadDataFile(): This map's code, mode: wip wip_conquest

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\SkyManager.cpp(122)
Skyfile FarSceneRange is in old format

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 4

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 8

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 12

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 16

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 20

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 24

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 28

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 32

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 36

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 40

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 44

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 48

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 52

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 56

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 60

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 64

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 68

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 72

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 76

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 80

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 84

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 88

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 92

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 96

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 100

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 104

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 108

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 112

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 116

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 120

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 124

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 128

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 132

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 136

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 140

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 144

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 148

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 152

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 156

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 160

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 164

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 168

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 172

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 176

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 180

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 184

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 188

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 192

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 196

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 200

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 204

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 208

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 212

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 216

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 220

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 224

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 228

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 232

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 236

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 240

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 244

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 248

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 252

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 256

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 260

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 264

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 268

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 272

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 276

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 280

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 284

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 288

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 292

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 296

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 300

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 304

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 308

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 312

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 316

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 320

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 324

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 328

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 332

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 336

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 340

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 344

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 348

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 352

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 356

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 360

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 364

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 368

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 372

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 376
ifs_sideselect_fnEnter(): Map does not support custom era teams
ifs_sideselect_fnEnter(): The award settings file does not exist

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 3:59 pm
by CressAlbane
Post your LUA, please.

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 4:04 pm
by darkling155
which one?

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 4:05 pm
by yuke5
darkling155 wrote:which one?
Post the CW lua. For example if your map folder name is "ABC", the lua would be titled ABCc_con. Post that file.

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 4:21 pm
by darkling155
Hidden/Spoiler:
--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--

-- load the gametype script
ScriptCB_DoFile("ObjectiveConquest")
ScriptCB_DoFile("setup_teams")

-- REP Attacking (attacker is always #1)
REP = 1;
CIS = 2;
-- These variables do not change
ATT = REP;
DEF = CIS;


function ScriptPostLoad()


--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}



--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}

--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)

conquest:Start()

EnableSPHeroRules()

end


---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------
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("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 = { "rep_inf_ep3_sniper",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},
}
}

SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_anakin")


-- Level Stats
-- ClearWalkers()
AddWalkerType(0, 4) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)
local weaponCnt = 1024
SetMemoryPoolSize("Aimer", 75)
SetMemoryPoolSize("AmmoCounter", weaponCnt)
SetMemoryPoolSize("BaseHint", 1024)
SetMemoryPoolSize("EnergyBar", weaponCnt)
SetMemoryPoolSize("EntityCloth", 32)
SetMemoryPoolSize("EntityFlyer", 32)
SetMemoryPoolSize("EntityHover", 32)
SetMemoryPoolSize("EntityLight", 200)
SetMemoryPoolSize("EntitySoundStream", 4)
SetMemoryPoolSize("EntitySoundStatic", 32)
SetMemoryPoolSize("MountedTurret", 32)
SetMemoryPoolSize("Navigator", 128)
SetMemoryPoolSize("Obstacle", 1024)
SetMemoryPoolSize("PathNode", 1024)
SetMemoryPoolSize("SoundSpaceRegion", 64)
SetMemoryPoolSize("TreeGridStack", 1024)
SetMemoryPoolSize("UnitAgent", 128)
SetMemoryPoolSize("UnitController", 128)
SetMemoryPoolSize("Weapon", weaponCnt)

SetSpawnDelay(10.0, 0.25)
--ReadDataFile("dc:WIP\\WIP.lvl", "WIP_conquest")
ReadDataFile("dc:WIP\\WIP.lvl", "WIP_conquest")
SetDenseEnvironment("false")




-- Sound

SetSoundEffect("ScopeDisplayZoomIn", "binocularzoomin")
SetSoundEffect("ScopeDisplayZoomOut", "binocularzoomout")

voiceSlow = OpenAudioStream("sound\\global.lvl", "rep_unit_vo_slow")
AudioStreamAppendSegments("sound\\global.lvl", "cis_unit_vo_slow", voiceSlow)
AudioStreamAppendSegments("sound\\global.lvl", "global_vo_slow", voiceSlow)

voiceQuick = OpenAudioStream("sound\\global.lvl", "rep_unit_vo_quick")
AudioStreamAppendSegments("sound\\global.lvl", "cis_unit_vo_quick", voiceQuick)

OpenAudioStream("sound\\global.lvl", "cw_music")
-- OpenAudioStream("sound\\global.lvl", "global_vo_quick")
-- OpenAudioStream("sound\\global.lvl", "global_vo_slow")
OpenAudioStream("sound\\yav.lvl", "yav1")
OpenAudioStream("sound\\yav.lvl", "yav1")
OpenAudioStream("sound\\yav.lvl", "yav1_emt")

SetBleedingVoiceOver(REP, REP, "rep_off_com_report_us_overwhelmed", 1)
SetBleedingVoiceOver(REP, CIS, "rep_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(CIS, REP, "cis_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(CIS, CIS, "cis_off_com_report_us_overwhelmed", 1)

SetOutOfBoundsVoiceOver(2, "cisleaving")
SetOutOfBoundsVoiceOver(1, "repleaving")

SetAmbientMusic(REP, 1.0, "rep_yav_amb_start", 0,1)
SetAmbientMusic(REP, 0.8, "rep_yav_amb_middle", 1,1)
SetAmbientMusic(REP, 0.2, "rep_yav_amb_end", 2,1)
SetAmbientMusic(CIS, 1.0, "cis_yav_amb_start", 0,1)
SetAmbientMusic(CIS, 0.8, "cis_yav_amb_middle", 1,1)
SetAmbientMusic(CIS, 0.2, "cis_yav_amb_end", 2,1)

SetVictoryMusic(REP, "rep_yav_amb_victory")
SetDefeatMusic (REP, "rep_yav_amb_defeat")
SetVictoryMusic(CIS, "cis_yav_amb_victory")
SetDefeatMusic (CIS, "cis_yav_amb_defeat")

SetSoundEffect("ScopeDisplayZoomIn", "binocularzoomin")
SetSoundEffect("ScopeDisplayZoomOut", "binocularzoomout")
--SetSoundEffect("BirdScatter", "birdsFlySeq1")
--SetSoundEffect("WeaponUnableSelect", "com_weap_inf_weaponchange_null")
--SetSoundEffect("WeaponModeUnableSelect", "com_weap_inf_modechange_null")
SetSoundEffect("SpawnDisplayUnitChange", "shell_select_unit")
SetSoundEffect("SpawnDisplayUnitAccept", "shell_menu_enter")
SetSoundEffect("SpawnDisplaySpawnPointChange", "shell_select_change")
SetSoundEffect("SpawnDisplaySpawnPointAccept", "shell_menu_enter")
SetSoundEffect("SpawnDisplayBack", "shell_menu_exit")


--OpeningSateliteShot
AddCameraShot(0.908386, -0.209095, -0.352873, -0.081226, -45.922508, -19.114113, 77.022636);

AddCameraShot(-0.481173, 0.024248, -0.875181, -0.044103, 14.767292, -30.602322, -144.506851);
AddCameraShot(0.999914, -0.012495, -0.004416, -0.000055, 1.143253, -33.602314, -76.884430);
AddCameraShot(0.839161, 0.012048, -0.543698, 0.007806, 19.152437, -49.802273, 24.337317);
AddCameraShot(0.467324, 0.006709, -0.883972, 0.012691, 11.825212, -49.802273, -7.000720);
AddCameraShot(0.861797, 0.001786, -0.507253, 0.001051, -11.986043, -59.702248, 23.263165);
AddCameraShot(0.628546, -0.042609, -0.774831, -0.052525, 20.429928, -48.302277, 9.771714);
AddCameraShot(0.765213, -0.051873, 0.640215, 0.043400, 57.692474, -48.302277, 16.540724);
AddCameraShot(0.264032, -0.015285, -0.962782, -0.055734, -16.681797, -42.902290, 129.553268);
AddCameraShot(-0.382320, 0.022132, -0.922222, -0.053386, 20.670977, -42.902290, 135.513001);
end
Do I need to add that dc: thing?

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 4:25 pm
by yuke5
darkling155 wrote:
Hidden/Spoiler:
--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--

-- load the gametype script
ScriptCB_DoFile("ObjectiveConquest")
ScriptCB_DoFile("setup_teams")

-- REP Attacking (attacker is always #1)
REP = 1;
CIS = 2;
-- These variables do not change
ATT = REP;
DEF = CIS;


function ScriptPostLoad()


--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}



--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}

--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)

conquest:Start()

EnableSPHeroRules()

end


---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------
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("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 = { "rep_inf_ep3_sniper",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},
}
}

SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_anakin")


-- Level Stats
-- ClearWalkers()
AddWalkerType(0, 4) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)
local weaponCnt = 1024
SetMemoryPoolSize("Aimer", 75)
SetMemoryPoolSize("AmmoCounter", weaponCnt)
SetMemoryPoolSize("BaseHint", 1024)
SetMemoryPoolSize("EnergyBar", weaponCnt)
SetMemoryPoolSize("EntityCloth", 32)
SetMemoryPoolSize("EntityFlyer", 32)
SetMemoryPoolSize("EntityHover", 32)
SetMemoryPoolSize("EntityLight", 200)
SetMemoryPoolSize("EntitySoundStream", 4)
SetMemoryPoolSize("EntitySoundStatic", 32)
SetMemoryPoolSize("MountedTurret", 32)
SetMemoryPoolSize("Navigator", 128)
SetMemoryPoolSize("Obstacle", 1024)
SetMemoryPoolSize("PathNode", 1024)
SetMemoryPoolSize("SoundSpaceRegion", 64)
SetMemoryPoolSize("TreeGridStack", 1024)
SetMemoryPoolSize("UnitAgent", 128)
SetMemoryPoolSize("UnitController", 128)
SetMemoryPoolSize("Weapon", weaponCnt)

SetSpawnDelay(10.0, 0.25)
--ReadDataFile("dc:WIP\\WIP.lvl", "WIP_conquest")
ReadDataFile("dc:WIP\\WIP.lvl", "WIP_conquest")
SetDenseEnvironment("false")




-- Sound

SetSoundEffect("ScopeDisplayZoomIn", "binocularzoomin")
SetSoundEffect("ScopeDisplayZoomOut", "binocularzoomout")

voiceSlow = OpenAudioStream("sound\\global.lvl", "rep_unit_vo_slow")
AudioStreamAppendSegments("sound\\global.lvl", "cis_unit_vo_slow", voiceSlow)
AudioStreamAppendSegments("sound\\global.lvl", "global_vo_slow", voiceSlow)

voiceQuick = OpenAudioStream("sound\\global.lvl", "rep_unit_vo_quick")
AudioStreamAppendSegments("sound\\global.lvl", "cis_unit_vo_quick", voiceQuick)

OpenAudioStream("sound\\global.lvl", "cw_music")
-- OpenAudioStream("sound\\global.lvl", "global_vo_quick")
-- OpenAudioStream("sound\\global.lvl", "global_vo_slow")
OpenAudioStream("sound\\yav.lvl", "yav1")
OpenAudioStream("sound\\yav.lvl", "yav1")
OpenAudioStream("sound\\yav.lvl", "yav1_emt")

SetBleedingVoiceOver(REP, REP, "rep_off_com_report_us_overwhelmed", 1)
SetBleedingVoiceOver(REP, CIS, "rep_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(CIS, REP, "cis_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(CIS, CIS, "cis_off_com_report_us_overwhelmed", 1)

SetOutOfBoundsVoiceOver(2, "cisleaving")
SetOutOfBoundsVoiceOver(1, "repleaving")

SetAmbientMusic(REP, 1.0, "rep_yav_amb_start", 0,1)
SetAmbientMusic(REP, 0.8, "rep_yav_amb_middle", 1,1)
SetAmbientMusic(REP, 0.2, "rep_yav_amb_end", 2,1)
SetAmbientMusic(CIS, 1.0, "cis_yav_amb_start", 0,1)
SetAmbientMusic(CIS, 0.8, "cis_yav_amb_middle", 1,1)
SetAmbientMusic(CIS, 0.2, "cis_yav_amb_end", 2,1)

SetVictoryMusic(REP, "rep_yav_amb_victory")
SetDefeatMusic (REP, "rep_yav_amb_defeat")
SetVictoryMusic(CIS, "cis_yav_amb_victory")
SetDefeatMusic (CIS, "cis_yav_amb_defeat")

SetSoundEffect("ScopeDisplayZoomIn", "binocularzoomin")
SetSoundEffect("ScopeDisplayZoomOut", "binocularzoomout")
--SetSoundEffect("BirdScatter", "birdsFlySeq1")
--SetSoundEffect("WeaponUnableSelect", "com_weap_inf_weaponchange_null")
--SetSoundEffect("WeaponModeUnableSelect", "com_weap_inf_modechange_null")
SetSoundEffect("SpawnDisplayUnitChange", "shell_select_unit")
SetSoundEffect("SpawnDisplayUnitAccept", "shell_menu_enter")
SetSoundEffect("SpawnDisplaySpawnPointChange", "shell_select_change")
SetSoundEffect("SpawnDisplaySpawnPointAccept", "shell_menu_enter")
SetSoundEffect("SpawnDisplayBack", "shell_menu_exit")


--OpeningSateliteShot
AddCameraShot(0.908386, -0.209095, -0.352873, -0.081226, -45.922508, -19.114113, 77.022636);

AddCameraShot(-0.481173, 0.024248, -0.875181, -0.044103, 14.767292, -30.602322, -144.506851);
AddCameraShot(0.999914, -0.012495, -0.004416, -0.000055, 1.143253, -33.602314, -76.884430);
AddCameraShot(0.839161, 0.012048, -0.543698, 0.007806, 19.152437, -49.802273, 24.337317);
AddCameraShot(0.467324, 0.006709, -0.883972, 0.012691, 11.825212, -49.802273, -7.000720);
AddCameraShot(0.861797, 0.001786, -0.507253, 0.001051, -11.986043, -59.702248, 23.263165);
AddCameraShot(0.628546, -0.042609, -0.774831, -0.052525, 20.429928, -48.302277, 9.771714);
AddCameraShot(0.765213, -0.051873, 0.640215, 0.043400, 57.692474, -48.302277, 16.540724);
AddCameraShot(0.264032, -0.015285, -0.962782, -0.055734, -16.681797, -42.902290, 129.553268);
AddCameraShot(-0.382320, 0.022132, -0.922222, -0.053386, 20.670977, -42.902290, 135.513001);
end
Do I need to add that dc: thing?
Yes. That is the most important part when loading units in the LUA. Do it like so
Hidden/Spoiler:
ReadDataFile("dc: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")

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 4:42 pm
by ARCTroopaNate
Yes, the DC tells battlefront to load the custom side ingame, without it you will still have stock sides, no matter how much you edit the sides in your map.

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 7:07 pm
by darkling155
thanks!!

So, how do I make the sides global? does that involve a lvl file?

Re: Replacing SBD with B1?

Posted: Wed Mar 07, 2012 7:44 pm
by ARCTroopaNate
You would take the munged lvl file in your maps sides folder in your BF2 Addon folder.

Then copy that lvl file into your BF2/data/sides folder thing, that will replace your current CIS Side.