Advanced code examplesSolved

Hey, long time lurker here - I've been making an effort to dig a bit deeper in to the game and I've been messing around on a local server, checking out different stuff and trying to have fun... This week it's been dancing, singing NPCs, painfully categorising effects prefabs in excel and this monstrosity:



This is all Unity chapter 2 level stuff, I'm not sure what it is and it's not for release but it gave me an opportunity to work on structuring and optimising the code correctly as a plugin with all the basic features (even if spinning sulfur nodes is less than optimal)

There's a few obvious glaring 'bugs' here: occasionally unmountable vanishing chair, ores leave their bonus behind (but are still farmable), test spere prefabs (parents to the ore) are visible, terrain detection so bad you wonder why you bothered... all things i've seen in other plugins over the years. It's been interesting seeing how different prefabs respond to manipulation, obviously there are limitations, and there will be bugs using things as they're not meant to be used but ATM I'm just running the experiments trying to gain some understanding of the possibilities.

I'm maybe stuck in a bit of a dead end right now where Unity meets Rust dlls meets porting vb code from the old Oxide forums. I was wondering if anyone has examples of out-there plugins I should look at? I've dug deep on a bunch of plugins this week. I keep coming back to ZoneManager, and almost have my head around it. Are there any other plugins using lower level classes to build custom gameobjects? Or any other interesting solutions, hacks, resources, hints or just well coded plugins I may enjoy looking at because I'm a sad bastard?

I've just discovered DronePilot, which is exactly what I described ffs. Going to study this for a while, incredible work.

Locked automatically