mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Changed the mode 1 of NPC combat control
* now requires sfall debugging mode to control all critters.
This commit is contained in:
+1
-1
@@ -623,7 +623,7 @@ PipboyTimeAnimDelay=50
|
||||
|
||||
;Allows you to directly control other critters in combat
|
||||
;Set to 0 to disable
|
||||
;Set to 1 to control all critters in combat
|
||||
;Set to 1 to control all critters in combat (allowed only in sfall debugging mode)
|
||||
;Set to 2 to control all party members
|
||||
ControlCombat=0
|
||||
;If you want to control only specific critters, uncomment the ControlCombatPIDList line and set a comma delimited list of PIDs
|
||||
|
||||
@@ -478,6 +478,8 @@ void PartyControl::OnGameLoad() {
|
||||
void PartyControl::init() {
|
||||
Mode = IniReader::GetConfigInt("Misc", "ControlCombat", 0);
|
||||
if (Mode > 2) Mode = 0;
|
||||
else if (Mode == 1 && !isDebug) Mode = 2;
|
||||
|
||||
if (Mode > 0) {
|
||||
dlogr("Initializing party control...", DL_INIT);
|
||||
std::vector<std::string> pidList = IniReader::GetConfigList("Misc", "ControlCombatPIDList", "", 512);
|
||||
|
||||
Reference in New Issue
Block a user