DingerDan Posted July 5, 2011 Share Posted July 5, 2011 Being a n00b at scripting myself, I figured I'd need someone more experienced for the task at hand. Read the Progress Log for my mod if you want more details. Without further ado, this is the first part I need scripted (first of three) Event: Hit rock w/ pickaxe Process:Chance (depending on mine level eg. lvl1) 35% rustyironore 30% junkore 15% coal 10% yieldfail 5%(relevant to mining level) gem 3% ironore 2% steelore**Chances of finding better ores will increase in deeper mine levelsTHEN calculate chance & outcomeIF yield = yieldfail THEN noevent (wait until next loop)IF yield = rustyironore THEN add rustyironore to playerinv (NOTE: This would have to be relevant to the actor, for I would like this script to work for NPCs as well to simulate a mining economy)*yada yada for each different kind of ore* That would be it for basic mining functionality. I will need scripters to script the behaviour for the rocks as well, I reckon it wouldn't be much more difficult as making a lootable NPC then replacing the .nif with one for a rock. I REALLY don't want it to be like oblivion's current 'silver vein' thing, where you just open the rock like a container and there it is, I would rather the rock either emitted it (for extra realism) or it was simply added to the player's inventory. If you think you're up for this (you'll get a huge mention in the credits once I up it to TEXNexus), either respond to this thread, message me, or send me an e-Mail @ [email protected]. Thanks ^^ Link to comment Share on other sites More sharing options...
Recommended Posts