THPSX
Banned
I repost it in saints row 4 cuz it don't have other team normally in gat outta hell
I only team behaviour to only found in SRIV mission scripts,
team_make_allies("police", "deckers")
team_make_hostile("stag", "police")
A guess as opposites of neturals ...
It's it team_make_neutral or team_make_passive or team_make_docile or team_make_docile or team_make_impartial team_make_default ?
I try all the ones and there all invalid I trying looking in packfiles by extracting each of the files that has .lua
in no team_make_neturals in any luas not even notoriety.lua that makes the saints hostile to police and luchadores/zin just gain level 1 if level 0 both team goes neutral.
For saints row 4 normally police & luchadores allies, civilian neutrals to civilian (basically), Morningstar and deckers neutral to luchadores but they don't go hostile of firing cuz crosshair is white plus rival gang type.
I don't know how the team started with neutrals/default. If I set civilians make allies they will team up not attack, when set them hostile they will kill other or flee away so I need to function to revert back to neturals without loading the game again.
I could find the 3rd one to restore back neutrals rather than staying hostile and allies to another team forever
I could think its the name of neutral cuz , I seen in GTA V capture base for NPCs behavour friendly, hostile and netural
That's not the codes I found - This is wrong functions names I try to type these as a guess.
team_make_neutral("police", "deckers")
or
team_make_neutrals("police", "deckers")
it didnt work or wrong function name, these aren't in Kinzie's toybox however work in SR3 too.
I think whenever the Notoriety hits zero the saints just set neutral to police/gang, I could find the Notoriety.lua for used function i havent get yet.
I try to do any current gang on undercover to police minigames with guessed team_make_neutrals before I seen it in GTA
if CHANCE_TIME == 0 then
local PLAYERS_TEAM = get_team(LOCAL_PLAYER)
set_team("#FOLLOWER2#",PLAYERS_TEAM)
set_team("#FOLLOWER1#",PLAYERS_TEAM)
set_team("#FOLLOWER3#",PLAYERS_TEAM)
team_make_neutral(PLAYERS_TEAM, "police")
team_make_neutral(PLAYERS_TEAM, "stag")
team_make_neutral(PLAYERS_TEAM, "civilian")
CHANCE_TIME = 1
sandbox_message("Undercover, don't blow it up. It's your only chance. Keep it yourself and your teammates cool.")
else
CHANCE_TIME = 0
local PLAYERS_TEAM = get_team(LOCAL_PLAYER)
team_make_hostile(PLAYERS_TEAM, "police")
team_make_hostile(PLAYERS_TEAM, "stag")
team_make_hostile(PLAYERS_TEAM, "police")
team_make_neutral(PLAYERS_TEAM, "civilian")
sandbox_message("Undercover is cancelled.")
end
delay(0.75)
elseif player_action_is_pressed(B_RIGHT) and not GRENADE_PUSHED then
local PLAYERS_TEAM = get_team(LOCAL_PLAYER)
set_team("#FOLLOWER2#",PLAYERS_TEAM)
set_team("#FOLLOWER1#",PLAYERS_TEAM)
set_team("#FOLLOWER3#",PLAYERS_TEAM)
delay(0.75)
I only team behaviour to only found in SRIV mission scripts,
team_make_allies("police", "deckers")
team_make_hostile("stag", "police")
A guess as opposites of neturals ...
It's it team_make_neutral or team_make_passive or team_make_docile or team_make_docile or team_make_impartial team_make_default ?
I try all the ones and there all invalid I trying looking in packfiles by extracting each of the files that has .lua
in no team_make_neturals in any luas not even notoriety.lua that makes the saints hostile to police and luchadores/zin just gain level 1 if level 0 both team goes neutral.
For saints row 4 normally police & luchadores allies, civilian neutrals to civilian (basically), Morningstar and deckers neutral to luchadores but they don't go hostile of firing cuz crosshair is white plus rival gang type.
I don't know how the team started with neutrals/default. If I set civilians make allies they will team up not attack, when set them hostile they will kill other or flee away so I need to function to revert back to neturals without loading the game again.
I could find the 3rd one to restore back neutrals rather than staying hostile and allies to another team forever
I could think its the name of neutral cuz , I seen in GTA V capture base for NPCs behavour friendly, hostile and netural
That's not the codes I found - This is wrong functions names I try to type these as a guess.
team_make_neutral("police", "deckers")
or
team_make_neutrals("police", "deckers")
it didnt work or wrong function name, these aren't in Kinzie's toybox however work in SR3 too.
I think whenever the Notoriety hits zero the saints just set neutral to police/gang, I could find the Notoriety.lua for used function i havent get yet.
I try to do any current gang on undercover to police minigames with guessed team_make_neutrals before I seen it in GTA
if CHANCE_TIME == 0 then
local PLAYERS_TEAM = get_team(LOCAL_PLAYER)
set_team("#FOLLOWER2#",PLAYERS_TEAM)
set_team("#FOLLOWER1#",PLAYERS_TEAM)
set_team("#FOLLOWER3#",PLAYERS_TEAM)
team_make_neutral(PLAYERS_TEAM, "police")
team_make_neutral(PLAYERS_TEAM, "stag")
team_make_neutral(PLAYERS_TEAM, "civilian")
CHANCE_TIME = 1
sandbox_message("Undercover, don't blow it up. It's your only chance. Keep it yourself and your teammates cool.")
else
CHANCE_TIME = 0
local PLAYERS_TEAM = get_team(LOCAL_PLAYER)
team_make_hostile(PLAYERS_TEAM, "police")
team_make_hostile(PLAYERS_TEAM, "stag")
team_make_hostile(PLAYERS_TEAM, "police")
team_make_neutral(PLAYERS_TEAM, "civilian")
sandbox_message("Undercover is cancelled.")
end
delay(0.75)
elseif player_action_is_pressed(B_RIGHT) and not GRENADE_PUSHED then
local PLAYERS_TEAM = get_team(LOCAL_PLAYER)
set_team("#FOLLOWER2#",PLAYERS_TEAM)
set_team("#FOLLOWER1#",PLAYERS_TEAM)
set_team("#FOLLOWER3#",PLAYERS_TEAM)
delay(0.75)