Usthvalia Posted April 2, 2004 Share Posted April 2, 2004 Hope no-one finds these stupid questions but I've been hunting around and having a rough time getting the Answers. I am busy creating a plugin to add some quests. So far no problem and where the standard classes are involved all's well 9mostly anyway) but there are a few thing that I would be gratefull if someone can help with these scripting issues 1) Does anyone know what the Variables are for Skill Advancement (i.e. I want to give a 5% advancement in Armorer as a reward) ? 2) Does anyone know how to determine Which are the Major and Minor skills on a character ? Hope someone can help Link to comment Share on other sites More sharing options...
Wookiee Posted April 2, 2004 Share Posted April 2, 2004 major and minor no determaning skill levels and incrememnting them by 5% easybegin Generic_Script float temp_Var;to stor the atribute set temp_Var to Player->Armorer;(sp?) if not please use corect spelling if ( temp_Var >= 95 ) set temp_Var to 100 - temp_Var;in case this would push them over the limit of 100 ;just cut a corner and give em the 100 (They earnd it) else set temp_Var to Temp_Var / 20;for 5% endif Player->ModAtmorer, Temp_Var; again use corect spelling for armorer if i have stuffed up stopscript, Generic_Script end hope this helps Link to comment Share on other sites More sharing options...
Usthvalia Posted April 2, 2004 Author Share Posted April 2, 2004 Thanks a Lot but That I had figured ..... Sorry My post was not that clear. What I was really looking for is the Variables for Skill Advancement .... hmmm Let me explain it like this. When you repair Armor you Armorer skill increases. (from 1 to 100 .. once it reaches 100 the Armorer skill increases by 1 point)It is this I want to increase so Advance towards the next skill level. What I have in mind is a horde of quests for you to complete. as an Example a quest to collect 5 pieces for a great Armorer to make a special piece of armor. Total reward 1 point in Armorer. Each time a piece is picked up get a 20% increase I.E Armorer at start is 5 0/100 get one piece armomer now 5 20/100 (if you don't repair any armor inbetween) Hope that makes more sense Link to comment Share on other sites More sharing options...
Wookiee Posted April 2, 2004 Share Posted April 2, 2004 Ahhhh I see what your saying well theoreticly it should be stored in the decimals of the float for the skill/atribute but it isent try player->modArmorer, 0.05and see if that works (just try it in the console) Link to comment Share on other sites More sharing options...
Marxist ßastard Posted April 2, 2004 Share Posted April 2, 2004 You will fail miserably. Link to comment Share on other sites More sharing options...
Usthvalia Posted April 5, 2004 Author Share Posted April 5, 2004 Ok Tried the Decimal Thing. It does not Display in the Skill's Progress Bar (So it is not the Same Variable) However once the Decimals add up to 1 the Skill does increase. So it can be used as an alternate skill advancement method. But still not quite what I am looking for. Again thanks for the help Link to comment Share on other sites More sharing options...
Wookiee Posted April 5, 2004 Share Posted April 5, 2004 yeah that progress towards the next skill point is in the hard code i am fairly sure but if you find it i would be vary interested in this information Link to comment Share on other sites More sharing options...
Usthvalia Posted April 5, 2004 Author Share Posted April 5, 2004 Well I am not about to give up just yet.... If I find anything I will let you all know. Any Ideas on determining Major , Minor and Miscelaneous skills in a script ? Link to comment Share on other sites More sharing options...
Wookiee Posted April 5, 2004 Share Posted April 5, 2004 to my knowlidge improbable to do so but again if you figure out a way please let me know :) Link to comment Share on other sites More sharing options...
Marxist ßastard Posted April 5, 2004 Share Posted April 5, 2004 Man, I'd kill for a gameshark-like utility for PC memory right about now... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.