Page 1 of 1

LUA Weaponry - Force Hypnotize - Solved

Posted: Fri Jul 31, 2009 5:25 pm
by Fiodis
In accordance with the Unconventional Weapon Ideas thread, I tried making a Force Hypnotize weapon which would switch the team of the victim, to make him on your side.

The code crashes. What could be wrong?

Code: Select all

OnObjectDamage(
		function(victim, hypnotizer)
			if hypnotizer == nil then return end
			if GetCharacterTeam(hypnotizer) == ATT then
				if GetObjectLastHitWeaponClass(victim) == "rep_weap_hypnotize" then
					SetObjectTeam(victim, 1) 
				end
			end
			)
OnObjectDamage(
		function(victim, hypnotizer)
			if hypnotizer == nil then return end
			if GetCharacterTeam(hypnotizer) == DEF then
				if GetObjectLastHitWeaponClass(victim) == "rep_weap_hypotize" then
					SetObjectTeam(victim, 2)
				end
			end
			end
			)
[/size]

Re: LUA Weaponry - Force Hypnotize

Posted: Fri Jul 31, 2009 5:41 pm
by [RDH]Zerted
You can't change the team of a character. You want to change the team of the character's unit. Use GetCharacterUnit() on victim and change the team of that. Characters aren't objects, but units are.

Also, it would be better/more efficient for the game if you combined the two event callbacks into one. Use an if statement. Something similar to: if GetCharacterTeam == ATT then otherTeam=1 else otherTeam=2 end ... SetObjectTeam(unit,otherTeam). There is also a function that gets the other team. You could use that instead, but I don't remember its name...

You should have initially posted your debug log too.

Re: LUA Weaponry - Force Hypnotize

Posted: Fri Jul 31, 2009 5:54 pm
by Fiodis
Updated code:

Code: Select all

OnObjectDamage(
		function(victim, hypnotizer)
			if hypnotizer == nil then return end
			if GetCharacterTeam(hypnotizer) == ATT then
				if GetObjectLastHitWeaponClass(victim) == "rep_weap_hypnotize" then
					victims_unit = GetCharacterUnit(victim)
					SetObjectTeam(victims_unit, 1) 
				end
			end
			)
OnObjectDamage(
		function(victim, hypnotizer)
			if hypnotizer == nil then return end
			if GetCharacterTeam(hypnotizer) == DEF then
				if GetObjectLastHitWeaponClass(victim) == "rep_weap_hypotize" then
					vicimts_unit = GetCharacterUnit(victim)
					SetObjectTeam(victims_unit, 2)
				end
			end
			end
			)
[/size]
It still crashes. I'll post the mungelog, because there is one.

Code: Select all

C:\BF2_ModTools\data_TES\_BUILD\..\..\ToolsFL\Bin\luac.exe: ..\..\common\scripts\TES\TESc_con.lua:95: unexpected symbol near `)'
ERROR[scriptmunge scripts\TES\TESc_con.lua]:Could not read input file.ERROR[scriptmunge scripts\TES\TESc_con.lua]:Could not read input file. [continuing]
   2 Errors    0 Warnings

ERROR[levelpack mission\TESc_con.req]:Expecting bracket, but none was found.
File : munged\pc\tesc_con.script.req(1)...

ucft <--
ERROR[levelpack mission\TESc_con.req]:Expecting bracket, but none was found.
File : munged\pc\tesc_con.script.req(1)...

ucft <--

   2 Errors    0 Warnings
Line 95 is:

Code: Select all

					SetObjectTeam(victims_unit, 1) 
				end
			end
			) -- This one, right in the middle of the code.
OnObjectDamage(
		function(victim, hypnotizer)
			if hypnotizer == nil then return end
I'm not sure how to do that stuff you said about otherTeam = 1.

Re: LUA Weaponry - Force Hypnotize

Posted: Fri Jul 31, 2009 5:58 pm
by DarthD.U.C.K.
you may have another funktion as parent of the two onobjectdamage functions
but if you dont, you have on end too less/much
(it may be wrong, i have no real idea of programming)

Re: LUA Weaponry - Force Hypnotize

Posted: Fri Jul 31, 2009 6:21 pm
by Fiodis
Both are inside ScriptPostLoad, right before the last "end" which is before ScriptInt. Is that bad?

Re: LUA Weaponry - Force Hypnotize

Posted: Fri Jul 31, 2009 6:26 pm
by DarthD.U.C.K.
i dont know, it just wondered that there seemed to be one end too less/much

Re: LUA Weaponry - Force Hypnotize

Posted: Fri Jul 31, 2009 6:33 pm
by Fiodis
All my other scripts work just fine inside ScriptPostLoad....and I think I have the right amount, and that the error is caused by something else. Maybe.

EDIT - Hang on, got it. I was missing an end in the first OnObjectDamage function to close one of the if statements.

EDIT - With that put in, it no longer crashes, but it also doesn't work.

Error Log:
Hidden/Spoiler:
[code]Opened logfile BFront2.log 2009-07-31 1739
shell_interface: Entered
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
Mission Checker: Entered addme
Mission Checker: addme: Now listening in on AddDownloadableContent() calls
Mission Checker: Exited addme
Found side\rvs.lvl. Adding ADS's extra missions
Found side\rvs.lvl. Adding BGL's extra KotOR missions
Found ..\..\addon\BDT\data\_LVL_PC\SIDE\dark.lvl. Adding BGL's extra Dark Times missions
Found ..\..\addon\ADS\data\_LVL_PC\ADS\ADS.lvl. Adding ADS's extra Dark Times missions
prev = none iLastPage = nil
prev = texture iLastPage = 1
prev = texture iLastPage = 2
prev = texture iLastPage = 3
ifs_legal.Exit

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

ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadProfile
ifs_saveop_DoOps LoadProfile
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: 0520EB04
The key, value is: era_g 1
The key, value is: mode_con_c 1
The key is mapluafile, the formated value is: TES<A>_<B>
The key, value is: bSelected 1
The key, value is: era_c 1
The key, value is: mode_con_g 1
The key, value is: mode_eli_g 1
The key, value is: isModLevel 1
custom_printTable(): Returning
custom_printTable(): table: 04DF672C
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: TESc_con idx: 1
this.CurButton = _map_add
cur_button = nil
this.CurButton = Launch
cur_button = nil

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

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

Message Severity: 2
.\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
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
.\Memory\RedMemoryPool.cpp(317)
Memory pool "ClothData" set item count after being allocated

Message Severity: 2
.\Source\SoldierAnimationData.cpp(249)
SoldierAnimationData[982880fe]::Animation[stand_attack1b_full]::BlendTimeTo: unknown anim 'stand_attack1b_end_upper' [79fbec9e]

Message Severity: 2
.\Source\SoldierAnimationData.cpp(249)
SoldierAnimationData[982880fe]::Animation[stand_attack1b_full]::BlendTimeTo: unknown anim 'stand_attack1c_upper' [c877aedf]

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

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

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

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

Message Severity: 2
.\Source\Combo.cpp(3324)
Combo[eede5a43]::Animation: failed to add 'stand_dashflip2' [8382b8c3]

Message Severity: 2
.\Source\SoldierAnimationData.cpp(249)
SoldierAnimationData[eede5a43]::Animation[stand_dashflip]::BlendTimeTo: unknown anim 'stand_dashflip2_upper' [d7318c88]

Message Severity: 2
.\Source\Combo.cpp(2290)
Combo[eede5a43]::State[DASHFLIP3]::Animation: failed to add 'stand_dashflip2' [8382b8c3]

Message Severity: 2
.\Source\Combo.cpp(2290)
Combo[eede5a43]::State[DASHFLIP4]::Animation: failed to add 'stand_dashflip2' [8382b8c3]

Message Severity: 2
.\Source\Combo.cpp(3324)
Combo[eede5a43]::Animation: failed to add 'jumpattack_land' [7d5471df]

Message Severity: 2
.\Source\Combo.cpp(2290)
Combo[eede5a43]::State[JUMPATTACK_FALL]::Animation: failed to add 'jumpattack_fall' [e245242b]

Message Severity: 2
.\Source\Combo.cpp(2290)
Combo[eede5a43]::State[JUMPATTACK_END]::Animation: failed to add 'jumpattack_end' [b8430a5b]

Message Severity: 2
.\Source\Combo.cpp(2290)
Combo[eede5a43]::State[JUMPATTACK_LAND]::Animation: failed to add 'jumpattack_land' [7d5471df]

Message Severity: 2
.\Source\VOHelper.cpp(183)
VOSound (rep1_inf_pc_com_hostile_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
.\Source\VOHelper.cpp(183)
VOSound (rep1_inf_pc_com_bacta_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
.\Source\VOHelper.cpp(183)
VOSound (rep1_inf_pc_com_mechanic_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
.\Source\VOHelper.cpp(183)
VOSound (rep1_inf_pc_com_ammo_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
.\Source\VOHelper.cpp(183)
VOSound (rep1_inf_pc_com_transport_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
.\Source\VOHelper.cpp(183)
VOSound (rep1_inf_pc_com_backup_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
.\Source\VOHelper.cpp(183)
VOSound (rep1_inf_pc_com_clear_area_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
.\Source\VOHelper.cpp(183)
VOSound (rep1_inf_pc_com_defend_inVehicle): unknown modifier "InVehicle"

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

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

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

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

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

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

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

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

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

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

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

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

Message Severity: 3
.\Source\HUDManager.cpp(619)
HUD unable to find HUD element type 0x16ce484a

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

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

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

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

Message Severity: 2
.\Source\Combo.cpp(2290)
Combo[104726dc]::State[DASHATTACK]::Animation: failed to add 'stand_dashattack' [349ceeb4]

Message Severity: 2
.\Source\Combo.cpp(2290)
Combo[104726dc]::State[DASHATTACK2]::Animation: failed to add 'stand_dashattack' [349ceeb4]

Message Severity: 2
.\Source\Combo.cpp(3324)
Combo[104726dc]::Animation: failed to add 'jumpattack_land' [7d5471df]

Message Severity: 2
.\Source\Combo.cpp(2290)
Combo[104726dc]::State[JUMPATTACK_FALL]::Animation: failed to add 'jumpattack_fall' [e245242b]

Message Severity: 2
.\Source\Combo.cpp(2290)
Combo[104726dc]::State[JUMPATTACK_END]::Animation: failed to add 'jumpattack_end' [b8430a5b]

Message Severity: 2
.\Source\Combo.cpp(2290)
Combo[104726dc]::State[JUMPATTACK_LAND]::Animation: failed to add 'jumpattack_land' [7d5471df]

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1027

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

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

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

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

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

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

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

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

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1030

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1033

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1036

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1039

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1042

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1045

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1048

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

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1051

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1054

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1057

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

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1060

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1063

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

Message Severity: 2
.\Graphics\Pc\pcRedStencilShadow.cpp(892)
No shadow data!

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1066

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 1538

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1069

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 1540

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1072

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 1542

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 1544

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 1546

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

Message Severity: 2
.\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: rep_hero_cloakedanakin
uf_updateClassIndex(): Added class: rep_hero_kiyadimundi
uf_updateClassIndex(): Added class: cis_hero_grievous

Message Severity: 2
.\Source\SkyManager.cpp(108)
Skyfile NearSceneRange is in old format

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

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=262503c8: trying to replace "myg1_bldg_central_building" with "myg1_bldg_central_building2"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=2374dd79: trying to replace "myg1_bldg_small_spiral_ruin1" with "myg1_bldg_small_spiral_ruin10"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=a977ef02: trying to replace "myg1_bldg_small_spiral_ruin2" with "myg1_bldg_small_spiral_ruin20"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=461eae00: trying to replace "myg1_bldg_broken_spire" with "myg1_bldg_broken_spire1"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=a777ebdc: trying to replace "myg1_bldg_small_spiral_ruin2" with "myg1_bldg_small_spiral_ruin22"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=43931069: trying to replace "myg1_bldg_large_platform_b_collisions" with "myg1_bldg_large_platform_b_collisions1"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=659016e9: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs5"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=5a5065a3: trying to replace "myg1_bldg_stump_spiral" with "myg1_bldg_stump_spiral8"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=1b9ebd7c: trying to replace "myg1_bldg_spiral_platform" with "myg1_bldg_spiral_platform1"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=aa77f095: trying to replace "myg1_bldg_small_spiral_ruin2" with "myg1_bldg_small_spiral_ruin21"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=302bce8b: trying to replace "myg1_bldg_spiral_ruin" with "myg1_bldg_spiral_ruin1"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=6690187c: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs2"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=5b809ce0: trying to replace "myg1_bldg_pan_walkway_right" with "myg1_bldg_pan_walkway_right1"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=64901556: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs4"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=deba1042: trying to replace "myg1_bldg_rock_face" with "myg1_bldg_rock_face1"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=67901a0f: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs3"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=62901230: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs6"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=69901d35: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs1"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=60aeb225: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster15"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=2074d8c0: trying to replace "myg1_bldg_small_spiral_ruin1" with "myg1_bldg_small_spiral_ruin13"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=7bb06bf7: trying to replace "myg1_bldg_main_bridge" with "myg1_bldg_main_bridge6"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=2174da53: trying to replace "myg1_bldg_small_spiral_ruin1" with "myg1_bldg_small_spiral_ruin12"

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 1548

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1075

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 1550

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 1552

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 1554

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=f7dd5f55: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large3"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=f0dd5450: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large4"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=28a3b052: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster1"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=59aea720: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster12"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=f5dd5c2f: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large1"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=f2dd5776: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large6"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=f1dd55e3: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large5"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=25a3ab99: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster4"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=f6dd5dc2: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large2"

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=24a3aa06: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster5"

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1078

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 1556

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 1558

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 1560

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 376

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 380

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 384

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 388

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 392

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 396

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 400

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 404

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 408

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 412

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 416

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 420

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 424

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 428

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 432

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 436

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 440

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 444

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 448

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 452

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 456

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 460

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 464

Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 468

Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_thrown_restfrontsoft(_upper)


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_thrown_restfrontsoft(_lower)


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_thrown_restbacksoft(_upper)


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_thrown_restbacksoft(_lower)


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_stand_death_forward(_upper)


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_stand_death_forward(_lower)


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_stand_death_backward(_upper)


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_stand_death_backward(_lower)


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_stand_death_left(_upper)


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_stand_death_left(_lower)


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_stand_death_right(_upper)


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_stand_death_right(_lower)


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2062)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_choking


Message Severity: 2
.\Source\SoldierAnimatorClass.cpp(2062)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_drive

ifs_sideselect_fnEnter(): Map does not support custom era teams
ifs_sideselect_fnEnter(): The award settings file does not exist
fakeconsole_functions: AddCommand: Not adding command: Unlock Vehicles
fakeconsole_functions: AddCommand: Not adding command: Force No Views
fakeconsole_functions: AddCommand: Not adding command: Allow CP Capture
fakeconsole_functions: AddCommand: Not adding command: Not Immune To Mines
fakeconsole_functions: AddCommand: Not adding command: Disable Tumble Recovery
fakeconsole_functions: AddCommand: Not adding command: Allow AI Spawn 1
fakeconsole_functions: AddCommand: Not adding command: Allow AI Spawn 2
fakeconsole_functions: AddCommand: Not adding command: Team Auto-assign On
fakeconsole_functions: AddCommand: Not adding command: Heros SP Rules Off
fakeconsole_functions: AddCommand: Not adding command: Heros SP Scripted Off
fakeconsole_functions: AddCommand: Not adding command: Menu Sounds On
fakeconsole_functions: AddCommand: Not adding command: No Flee Just Die
fakeconsole_functions: AddCommand: Not adding command: Restore Award Effects
fakeconsole_functions: AddCommand: Not adding command: Allow Victory
fakeconsole_functions: AddCommand: Not adding command: AI AutoBalance Off
fakeconsole_functions: AddCommand: Not adding command: AI BlindJetJumps Off
fakeconsole_functions: AddCommand: Not adding command: Hide Team Points
fakeconsole_functions: AddCommand: Not adding command: Remove JetPacks
ifs_fakeconsole: Is runnable: Unending Map function: 04F401AC
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 0
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 1
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 2
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 3
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 4
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 5
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 6
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 7
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 8
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 9
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 10
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 11
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 12
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 13
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 14
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 15
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 16
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 17
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 18
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 19
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 20
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 21
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 22
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 23
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 24
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 25
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 26
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 27
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 28
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 29
uf_applyFunctionOnTeamUnits(): Team, Unit: 1 30
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 0
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 1
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 2
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 3
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 4
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 5
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 6
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 7
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 8
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 9
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 10
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 11
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 12
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 13
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 14
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 15
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 16
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 17
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 18
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 19
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 20
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 21
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 22
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 23
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 24
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 25
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 26
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 27
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 28
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 29
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 30
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 31
uf_applyFunctionOnTeamUnits(): Team, Unit: 2 32
ifs_fakeconsole: Is runnable: Remove Point Limits function: 04F56B2C
ifs_fakeconsole: Is runnable: Remove Award Effects function: 04F56C78

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub8]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub8]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub8]

Message Severity: 2
.\Source\FLEffect.cpp(427)
Attach: model '' [f4e1717f] has no hardpoint '' [845f8034]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub8]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub146]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub146]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub146]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub146]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub146]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub146]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub146]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub146]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub146]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub146]

Message Severity: 2
.\Source\FLEffect.cpp(427)
Attach: model '' [f4e1717f] has no hardpoint '' [845f8034]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub146]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.33] in node [Hub7]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.33] in node [Hub8]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.33] in node [Hub7]

Message Severity: 2
.\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [MEDIUM] radius [4.72] in node [Hub8]
[/code]

Re: LUA Weaponry - Force Hypnotize

Posted: Fri Jul 31, 2009 9:58 pm
by [RDH]Zerted

Code: Select all

OnObjectDamage(
		function(victim, hypnotizer)
			if hypnotizer == nil then return end

                        --only care about when victim is hit with hypnotizing weapon
                        if GetObjectLastHitWeaponClass(victim) ~= "rep_weap_hypnotize" then return end

                        --determine the team to move the victim to
                        otherTeam = 2
			if GetCharacterTeam(hypnotizer) == ATT then
                            otherTeam = 1
                        end

			victims_unit = GetCharacterUnit(victim)
			SetObjectTeam(victims_unit, 1) 
		end
	)
I'm typing on a broken keyboard, so there may be typos. Try that code. If it crashes, post the error log. If it doesn't work but the game runs fine, reread the scripting doc to make sure OnObjectDamage's format is correct and make sure the weapon check works. The code goes in ScriptPostLoad.

Re: LUA Weaponry - Force Hypnotize - Still Unsolved!

Posted: Sat Aug 01, 2009 12:50 pm
by Fiodis
I don't see any typos, I think. The game runs fine, but the code still fails. Rep_weap_hypnotize is just Force Lightning that I edited to do only 1 damage. Could that be an issue? I also edited the code slightly, keeping it in ScriptPostLoad, but it still doesn't work.

Code: Select all

forcehypnotize = OnObjectDamage(
      function(victim, hypnotizer)
         if hypnotizer == nil then return end

                        --only care about when victim is hit with hypnotizing weapon
                        if GetObjectLastHitWeaponClass(victim) == "rep_weap_hypnotize" then return end

                        --determine the team to move the victim to
                        otherTeam = 2
         if GetCharacterTeam(hypnotizer) == ATT then
                            otherTeam = 1
                        end

         victims_unit = GetCharacterUnit(victim)
         SetObjectTeam(victims_unit, 1) 
      end
   )



EDIT - Got it to work! :D

Revised code, for those who are interested:

Code: Select all

OnObjectDamage(
	function(victim, hypnotizer)
         if hypnotizer == nil then return end
			--only care about when victim is hit with hypnotizing weapon
            if GetObjectLastHitWeaponClass(victim) == "rep_weap_hypnotize" then
				SetProperty(victim, "Team", 2)
			end
		end
	)
You'll notice there's no team check. I decided, well, ODF work is easier than LUA, so I'll make another, different ODF for the opposite team, and use a copy of the above code with a different weapon check.