#Regarding Custom Items/Weapons
1 messages · Page 1 of 1 (latest)
https://discord.com/channels/330432627649544202/1357469765421109250
Mostly better write a new expendable class then inherit from something from basegame
Because many checks are you not really able to avoid
Like ItemBase is Firearm, etc
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
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...
actually, the basic procedure most people should use at least imo is this:
track custom items
have eventhandlers with the custom functionality built in
have early return if the item isnt being tracked
yeah basically