WOD script set: changing the skill cap.

Open discussion forum. For topics that do not fit anywhere else.
Post Reply
gundamwing84
Grandmaster Poster
Posts: 178
Joined: Tue Sep 08, 2009 1:57 am

WOD script set: changing the skill cap.

Post by gundamwing84 »

heya guys!

ive been looking through my scripts in the WOD script set for 97. and i cant find where the skill cap settings are, id like to change how far a skill can be trained up to.

any help is appreciated,

Mat
User avatar
atreiu
Grandmaster Poster
Posts: 151
Joined: Mon May 24, 2010 1:08 pm

Re: WOD script set: changing the skill cap.

Post by atreiu »

pkg\systems\attributes\config\settings.cfg - cap
pkg\systems\attributes\config\attributes.cfg - id
pkg\systems\attributes\config\uoskills.cfg - id
gundamwing84
Grandmaster Poster
Posts: 178
Joined: Tue Sep 08, 2009 1:57 am

Re: WOD script set: changing the skill cap.

Post by gundamwing84 »

hmm, i checked through all those config files as soon as you posted that comment, for 97 WOD, but they arnt there(well they are, but they arn't used), because WOD used a custom skill pick called .spec

i also made changes to this .spec to allow more skills, etc. but i wont get too into that.

surprisingly, when i was going through all my .inc files, doing a bit of fine tuning, i found where the skill cap settings are hidden!

thanks for your help, and to anyone who wishes to know where they are, its the file "skills.inc" in your scripts:include package.

the way its set up is(eg):

Code: Select all

function GetBaseSkillCap (byref me, skillid)
	if (!me.acctname)
		return 0;
	endif

	if (skillid == GetObjProperty (me, "primary1"))
		return 1100;
	elseif (skillid == GetObjProperty (me, "tradeskill"))
		return 1100;
	elseif (skillid == GetObjProperty (me, "primary2"))
		return 1100;
	elseif ( skillid == GetObjProperty (me, "primary3") )
		return 1100;
	elseif ( skillid == GetObjProperty (me, "secondary1") )
		return 800;
	elseif ( skillid == GetObjProperty (me, "secondary2") )
		return 800;
	elseif ( skillid == GetObjProperty (me, "secondary3") )
		return 800;
	else
		return 600;
	endif
endfunction
the 800 and 1000, means 80.0 and 100.0

all you do to change them (to say 110) is change

Code: Select all

return 1000;
to

Code: Select all

return 1100;
but be warned, if u wish to change the skill names from say primary, to main skills,

you will also have to edit the name of "primary" to "main skills" through the skills.inc and spec.src

(i spent about 12 hours non stop adding in extra 5 slots for skills because i had no clue how to alter gumps! all those numbers and arrays hahaha. but then again i know how to make gumps now ;) )

anyways, have fun!
Post Reply