I have not learned to edit singleplayer game setting so could someone make a (mission.lvl ?) that:
Turns off radar
Allows Team Damage
Thanks!
Quote from: SnowFlakeSnake on December 17, 2012, 06:37:39 PM
I have not learned to edit singleplayer game setting so could someone make a (mission.lvl ?) that:
Turns off radar
Allows Team Damage
Thanks!
Mission.lvl controls neither of those settings.
There is a sensor jam "bonus" but from what I understand, only one team can have it. It can be called in the mission file.
Quote from: Phobos on December 17, 2012, 06:39:33 PM
Mission.lvl controls neither of those settings.
I know but I don't know what file does.
Quote from: Buckler on December 17, 2012, 06:47:43 PM
There is a sensor jam "bonus" but from what I understand, only one team can have it. It can be called in the mission file.
Alright, that would work since only one team needs it. What line calls this bonus?
Is there no way to turn on TD?
Sensor jam hasn't worked from what I've tested in multiplayer but it might in single player.
Radar is always enabled in the instant action you can't change that because it's hard-coded.
I also think that team damage toggle is exe scripted.
You can force team lock in the ifs_sp.lua for instant action by adding this:
ScriptCB_SetCanSwitchSides(nil)
Try one of these in the lua:
ActivateBonus(ALL, "SNEAK_ATTACK")
ActivateBonus(IMP, "SNEAK_ATTACK")
with the appropriate team.
Not sure where this goes but maybe try this, but who knows what the usage of this is:
ScriptCB_SetFriendlyFire
see this post for more details and list:
http://www.swbfgamers.com/index.php?topic=4207.0
Quote from: Buckler on December 17, 2012, 06:58:31 PM
ScriptCB_SetFriendlyFire
You can try
ScriptCB_SetFriendlyFire(nil)
in the mission LUA and it might disable it, or
ScriptCB_SetFriendlyFire(1)
if you want it enabled. I think this might work for SP, but the EXE will override it for multiplayer depending on what you select for server options.
Where in the .lua do I put it?
anywhere after the teams are assigned as 1 or 2
Both caused crash :confused:
Quote from: SnowFlakeSnake on December 17, 2012, 07:10:36 PM
Both caused crash :confused:
does sptest say anything in the log?
Nothing o.O
[spoiler]Opened logfile BFront.log 2012-12-18 1645
Message Severity: 2
.\movie\RedMovie.cpp(467)
Segment 0x889c5d45 does not exist in movie 0xb86e8e36
Message Severity: 2
.\source\Weapon.cpp(1774)
Weapon "imp_weap_inf_bow" missing fire point "hp_fire"
Message Severity: 2
.\source\Weapon.cpp(1774)
Weapon "imp_weap_inf_fusioncutter" missing fire point "hp_fire"
Message Severity: 3
.\graphics\pc\shaders\pcTerrainShader.cpp(176)
pcTerrainShader: detail texture expects L8 format!
Message Severity: 3
.\source\CommandPost.cpp(409)
Command Post missing capture region "CP1Capture"
Message Severity: 3
.\source\CommandPost.cpp(414)
Command Post missing control region "CP1Control"
Message Severity: 2
.\source\CommandPost.cpp(392)
Label "level.hunger2.CP3Label" not localized
Message Severity: 3
.\source\CommandPost.cpp(414)
Command Post missing control region "CP4Control"
Message Severity: 3
.\source\CommandPost.cpp(409)
Command Post missing capture region "CP2Capture"
Message Severity: 3
.\source\CommandPost.cpp(414)
Command Post missing control region "CP2Control"
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 2
.\source\Godray.cpp(284)
GodrayManager: Exceeded maximum number of godrays (300)
Message Severity: 3
.\source\CommandPost.cpp(409)
Command Post missing capture region "CP1Capture"
Message Severity: 3
.\source\CommandPost.cpp(414)
Command Post missing control region "CP1Control"[/spoiler]