Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
edit:
I don't mind if thread is later necro-d months later with a solution, at least share please if you have one.
Otherwise it will spawn as a Enemy ;-)
Sorry but that seems incorrect.
I thought at first it worked because I wasn't shot at, BUT.. that was only because the turret was placed flat at 90degrees to the wall, facing toward the sky, so it couldn't target me since it was above my head.. but when I placed the turret on the ground.. it immediately targeted me.So player.placethere I don't think works that way.. I think it's just the long hand version for placethere.
http://steamcommunity.com/sharedfiles/filedetails/?id=920497307
Also, using the turret override program:
http://fallout.wikia.com/wiki/Turret_override_program
Only works on "hardlined" turrets, any idea how to spawn in such things?
edit 2:
After doing some digging, there may be a solution
http://fallout.wikia.com/wiki/Talk:Automated_turret
which might involve
player.placeleveledactoratme
base id of the RobCo turrets (in pest extermination mode)
might be allied to the player.
Anyone have the RobCo turret in extermination mode's base_id?
When i remove it from the factions and then add it with a 1 to the player fraction it wont attack me - settlers shoud be save too they belong to the player faction
*edit* dang and they still attack settlers.. well hell if you dont want set all factions manual Friendly its getting Hard :P
It attacked clara and a settler...
Did try around, it dint attack my settlers or codsworth, but it still did attack Shefflield and Clara even i did add traders fraction as Friendly :P
They litterary attack everything NOT on Friendly (1) list - Neutral gets attacked without mercy and they usualy just defend themself
Thank you for sharing, I went to mechanist layer. typed "help turret 4", and tried some of the listed turret base_ids that stood out to see if any after being placed are friendly, no luck so far, they all immediately attacked. Also found that the only turrets that were left in mechanist layer even after beating it, once turned on are hostile. I read that there were friendly turrets in that level but I haven't found them yet. In researching I found an unrelated thing, a faction missing from the wikia page that prevents NPCs from being companions, it's 00075d56, I added it to the wiki chart http://fallout.wikia.com/wiki/Fallout_4_factions#Technical_factions
Would you mind sharing what console commands you're using so I can troubleshoot with you?
For some reason when I use target_id.addtofaction 0001c21c 0 the turret (which ever one I place) stays hostile..
From reading your response seems you do the following?
target_id.removefromallfactions
target_id.addtofaction 0001c21c 1
correct?
Is there a code to list all current faction an NPC (didn't realize turrets count as NPCs but they do) belongs to?
Thank you for helping!
edit:
tried
target_id.removefromallfactions
target_id.addtofaction 0001c21c 1
and that works beautifully as you wrote, but definitely need to prevent it from killing friendly NPCs.
is the 0 flag for addtofaction mean hostile?
Maybe can just add all the creatures and raider/robot factions as hostile to it if so...
but as you said, they still target everything not in a faction set to friendly on the specific turret.
SameFaction
GetFactionRankDifference
GetInFaction
GetFactionRank
SameFactionAsPC
SetFactionRank
ModFactionRank
SetCrimeFaction
GetIsCrimeFaction
GetFactionReaction
SetFactionReaction
ModFactionReaction
GetPCFactionMurder
SetPCFactionMurder
GetPCEnemyofFaction
SetPCEnemyofFaction
GetPCFactionAttack
SetPCFactionAttack
AddToFaction (Addfac)
RemoveFromFaction (Removefac)
GetFactionCombatReaction
ClearFactionPlayerEnemyFlag <--- this might be useful
ClearActorsFactionsPlayerEnemyFlag <--- this might be useful
RemoveFromAllFactions
GetInSharedCrimeFaction
So those are all the commands from console help faction 0.
Thoughts / experiment results?
Batch File: "Game folder/data/heavy.txt"
player.placeatme 1167A8
picklastref.removefromallfactions
picklastref.addtofaction 0001c21c 1
picklastref.addtofaction 00068043 1
picklastref.addtofaction 0001d289 1
InGame command: "bat heavy"
picklastref can't get and set ID with the returned value :(
Someone will know what function will allow to do it ?