Content Development: Harvesting
Re: Content Development: Harvesting
[quote="Jakkal"]Also, another dumb question for you: How do we separate the mob levels in starting the harvesting? For example, I believe skinning started at level 5 mobs. Anything levels 1-4 wasn't skinnable. But we have some mobs in game, (eg: Lobo in Halgarad) that go from level 3 to level 5. Should we go the simpler route and make it so Lobos can't be harvested at all?[/quote]
Edited the script in your post, the circle_random_small.lua script has an extra function in it that performs the actual movement you can call directly from your NPC's script. As far as having only certain levels that can be harvested, you can handle that through the Lua function. Just leave the harvesting ID in the pawn table blank and create a spawn script that checks the level on spawning like you're doing there - except only apply the harvesting ID if >= 5 or whatever the check needs to be.
Edited the script in your post, the circle_random_small.lua script has an extra function in it that performs the actual movement you can call directly from your NPC's script. As far as having only certain levels that can be harvested, you can handle that through the Lua function. Just leave the harvesting ID in the pawn table blank and create a spawn script that checks the level on spawning like you're doing there - except only apply the harvesting ID if >= 5 or whatever the check needs to be.