508/525 staff of light 65%

Go down

508/525 staff of light 65%

Post  Jalla on Thu Oct 07, 2010 2:57 pm

Description: how to add staff of light with right models.
Difficulty: 1/10
Tested Server: Codeusa 508/525
Files/Classes Modified:/source Equipment.java ,item.cfg /client- model folder and Applet_Sub1.java

CREDITS TO:
me idk how much
ix hybrid xi for finding models idk lols
and ints blahbla


ok download the model there are 2 models. go into ur client->src->models and paste them there, if you already got them replace them.

Staff of light models.rar


then go back to src folder and almoust on the top you wil see Applet_Sub1.java righ click that and edit.


search: switch

and you will see ur customs or something.
and add this one:
Code:
Code:
case 1383:
    class19.anInt330 = 11359;//inventory/drop model
    class19.anInt336 = 1300;//model zoom
    class19.anInt389 = 498;//modelRotation1
    class19.anInt395 = 1600;// model rotation 2
    class19.anInt358 = -1;// model offset 1
    class19.anInt391 = -1;// model offset 2
    class19.anInt390 = 11360;//Male model id
    class19.anInt347 = -1;//male sleeves
    class19.anInt344 = -1;//women sleeves
    class19.anInt387 = 11360;//female model id
    class19.aRSString_362 = Class112.method1668(43, "Staff of light");//Item Name
break;
The case 1383 can u change to what item id u want.

and save and compile then ur done in client.

then go into item.cfg
and search for 1383
and replace this with urs or the id youchanged to
Code:
Code:
item = 1383   Staff_of_light   A_magical_staff_of_ancient_origin...   40000   60000   0   55   70   0   17   0   0   3   2   17   0   72   0
the 40000 and 60000 is the shop price i "think" u can add ur pirces urself

then u got the stats. save

then in equiment.java
then search: public int getCLMagic or something wich requiments the magic lvl

and add

Code:
   if (itemName.equals("Staff of light"))
       return 75;

then search : public int getCLAttack or something wich requiments the atack lvl.

Code:
   if (itemName.equals("Staff of light"))
       return 75;

then save and compile.

THE PRICE CAN U ADD URSELF!

finished product




Curently working on special attack or operate on it custom i cbf with real effects and spec




Last edited by Jalla on Thu Oct 07, 2010 3:04 pm; edited 2 times in total
avatar
Jalla
Veteran

Posts : 12
Join date : 2010-10-07
Age : 23
Location : Norway

View user profile

Back to top Go down

Re: 508/525 staff of light 65%

Post  Ix Hybrid Xi on Thu Oct 07, 2010 2:59 pm

Ive said this before and ill say it again nice release Smile.

_________________
avatar
Ix Hybrid Xi
Forum Administrator
Forum Administrator

Posts : 43
Join date : 2010-10-06

View user profile

Back to top Go down

Re: 508/525 staff of light 65%

Post  Jalla on Thu Oct 07, 2010 3:00 pm

ty Very Happy
avatar
Jalla
Veteran

Posts : 12
Join date : 2010-10-07
Age : 23
Location : Norway

View user profile

Back to top Go down

Re: 508/525 staff of light 65%

Post  Ix Hybrid Xi on Thu Oct 07, 2010 3:02 pm

No Problem Well deserved Smile.

_________________
avatar
Ix Hybrid Xi
Forum Administrator
Forum Administrator

Posts : 43
Join date : 2010-10-06

View user profile

Back to top Go down

Re: 508/525 staff of light 65%

Post  startcode on Fri Oct 08, 2010 7:53 am

good job jalla Smile

startcode
Registered Member
Registered Member

Posts : 14
Join date : 2010-10-07

View user profile

Back to top Go down

Re: 508/525 staff of light 65%

Post  Elitemossy on Fri Oct 08, 2010 11:41 am

Nice tutorial, keep up the good work Smile
avatar
Elitemossy
Registered Member
Registered Member

Posts : 4
Join date : 2010-10-07
Age : 23
Location : UK

View user profile http://Runeking.tk

Back to top Go down

Re: 508/525 staff of light 65%

Post  darker drag on Fri Oct 08, 2010 3:47 pm

Very Happy awesome tutorial keep them comming xD

darker drag
Registered Member
Registered Member

Posts : 1
Join date : 2010-10-07

View user profile

Back to top Go down

Re: 508/525 staff of light 65%

Post  FutureDesigns on Sat Oct 09, 2010 1:28 am

Hey,

Looking pretty Cool there, could have used this if I was still making Servers, ah never mind. Goodluck with those models!

Stickied - FutureDesigns
avatar
FutureDesigns
Forum Designer
Forum Designer

Posts : 26
Join date : 2010-10-07
Age : 27
Location : United Kingdom

View user profile https://www.youtube.com/user/TheTrialsOfChaosClan?feature=mhum

Back to top Go down

Re: 508/525 staff of light 65%

Post  Jalla on Sat Oct 09, 2010 3:06 am

thx mate
avatar
Jalla
Veteran

Posts : 12
Join date : 2010-10-07
Age : 23
Location : Norway

View user profile

Back to top Go down

Nice

Post  KamikaziWolf on Wed Oct 27, 2010 5:32 am

Nice tut dude =]
avatar
KamikaziWolf
Law Enforcer
Law Enforcer

Posts : 17
Join date : 2010-10-27
Age : 21
Location : England

View user profile

Back to top Go down

Re: 508/525 staff of light 65%

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum