Jump to content

how to distribute Machineguns and Longrifles all over Skyrim???? using spid ?


Recommended Posts

i want to distribute the DAR Rifles (Standalone) for Bandits, Forsworn and maybe Guards i found one video on youtube on how to use spid, but because i´m lazy, i was thinking , maybe it is possible to use the DISTR.ini from the Handguns mod and just replace the description and form id´s with the ones from dar_Rifles ?? i think it should work for the guns but i don´t know if it works for the bullets and i´m a little bit confused about the the last numbers after the actorType ID, i was asking on the nexusmodpage comments about it but didn´t get an answer i would be thankful for some Help

 

so here´s an example what i want to do , this is for the steelgun

 

item    formid  esp(replace with DARRifles)     actortype                                 actortype formid´s

Item=0x80A~HandgunsOfSkyrim.esp|ActorTypeNPC|0001bcc0,00025f95,00088ee4,0009cac0,0009f811,0009f817,0001fd6b,000215d3,00058b3e,000242b2,00039f26,0039f27,000c78e5,00043597

                                                                                                                         i think this is the npc´s level     i´m not shure about this one!?       the % chance

,00043599,00072fe9,00073ee2,000ff12a,00046025,040195ad,000eb091|                    12/120,                               2(20/100)|NONE|1                        |25

Link to comment

Abbreviated response

 

one - Item

two - 0x80A

three  - ~HandgunsOfSkyrim.esp

four - 0001bcc0

five - 20/100,12/120

six - 2

seven - NONE

eight - 1

nine -25

 

From tutorial.txt

 

(1 - Type) =

(2 - ItemID)~

(3 - Mod of Origin)

(4 - People to give)|
(5 - Types of people to give)

(6 - Requirements)

(7 - Traits)

(8 - Count)

(9 - Chance)

 

;(1) = (2)~(3)|(4)|(5)|(6)|(7)|(8)|(9)


;1 - Type of Object
    ;Spell
    ;Perk
    ;Item
    ;Shout
    ;LevSpell
    ;Package
    ;Outfit
    ;Keyword
    ;DeathItem
    ;Faction
;2 - Specific Object ID
;3 - esp that your Object is located in
;4 - People you want to have your object
;5 - Attributes of the people you want to have your object
    ;Faction
    ;Class
    ;CombatStyle
    ;Race
    ;Outfit
    ;NPC
    ;VoiceType
;6 - Requirments for the object to be given
    ;OneHanded = 0
    ;TwoHanded = 1
    ;Marksman = 2
    ;Block = 3
    ;Smithing = 4
    ;HeavyArmor = 5
    ;LightArmor = 6
    ;Pickpocket = 7
    ;Lockpicking = 8
    ;Sneak = 9
    ;Alchemy = 10
    ;Specchcraft = 11
    ;Alteration = 12
    ;Conjuration = 13
    ;Destruction = 14
    ;Illusion = 15
    ;Restoration = 16
    ;Enchanting = 17
;7 - NPC Traits
    ;M - Male
    ;F - Female
    ;U - Unique
    ;S - Summonable
 ;8 - Item Count, Unused if your object is not an Item
 ;9 - How likely your object is to be given to any valid NPC

 

Link to comment

I'd probably use factions in place of each NPC's form ID.

You could assign the faction to all carry the rifles.

 

BanditFaction [FACT:0001BCC0]

ForswornFaction "Forsworn Faction" [FACT:00043599]

IsGuardFaction "GuardFaction (makes an actor a guard)" [FACT:00086EEE]

 

TypeFaction|0001BCC0,00043599,00086EEE

Link to comment
5 hours ago, GOodTimes said:

I'd probably use factions in place of each NPC's form ID.

You could assign the faction to all carry the rifles.

 

BanditFaction [FACT:0001BCC0]

ForswornFaction "Forsworn Faction" [FACT:00043599]

IsGuardFaction "GuardFaction (makes an actor a guard)" [FACT:00086EEE]

 

TypeFaction|0001BCC0,00043599,00086EEE

alright, i did this with the "TypeFaction" method you mentioned, i can´t realy say if it works, did a quick test but i haven´t seen any BanditRambo with a Rifle yet

 

i don´t know , the log seems ok but it say´s 0 items have been added don´t is it because of the % chance?

 

the log

Spoiler

05:30:45:534] po3_SpellPerkItemDistributor v5.2.0
[05:30:45:534] loaded plugin
[05:30:45:591] Keyword Item Distributor (KID) detected : false
[05:30:45:591] *************INI**************
[05:30:45:591]     2 matching inis found
[05:30:45:591]     INI : Data\NPCs_Wear_Amulets_Of_Mara_DISTR.ini
[05:30:45:592]     INI : Data\Rifles_DISTR.ini
[05:31:32:728] ************LOOKUP************
[05:31:32:744]     Starting Spell lookup
[05:31:32:744]     Starting Item lookup
[05:31:32:744] **********PROCESSING**********
[05:31:32:744]     Adding 1/1 spell(s)
[05:31:32:744]     Adding 0/0 perks(s)
[05:31:32:744]     Adding 12/12 items(s)
[05:31:32:744]     Adding 0/0 shouts(s)
[05:31:32:744]     Adding 0/0 leveled spell(s)
[05:31:32:744]     Adding 0/0 package(s)
[05:31:32:744]     Adding 0/0 outfits(s)
[05:31:32:744]     Adding 0/0 keywords(s)
[05:31:32:744]     Adding 0/0 death item(s)
[05:31:32:744]     Adding 0/0 faction(s)
[05:31:32:755] ************RESULT************
[05:31:32:755]     Spells
[05:31:32:755]          [0x48000808] added to 13/10855 NPCs
[05:31:32:780]     Items
[05:31:32:780]          [0x1C000806] added to 0/10855 NPCs
[05:31:32:780]          [0x1C00088A] added to 0/10855 NPCs
[05:31:32:780]          [0x1C000817] added to 0/10855 NPCs
[05:31:32:780]          [0x1C00083A] added to 0/10855 NPCs
[05:31:32:780]          [0x1C000840] added to 0/10855 NPCs
[05:31:32:780]          [0x1C0008A3] added to 0/10855 NPCs
[05:31:32:780]          [0x1C000898] added to 0/10855 NPCs
[05:31:32:780]          [0x1C000837] added to 0/10855 NPCs
[05:31:32:780]          [0x1C00083C] added to 0/10855 NPCs
[05:31:32:780]          [0x1C00083E] added to 0/10855 NPCs
[05:31:32:780]          [0x1C000838] added to 0/10855 NPCs
[05:31:32:780]          [0x1C00083B] added to 0/10855 NPCs
[05:31:32:780]     Hooked leveled actor init

 

the file

 

Rifles_DISTR.ini

 

Link to comment

[06:07:08:129]     Keywords
[06:07:08:129]         TypeBandit [0xFF000F73] added to 798/11013 NPCs
[06:07:08:129]         TypeForsworn [0xFF000F74] added to 242/11013 NPCs
[06:07:08:129]         TypeDunmerMerchant [0xFF000F75] added to 3/11013 NPCs
[06:07:08:129]         TypeDunmerFoodSeller [0xFF000F76] added to 2/11013 NPCs
[06:07:08:129]         TypeDunmerDrinkSeller [0xFF000F77] added to 2/11013 NPCs

Link to comment

well here´s another one , now every npc who got the cheap lead shot from Hanguns, now has a Rifle or MG i just tweaked the chance level and attributes

Spoiler

[20:59:08:292] po3_SpellPerkItemDistributor v5.2.0
[20:59:08:293] loaded plugin
[20:59:08:349] Keyword Item Distributor (KID) detected : false
[20:59:08:349] *************INI**************
[20:59:08:350]     2 matching inis found
[20:59:08:350]     INI : Data\NPCs_Wear_Amulets_Of_Mara_DISTR.ini
[20:59:08:353]     INI : Data\Rifles_DISTR.ini
[21:01:00:334] ************LOOKUP************
[21:01:00:350]     Starting Spell lookup
[21:01:00:350]     Starting Item lookup
[21:01:00:350] **********PROCESSING**********
[21:01:00:350]     Adding 1/1 spell(s)
[21:01:00:350]     Adding 0/0 perks(s)
[21:01:00:350]     Adding 12/12 items(s)
[21:01:00:350]     Adding 0/0 shouts(s)
[21:01:00:350]     Adding 0/0 leveled spell(s)
[21:01:00:350]     Adding 0/0 package(s)
[21:01:00:350]     Adding 0/0 outfits(s)
[21:01:00:350]     Adding 0/0 keywords(s)
[21:01:00:350]     Adding 0/0 death item(s)
[21:01:00:351]     Adding 0/0 faction(s)
[21:01:00:375] ************RESULT************
[21:01:00:375]     Spells
[21:01:00:375]          [0x48000808] added to 22/10855 NPCs
[21:01:00:375]     Items
[21:01:00:375]          [0x1C000806] added to 837/10855 NPCs
[21:01:00:375]          [0x1C00088A] added to 325/10855 NPCs
[21:01:00:375]          [0x1C000817] added to 230/10855 NPCs
[21:01:00:375]          [0x1C00083A] added to 70/10855 NPCs
[21:01:00:375]          [0x1C000840] added to 44/10855 NPCs
[21:01:00:375]          [0x1C0008A3] added to 34/10855 NPCs
[21:01:00:375]          [0x1C000898] added to 176/10855 NPCs
[21:01:00:375]          [0x1C000837] added to 13/10855 NPCs
[21:01:00:375]          [0x1C00083C] added to 35/10855 NPCs
[21:01:00:375]          [0x1C00083E] added to 9/10855 NPCs
[21:01:00:375]          [0x1C000838] added to 50/10855 NPCs
[21:01:00:375]          [0x1C00083B] added to 306/10855 NPCs
[21:01:00:375]     Hooked leveled actor init
 

 

Spoiler

spidrifles.jpg.13d4e1fb2978630441a782a2f89bf8da.jpg

 

Rifles_DISTR.ini

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use