Thread: Dragonite ore & bar

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 Dragonite ore & bar 
    🍕

    Linus's Avatar
    Join Date
    Dec 2008
    Age
    31
    Posts
    2,779
    Thanks given
    974
    Thanks received
    411
    Rep Power
    0
    Code:
    if(i == 13269){
            itemDef.actions = new String[5];
            itemDef.actions[4] = "Drop";
    		itemDef.name = "Dragonite ore";
    		itemDef.modelID = 2748;
    		itemDef.maleEquip1 = -1;
    		itemDef.femaleEquip1 = -1;
    		itemDef.modelRotation1 = 368;
    		itemDef.modelRotation2 = 1576;
    		itemDef.modelOffset1 = 1;
    		itemDef.modelOffset2 = 15;
    		itemDef.modelZoom = 1400;
    		itemDef.modifiedModelColors = new int[1];
    		itemDef.modifiedModelColors[0] = 36133;
            itemDef.modifiedModelColors[0] = 930;
    		itemDef.originalModelColors = new int[1];
    		itemDef.originalModelColors[0] = 7062;
            itemDef.description = "Worth its size in gold.".getBytes();
    		itemDef.stackable = false;
    	}
    
    	if (i == 13270){
    		itemDef.stackable = true;
            itemDef.actions = new String[5];
            itemDef.actions[4] = "Drop";
    		itemDef.name = "Dragonite ore";
    		itemDef.modelID = 2429;
    		itemDef.maleEquip1 = -1;
    		itemDef.femaleEquip1 = -1;
    		itemDef.modelRotation1 = 552;
    		itemDef.modelRotation2 = 28;
    		itemDef.modelOffset1 = 0;
    		itemDef.modelOffset2 = 2;
    		itemDef.modelZoom = 760;
            itemDef.description = "Swap this at any bank for a Dragonite ore.".getBytes();
    	}
    	
    	if (i == 13271){
            itemDef.actions = new String[5];
            itemDef.actions[4] = "Drop";
    		itemDef.name = "Dragonite bar";
    		itemDef.modelID = 2408;
    		itemDef.maleEquip1 = -1;
    		itemDef.femaleEquip1 = -1;
    		itemDef.modelRotation1 = 196;
    		itemDef.modelRotation2 = 1180;
    		itemDef.modelOffset1 = 1;
    		itemDef.modelOffset2 = -8;
    		itemDef.modelZoom = 820;
    		itemDef.modifiedModelColors = new int[1];
    		itemDef.modifiedModelColors[0] = 36133;
            itemDef.modifiedModelColors[0] = 930;
    		itemDef.originalModelColors = new int[1];
    		itemDef.originalModelColors[0] = 7062;
            itemDef.description = "It's a Dragonite bar.".getBytes();
    	}
    	
    	if (i == 13272){
    		itemDef.stackable = true;
            itemDef.actions = new String[5];
            itemDef.actions[4] = "Drop";
    		itemDef.name = "Dragonite bar";
    		itemDef.modelID = 2429;
    		itemDef.maleEquip1 = -1;
    		itemDef.femaleEquip1 = -1;
    		itemDef.modelRotation1 = 552;
    		itemDef.modelRotation2 = 28;
    		itemDef.modelOffset1 = 0;
    		itemDef.modelOffset2 = 2;
    		itemDef.modelZoom = 760;
            itemDef.description = "Swap this at any bank for a Dragonite bar.".getBytes();
    	}
    Call it whatever you want

    ╠╬╣
    ╦╦
    ╠╬╬╬╣
    ╠╬╬╬╬╬╬╣
    ╠╬╬╬╬╬╬╣
    ╚╩╩╩╩╩╩╝

    ╠╬╬╬╣



    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    true

    DerekH's Avatar
    Join Date
    Dec 2011
    Age
    19
    Posts
    1,183
    Thanks given
    590
    Thanks received
    261
    Rep Power
    164
    Looks neat
    Reply With Quote  
     

  4. #3  
    Registered Member
    Join Date
    Jun 2012
    Posts
    221
    Thanks given
    30
    Thanks received
    32
    Rep Power
    54
    Wrong section.
    Reply With Quote  
     

  5. #4  
    JavaScript Heathen 👹

    frostbit3's Avatar
    Join Date
    Mar 2012
    Age
    29
    Posts
    404
    Thanks given
    381
    Thanks received
    90
    Rep Power
    78
    I remember FrugooScape/UnrealScape having this way back when. Surprised no other servers did it.
    >> real life is pretty much the same as code. off-by-one, naming, and unterminated recursion
    Reply With Quote  
     

  6. #5  
    Client God

    Join Date
    Aug 2009
    Posts
    3,127
    Thanks given
    3
    Thanks received
    617
    Rep Power
    907
    Quote Originally Posted by Juuichi View Post
    Wrong section.
    Deals with models. (Edits the model color and the model it uses is normally already in the 377 cache)

    OT: Looks neat.
    Reply With Quote  
     

  7. #6  
    Registered Member
    Join Date
    Jun 2012
    Posts
    221
    Thanks given
    30
    Thanks received
    32
    Rep Power
    54
    Quote Originally Posted by K4rn4ge View Post
    Deals with models. (Edits the model color and the model it uses is normally already in the 377 cache)

    OT: Looks neat.
    It doesn't deal with models, it's a hardcoded snippet.
    Reply With Quote  
     

  8. #7  
    Registered Member Anaus's Avatar
    Join Date
    Oct 2014
    Posts
    28
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Looks pretty nice, I hope some servers incorporate the model/idea of that. It may be custom, but all RSPS are custom.
    Reply With Quote  
     

  9. #8  
    Registered Member
    Join Date
    Jan 2015
    Posts
    37
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Linus View Post
    Code:
    if(i == 13269){
            itemDef.actions = new String[5];
            itemDef.actions[4] = "Drop";
    		itemDef.name = "Dragonite ore";
    		itemDef.modelID = 2748;
    		itemDef.maleEquip1 = -1;
    		itemDef.femaleEquip1 = -1;
    		itemDef.modelRotation1 = 368;
    		itemDef.modelRotation2 = 1576;
    		itemDef.modelOffset1 = 1;
    		itemDef.modelOffset2 = 15;
    		itemDef.modelZoom = 1400;
    		itemDef.modifiedModelColors = new int[1];
    		itemDef.modifiedModelColors[0] = 36133;
            itemDef.modifiedModelColors[0] = 930;
    		itemDef.originalModelColors = new int[1];
    		itemDef.originalModelColors[0] = 7062;
            itemDef.description = "Worth its size in gold.".getBytes();
    		itemDef.stackable = false;
    	}
    
    	if (i == 13270){
    		itemDef.stackable = true;
            itemDef.actions = new String[5];
            itemDef.actions[4] = "Drop";
    		itemDef.name = "Dragonite ore";
    		itemDef.modelID = 2429;
    		itemDef.maleEquip1 = -1;
    		itemDef.femaleEquip1 = -1;
    		itemDef.modelRotation1 = 552;
    		itemDef.modelRotation2 = 28;
    		itemDef.modelOffset1 = 0;
    		itemDef.modelOffset2 = 2;
    		itemDef.modelZoom = 760;
            itemDef.description = "Swap this at any bank for a Dragonite ore.".getBytes();
    	}
    	
    	if (i == 13271){
            itemDef.actions = new String[5];
            itemDef.actions[4] = "Drop";
    		itemDef.name = "Dragonite bar";
    		itemDef.modelID = 2408;
    		itemDef.maleEquip1 = -1;
    		itemDef.femaleEquip1 = -1;
    		itemDef.modelRotation1 = 196;
    		itemDef.modelRotation2 = 1180;
    		itemDef.modelOffset1 = 1;
    		itemDef.modelOffset2 = -8;
    		itemDef.modelZoom = 820;
    		itemDef.modifiedModelColors = new int[1];
    		itemDef.modifiedModelColors[0] = 36133;
            itemDef.modifiedModelColors[0] = 930;
    		itemDef.originalModelColors = new int[1];
    		itemDef.originalModelColors[0] = 7062;
            itemDef.description = "It's a Dragonite bar.".getBytes();
    	}
    	
    	if (i == 13272){
    		itemDef.stackable = true;
            itemDef.actions = new String[5];
            itemDef.actions[4] = "Drop";
    		itemDef.name = "Dragonite bar";
    		itemDef.modelID = 2429;
    		itemDef.maleEquip1 = -1;
    		itemDef.femaleEquip1 = -1;
    		itemDef.modelRotation1 = 552;
    		itemDef.modelRotation2 = 28;
    		itemDef.modelOffset1 = 0;
    		itemDef.modelOffset2 = 2;
    		itemDef.modelZoom = 760;
            itemDef.description = "Swap this at any bank for a Dragonite bar.".getBytes();
    	}
    Call it whatever you want
    when I spawn a noted ore or bar it no picture shows up on the note. also it wont swap for the item at the bank. Any ideaS?
    Reply With Quote  
     

  10. #9  
    Whatchu talkin bout willis?

    Gary's Avatar
    Join Date
    Sep 2008
    Posts
    4,185
    Thanks given
    699
    Thanks received
    656
    Rep Power
    3514
    Quote Originally Posted by veraflows View Post
    when I spawn a noted ore or bar it no picture shows up on the note. also it wont swap for the item at the bank. Any ideaS?
    you need to add the ints for the noted version.
    Ellie
    Sadly lost my beautiful ellie in july 2018 always going to miss you my girl
    Spoiler for sig too big:
    Attached image

    Attached image
    Reply With Quote  
     

  11. #10  
    anInt69

    Max _'s Avatar
    Join Date
    Feb 2012
    Age
    26
    Posts
    1,801
    Thanks given
    426
    Thanks received
    727
    Rep Power
    599
    Should do the object also
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Dragon rocks/ore/bars
    By Tim Minchin in forum Requests
    Replies: 16
    Last Post: 08-26-2010, 07:08 AM
  2. Full Lunar Armour + Bar + Ore
    By Zebex in forum Models
    Replies: 7
    Last Post: 12-02-2009, 12:18 AM
  3. Replies: 17
    Last Post: 02-13-2009, 03:15 AM
  4. Changing Loading Bar color & Flames color!
    By Ninja Cat in forum Tutorials
    Replies: 14
    Last Post: 12-22-2008, 11:54 AM
  5. My First User Bar!
    By Lumby in forum Showcase
    Replies: 4
    Last Post: 05-31-2007, 05:47 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •