#Regarding Custom Items/Weapons

1 messages · Page 1 of 1 (latest)

upper goblet
#

Surprised that no one has asked this yet. But what is the general procedure for implementing custom behaviors for weapons and items? Are there particular classes to inherit? I looked for examples on github but most if not all repos use exiled, which is a dependency I wish to avoid using.

warm crown
#

Because many checks are you not really able to avoid

#

Like ItemBase is Firearm, etc

hasty sun
#

i dont think one (standard procedure) exists for labapi at least right now

#

you should use the dependency above or create your own item tracker

upper goblet
#

So basically atm the only viable way is to use events provided by LabAPI instead of inheriting a firearm from the game assembly?

#

Ill have to do some more digging, but I cant seem to find any of the firearm classes for the weapons in-game in the assembly (Crossvec, E11SR, etc). Unless they are registered dynamically somewhere...

hasty sun