Open main menu
Home
Random
Log in
Settings
About the CreationKit Wiki
Disclaimers
the CreationKit Wiki
Search
Editing
Creating a Custom Crime Faction
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Persuasion=== In the CYRDGCrimeForcegreet branch, create a CYRDGCrimePersuade topic. This will let the player persuade the guard. Make the topic text something like “Any chance I could talk you into overlooking this? (Persuade)” and add an info with the following conditions: *Player: IsTrespassing == 0 AND *Subject: GetCrimeGold > 0 AND *Subject: GetCrimeGoldViolent == 0 AND *Subject: IsBribedbyPlayer == 0 AND *Target: GetActorValue, Speechcraft >= Global: SpeechHard OR *Player: GetEquipped, FormList: TGAmuletofArticulationList == 1 OR Under these conditions, the persuasion will succeed if the player is not trespassing, is not indicted of any violent crimes and has a speech skill of at least 75, or is wearing the Amulet of Articulation. Adjust these if necessary. In the vanilla quest, there are no infos that occur when the conditions aren’t satisfied, so the dialogue option will simply not appear in those cases (see [[Tutorial: Dialogue Speech Checks|Speech Checks]]); add some if you like. Now for the script. In the “Begin:” papyrus fragment box, type a semicolon and hit Compile. This will generate a script which you can see on the right. Close and reopen the info, and check the script’s properties. Add a property with a type of CrimeGuardsScript (don’t choose from the drop-down list) and name it pCGS. Fill it with DialogueCrimeGuards, which should be the only possible value (unless you neglected to remove the script on your duplicated quest). Then, enter the following in the Begin box: <syntaxhighlight lang="Papyrus"> pCGS.PersuadeGuard(akSpeaker) </syntaxhighlight> {{Template:InDepth|It also pays to rename the script and add your prefix so it can’t conflict with scripts from other mods, and it will be easier to scoop all your mod’s scripts from your folders later. You can do this with the “rename” button in the Advanced tab of any fragment. I also like to add something descriptive between the two underscores (usually the topic ID), so this script would be renamed to CYR_TIF_DGCrimePersuade_02000D6B}}
Summary:
Please note that all contributions to the CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
CreationKit:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)