EnvyDeveloper Posted April 24, 2017 Share Posted April 24, 2017 Essentially, I want to replicate this vanilla functionality for my own factions. For each major faction, a murder of a named NPC seems to trigger the kick out quest (like "Banished from the Institute"). But in the Creation Kit, I don't see any link between the crime faction and the kick out quest. How did the vanilla game do it? Is it hardcoded or is there some secret script which I overlooked? Any help would be appreciated. Link to comment Share on other sites More sharing options...
vkz89q Posted April 24, 2017 Share Posted April 24, 2017 (edited) They have quests to keep track of it. Basically every "important" npc is alias in quest, and that alias has script that sets stage when they are hit/killed/xxx by player(or someone else, depends on properties). Its called default something script, can't remember. For example, when you shoot Father in the face, it will setstage in banished from institute quest. If you want to use that for your own factions, you can make it similar but use defaultcounterondeatha or something script, and when enough kills are done by the player, setstage in the quest that "kicks" player out of the faction. Some counters also need defaultcounterX script in the quest too. There should be vanilla examples in quests. edit: It's called "defaultcounteraliasondeathA" in the alias and "defaultcounterquestA" in the same quest. The quest script will set stages. You can also use b, c, counters if you need to set different stages. Edited April 24, 2017 by vkz89q Link to comment Share on other sites More sharing options...
EnvyDeveloper Posted April 24, 2017 Author Share Posted April 24, 2017 They have quests to keep track of it. Basically every "important" npc is alias in quest, and that alias has script that sets stage when they are hit/killed/xxx by player(or someone else, depends on properties). Its called default something script, can't remember. For example, when you shoot Father in the face, it will setstage in banished from institute quest. If you want to use that for your own factions, you can make it similar but use defaultcounterondeatha or something script, and when enough kills are done by the player, setstage in the quest that "kicks" player out of the faction. Some counters also need defaultcounterX script in the quest too. There should be vanilla examples in quests. edit: It's called "defaultcounteraliasondeathA" in the alias and "defaultcounterquestA" in the same quest. The quest script will set stages. You can also use b, c, counters if you need to set different stages. Thank you. That helped a lot. :) Link to comment Share on other sites More sharing options...
Recommended Posts