The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ores, Ingots, Skill Requirements?
Author Message
Reflex
Journeyman
*

Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #1
Ores, Ingots, Skill Requirements?
I'm confused how the skill requirements work here. What im confused about is why there are so many skillmakes what is used for what exactly?

Also, how do you specify the chances of mining it? All I seen was in the sphere_items_ores.scp ?

skill=0.1,50.0 - Sphere_Region_Resource.scp whats this used for?
SKILLMAKE=20.0 MINING sphere_item_Ingots.scp - Whats this used for?
SKILLMAKE=MINING 20.0 - sphere_item_ore.scp - whats this used for?
Code:
sphere_region_resource.scp
[REGIONRESOURCE mr_iron]
// t_rock
skill=0.1,50.0
amount=5,15
REAP=i_ore_iron
REGEN=60*60

//End of scp

//start of sphere_item_resources_ingots.scp
[ITEMDEF 01bef]
//DEFNAME2=INGOTS
//DEFNAME2=IRON_INGOT
DEFNAME=i_ingot_iron
TYPE=T_INGOT
RESOURCES=i_ore_iron
SKILLMAKE=20.0 MINING
TDATA1=20.0
TDATA2=50.0
WEIGHT=1
DUPELIST=01bf0,01bf1,01bf2,01bf3,01bf4
CATEGORY=Resources - Mining
SUBSECTION=Ingots
DESCRIPTION=Iron Ingot

//end of scp

//start of sphere_item_ores

[ITEMDEF 019b7]
// DEFNAME2=METAL_ORE_1
DEFNAME=i_ore_iron
NAME=Iron Ore
TYPE=t_ore
SKILLMAKE=MINING 20.0
TDATA1=i_ingot_iron
WEIGHT=1
VALUE=4
DUPELIST=019b8,019b9,019ba
CATEGORY=Resources - Mining
SUBSECTION=Ores
DESCRIPTION=Iron Ore

//end of scp
(This post was last modified: 05-11-2012 12:36 PM by Reflex.)
05-11-2012 12:33 PM
Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #2
RE: Ores, Ingots, Skill Requirements?
Ye thats a point really, in REGIONRESOURCE.

[REGIONRESOURCE mr_Iron]
SKILL= 30,120 // This means If my gathering skill is between 30 and 120 I can get it.
SKILL= 30,50 // Here if my skill is over 50 Im not getting any.

In the ITEMDEF
SKILLMAKE=MINING 20.0 // I need at least 20.0 to smelt, but if regionresource says the maximum is 50 (.i.e SKILL= 30,50) with 20.0 i can smelt but unless my gathering skill is not between 30 and 50 im not extracting this resource.

Then of course in the case of studded armor or something similiar ...
SKILLMAKE= BLACKSMITHING 30.0 TAILORING 30.0 , I need a minimal in both skills...

I wonder if that was SKILLMAKE= BLACKSMITHING 30.0,50.0 TAILORING 30.0,50.0 then with a skill over 50 I couldnt make it....

Thats how I always thought of it, but I wonder if Ive got it right now too !

Anyway --- Helllo Dude !!! Good to see ya again Big Grin
(This post was last modified: 05-11-2012 12:50 PM by Barnabus.)
05-11-2012 12:47 PM
Find all posts by this user Like Post Quote this message in a reply
Reflex
Journeyman
*

Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #3
RE: Ores, Ingots, Skill Requirements?
Yea ... I'm still confused as hell lol so you're saying 1 depends on the other? Nice to see you too man Smile
05-11-2012 12:55 PM
Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #4
RE: Ores, Ingots, Skill Requirements?
I think **** Tongue

In RegionResources the Skill sets the MIN and MAX range for the associated resource skill.
Outside that range you aint chopping that wood or mining that ore.

In the ITEMDEF for resources...
SKILLMAKE provides the skill level needed to work with that material, not gather it.

And in the ITEMDEF for the ITEMS such as ARMOR
The SKILLMAKE, includes the Skill Type and Skill Level to craft that Item..

I hope thats a wee bit clearer Big Grin

Example rusty ore, its for noobs really to help them gain at low skill levels, and if you dont want your GM Miners to mine Rusty just reduce the maximum on the SKILL in Resources. SKILL=10.0,40.00 then as soon as the miner passes 40.0 he will never dig up rusty again, though he can use it because on the skillmake in the ITEMDEF there is only a MIN value and as long as the Miner or Blacksmiths skill is above that value, then they can smelt and craft with the ore.
(This post was last modified: 05-11-2012 01:13 PM by Barnabus.)
05-11-2012 01:05 PM
Find all posts by this user Like Post Quote this message in a reply
Reflex
Journeyman
*

Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #5
RE: Ores, Ingots, Skill Requirements?
Yea, I dont think thats how it works =\ heheh
For example
in region resources
[REGIONRESOURCE mr_iron]
// t_rock
skill=0.1,50.0
amount=5,15
REAP=i_ore_iron
REGEN=60*60

So I'm assuming thats the smelt range ?
What exactly do you edit to modify your chance of smelting the ore?
(This post was last modified: 05-11-2012 03:30 PM by Reflex.)
05-11-2012 03:23 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #6
RE: Ores, Ingots, Skill Requirements?
As written in the wiki :

[REGIONRESOURCE mr_tree]
// lumberjacking default
// t_tree
SKILL=1.0,80.0
AMOUNT=9,30
REAP=i_log
REGEN=60*60*10


Basically this section defines a resource, something that you can gather from the landscape. It compares skill and amount. This particular one says that you may gather a maximum of 9 logs at 1.0 skill and a maximum of 30 logs at 80.0 skill. Anything after that simply increases your chances of getting 30 logs.

So even at 100 you can get iron ore!
05-11-2012 03:45 PM
Find all posts by this user Like Post Quote this message in a reply
Reflex
Journeyman
*

Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #7
RE: Ores, Ingots, Skill Requirements?
I love how people sarcastically say "WiKI" no shit like anyone who devs a sphere shard doesnt use the wiki.. I mean come on ..

Thank you for at least explaining that much, However my final question was how do you specify smelt chance of your ore?
05-11-2012 04:06 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #8
RE: Ores, Ingots, Skill Requirements?
i wasn't sarcastic Shock
05-11-2012 04:12 PM
Find all posts by this user Like Post Quote this message in a reply
Reflex
Journeyman
*

Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #9
RE: Ores, Ingots, Skill Requirements?
Oh, sorry for the assumption. I'm just getting really angry at all of this between fixing armors and ores and fucking with the crafting menus. I've just seen people say RTFM to many people including myself and it gets old ;p Sorry I apologize.
I no joke have been working on blacksmithing for 2 days or so just staring at scripts replicating and modifying the same bullshit and now come to the end and not able to figure out these damn crafting dialogs and smelt chance just got me really pissed ;p
(This post was last modified: 05-11-2012 04:22 PM by Reflex.)
05-11-2012 04:19 PM
Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #10
RE: Ores, Ingots, Skill Requirements?
Aye 9 at 1 and 30 at 80.0 LOL, that sounds about rite, TA darksun84. LOL @ Wiki vs my imagination. Big GrinBig GrinBig Grin
LOL I wonder then if ....
SKILL=0.1,50.0
AMOUNT=9,0
Does what I imagined :>
Reflex your not supposed to eat the pickaxe! Tongue
05-11-2012 08:39 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 5 Guest(s)