Jump to content

Help with LeveledLists/Loot Tables


Perraine

Recommended Posts

Is anyone aware of a levelled list or loot table in the CK that deals specifically with Police Stations? I used the word "Police" as a filter, and nothing came up, and I also scanned through the entire list of LVLI's but couldn't find anything that jumped out as only for police stations. I know the quest for Valentine is linked to (most? all?) police stations, but I doubt I can hang of the back of that quest.

 

I ask, because I've made a Police Uniform and Police Hat (naughty Police Romper for female characters, plus male and female "normal" police uniforms) And I'd like to have them appear as loot (in lockers/footlockers/chests) in police stations, Would I need to create an entire new LVLI and/or manually place the item in each location or is there an easier way???

Link to comment
Share on other sites

As for whether or not there is a specific LL, I do not know... but best and most compatible way to add item to the LL is to inject the item into an existing leveled list via quest stage fragment.

 

Created a start-enabled quest and create stage 0 for it. Click RUN ON START and create log 0. This should allow you to enter in a script fragment. If you cannot, click OK to create the quest and close the window and then open it again. You should be alright to enter the fragment now.

 

In the fragment you create a property for leveleditem pointing to the list you want to use.

 

In the script itself you simply do:

 

leveledlistname.addform(itemname, 1, 1)

 

that means, the item will appear at player level 1 with a quantity of 1.

 

You do that fragment as many times as it takes to get your items added to the list. Ie:

 

leveledlistname.addform(itemnameone, 1, 1)

leveledlistname.addform(itemnametwo, 1, 1)

leveledlistname.addform(itemnamethree, 1, 1)

 

Now, on starting a new game, these items will be in the leveled list for looting purposes. If on existing game, it will take about 24 hours for the containers to respawn and repopulate with the new items.

 

This is how I inject all of my custom consumables to vendors and containers around the game world in my mods... it should look like this:

 

 

Edited by joerqc
Link to comment
Share on other sites

Shoooo, thanks joerqc,.

 

Now were getting into very unfamiliar territory for me. I mainly just faff about with meshes and textures, I've never done any scripting before. I try to understand it, but my brain just refuses to accept the input. I'll see what I can figure out though (was really hoping I could just add to an existing LL though, like say if they had one for Hand Cuffs always at police stations or something <sigh>

Link to comment
Share on other sites

There isn't. There's the generic locker, and generic loot lists for it. The police station ones are just the generic lockers.

 

The simplest way to solve your problem would be to create a "police equipment" form list yourself, duplicate the generic locker form into one specifically for placement in police stations, stock it with your custom formlist, and then replace certain refs in the police station cells with your locker. Should be fairly simple.

Link to comment
Share on other sites

There isn't. There's the generic locker, and generic loot lists for it. The police station ones are just the generic lockers.

 

The simplest way to solve your problem would be to create a "police equipment" form list yourself, duplicate the generic locker form into one specifically for placement in police stations, stock it with your custom formlist, and then replace certain refs in the police station cells with your locker. Should be fairly simple.

I thought it might be something like that. Would that force the precombined/previs to fail though? Adding new containers to the police stations?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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