#Cannot find References to an item drop

48 messages · Page 1 of 1 (latest)

dry ether
#

I'm trying to change what a specific Scarab Beetle drops but I'm unable to find any references to change the item that's dropped.
The NPC in question is entity 41915066
And I believe it drops a Somber 6

This NPC is located in Deeproot Depths, I've searched the Treasure references & ItemLot Params with no success.
Any help would be appreciated, thanks.

#

Cannot find References to an item drop

wise isle
#

Have searched for the EntityId in the map as well as events?

dry ether
#

I don't see anything listed "EntityId" in the Map Editor

wise isle
#

Look at the scarab, he almost certainly has an EntityId

dry ether
#

Entity ID of the Scarab is 12030354

wise isle
#

Look for that value in the Deeproot Depths event file

dry ether
#

Everything is named in Japanese, what specific param/property am I looking for?

wise isle
#

You aren't looking for these, events are scripts for each map file and special drops like the scarab are handled there so they go right into your inventory without having to pick them up

dry ether
#

So I can't find the referenced drop using Smithbox?

wise isle
#

Not with this type of drop

#

Treasure events here are for items found throughout the map, not dependent upon enemies.

dry ether
#

Well scarab beetles are the only thing so far I've been unable to change

#

Every other drop type is handled through Treasure or baked directly into the params

#

Very strange, but thanks for the help

wise isle
#

Every single drop is defined in ItemLotParam_map, the difference between methods is how it's awarded to you

dry ether
#

But that's what I'm saying, this specific drop isn't listen there, well it probably is but it's un-named for some reason. I've been able to change scarab drops in the past using ItemLotParam_Map

#

But this Somber 6 isn't named, and with no references to go off I'm unable to find it

wise isle
#

It's not listed here because these are not the types of events I am talking about, events are scripts for each map that handle a bunch of things one of which being scripted drops for enemies, you need Darkscript to edit them as they are seperate from the map editor

dry ether
#

But other Scarab drop are listed under ItemLotParam_Map

#

Just with no references

#

I can confirm that changing them here does change the dropped item

wise isle
#

Some params are named and some aren't, also the names in these params aren't From's they are community names. From stripped the params of names when the game was released

dry ether
#

Ye I'm aware of that

wise isle
dry ether
#

I'm just not sure where to look, Under the Event tab I can only find asset references

wise isle
#

The events tab in the map is not the events I am talking about.

#

Download the newest update of Darkscript and you'll be able to edit the events

#

#tools-and-resources message

dry ether
#

Much appreciated, I'll take a look

dry ether
#

Tried opening up event -> m12_03_00_00 in DarkScript
It then opens up the event -> directory & asks for a .dll There is no .dll to select, closing the window just gives an error

solar mist
#

yeah you have to copy oo2core_6_win64.dll from the game install directory

#

to the darkscript folder, next to the .exe

#

it needs it to decompress the event files

dry ether
#

Fixed it, thanks!

solar mist
#

also I was curious and just found the ID myself lol

#

it's 40668

#

for the itemlot

dry ether
#

TY! haha

solar mist
dry ether
#

At least I know how to find it myself in the future

solar mist
#

that instructions calls a parametrized event in common_func, one of the arguments is the itemlot

#

it's the only match for the scarab's entity ID in the map, so that one's easy

dry ether
#

Seeing this makes me have so much more respect for the people who named everything in the params

solar mist
#

yep lol