Jump to content

Pantheon

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by Pantheon

  1. @Emistry, @Technoken, @sader1992, @TheDerpySupport, @AnnieRuru

    Thanks for the help guys, I trying all the tut you tell me and it is really amazing and some works fine and other hmmm let say it works fine as well but don't fit to what I expecting. I'm try to explore til now to make my brother's server unique from others (I don't think so, maybe some had this feature), and I ended up to this final decision to the wings.

    So, I remade Dragon Wings and I want it to be Armor Type (Headgear, Armor, etc params in item_db.txt) and the location is Lower Headgear. I want it to appear in the back of the character like the ROBE behavior (appears behind the char sprite), I try the Archangel Wings (2573) to change his location in item_db.txt to 1 (lower headgear) and it appears GOGGLES (VIEWID 1 in accname and accesoryid). That's why I request or asking for help in script in previous Phoenix Wings and I said it works fine but the problem is, the item don't appear in EQUIPMENT WINDOW (Alt+Q) and it still the Orange Phoenix Wings and all jobs. BUT NVM guys, if you can teach how to do it better or simple maybe hard way but its behavior will change to ROBE behavior, that when you open the equipment window it appears also and that's fine.

    Thanks in advance.

    Offtopic: how to post a Jpeg file from my computer. Thanks :)

  2. 4 minutes ago, Emistry said:
    
    ........{ setlook LOOK_HEAD_BOTTOM, callfunc("func_WingSprite"); }, {}, {}
    
    function	script	func_WingSprite	{
    	switch (BaseJob) {
    		case Job_Knight: return <wing_sprite_id_1>;
    		case Job_Crusader: return <wing_sprite_id_1>;
    		case Job_Blacksmith: return <wing_sprite_id_1>;
    		case Job_Alchemist: return <wing_sprite_id_1>;
    		case Job_Hunter: return <wing_sprite_id_1>;
    		case Job_Bard: 
    		case Job_Dancer:
    			return <wing_sprite_id_1>;
    		case Job_Wizard: return <wing_sprite_id_1>;
    		case Job_Sage: return <wing_sprite_id_1>;
    		case Job_Priest: return <wing_sprite_id_1>;
    		case Job_Monk: return <wing_sprite_id_1>;
    		default: return;
    	}
    	return;
    }

     

    What if sir if you put gender, like paladin male = spriteid 1 then female paladin = spriteid 2 thanks ?

     

  3. @TheDerpySupport @sader1992 THANKS FOR YOUR HELP GUYS, I READ THE SCRIPT_COMMAND.TXT AND I FOUND SOME ANSWERS TO MY PROBLEM AND NOW IM TESTING IT IN THE OFFLINE SERVER I HAVE,  ONE MORE THING IS IT NATURAL THAT IT WILL NOT APPEAR IN THE EQUIPMENT WINDOW? I JUST USE VH AS A SAMPLE.

    1.bmp

  4. 5 minutes ago, TheDerpySupport said:

    You will need to add if statements for each job check

    
    		case Job_Paladin:
    			if(Sex == 0){//female
    			changelook LOOK_HEAD_BOTTOM, 3000;
    			}else{ 
    			changelook LOOK_HEAD_BOTTOM, 3001;}
    			break;

     

    Thanks sir @TheDerpySupport I will try it now, I know how to put the item script but base on @Technoken just stated just below the item script, the "script", is that sa txt file like "SCRIPT_ZXCASDQWE.txt" and what folder will put that if that is the case?

  5. 1 hour ago, Technoken said:

    Try
    item script:

    
    {},{ doevent "zxcasdqwe::OnEquip"; },{};

    script:

    
    -	script	zxcasdqwe	-1,{
    end;
    
    OnEquip:
    	switch(Class) {
    		case Job_Paladin:
    			changelook LOOK_HEAD_BOTTOM, 3000;
    			break;
    		case Job_Lord_Knight:
    			changelook LOOK_HEAD_BOTTOM, 3001;
    			break;
    		case Job_Champion:
    			changelook LOOK_HEAD_BOTTOM, 3002;
    			break;
    		default:
    			break;
    	}
    	end;
    }

     

    Thank you so sir @Technoken for the script I will try this later, btw sir what if what id sir I add gender like champion girl VIEWID 3000 and champion boy 3001, paladin girl 3003 and paladin boy 3004 thanks again sirrrrrrr ???

  6. I want to make the specific wing to be unique in each job, example if the paladin equip the wing, it will view as red wing, if lord knight equip will view as blue wing and if the champion equip it will view as green wing. But the item will stay in the same ID not different item, so sir what should I put in OnEquip changelook script with different job and on UnEquip.

     

    accessoryid.lua

    ACCESSORY_RED_WING = 3000,

    ACCESSORY_BLUE_WING = 3001,

    ACCESSORY_GREEN_WING = 3002

    accname.lua

    [ACCESSORY_IDs.ACCESSORY_RED_WING] = “_RED_WING”,

    [ACCESSORY_IDs.ACCESSORY_BLUE_WING] = “_BLUE_WING”,

    [ACCESSORY_IDs.ACCESSORY_GREEN_WING] = “_GREEN_WING”

     

    item_db.txt

    { Script },{ OnEquip_Script },{ OnUnequip_Script }

     

    Please help me with thia guys, thanks ? 

  7. 4 minutes ago, sader1992 said:

    look more into this commands

    
    *setlook <look type>,<look value>{,<char_id>};
    *changelook <look type>,<look value>{,<char_id>};

     

    {},{ changelook 1,3000 {char_id}; changelook 1,3001 {char_id}; },{ changelook 1,0; }

     

    WING 1 = 3000

    WING 2 = 3001

     

    Is that what you mean @sader1992?

  8. 18 minutes ago, sader1992 said:

    you can do that if you are using the official way to add garments to your server

    for headgears there is male and female spr/act

    but for the garments there is male/female folders of the garment and each folder have spr/act for each job in the game

    this is the list

    https://github.com/sader1992/Garment_Files_Generator/blob/master/Garment Files Generator/KroNames.cs

    you can just make a wing make if files >> (you can use this 

    than color the act/spr for each job the color you want

    Thanks @sader1992 for the guide, but I want the WINGS to place in lower headgear. Btw sir, does PRE-RE server support ROBE sprites?

  9. 16 minutes ago, TheDerpySupport said:

    To do this you would need to add multiple versions of the wings client side and in the item's OnEquip script section set the look to the correct VIEW ID.

    Also you had this answered 3 years ago:

    Literally the same answer

    Sorry @TheDerpySupport that I repost my old topic, but I already tried the changelook OnEquip but it only shows same sprite when I @job to different classes.

    Can you give me a sample item script for that? Sorry NOOB here that wants to help my brothers private server. ???

  10. Is that possible? That if you have the same PARTICULAR EQUIPMENT, but different SPRITES in different JOBS.

    Example:

           I'm a pally and if I equip my PHOENIX WINGS it will show that the PHOENIX WINGS is ORANGE, but then if I equip it on the other JOBS like LORD KNIGHT it will show the PHOENIX WINGS but different color like GREEN maybe.

           The PHOENIX WINGS is just in one item ID and I want it to change in color when a specific JOB wear it. I already have the sprites, the problem is how to make it work.

     

    *Thanks in advance guys, I would greatly appreciate any help you can give me in working with this problem.*


  11. If you have different colored phoenix wing sprites that's possible. And as Emistry said, use changelook and put it on equip script.. 

     

    e.g

    {},{ changelook 3,2000; },{ changelook 3,0; }

     

    change 2000 depending from the view id of your sprites.

    What is 3 stands for? And what do you mean by "dependeing from the view id of your sprites" sir?

  12. Is that possible? That if you have the same PARTICULAR EQUIPMENT, but different SPRITES in different JOBS.

    Example:

           I'm a pally and if I equip my PHOENIX WINGS it will show that the PHOENIX WINGS is ORANGE, but then if I equip it on the other JOBS like LORD KNIGHT it will show the PHOENIX WINGS but different color like GREEN maybe.

     

    *Thanks in advance guys, I would greatly appreciate any help you can give me in working with this problem.*

  13. Hi guys, please help me how to convert English > Korean > ASCII Codes in notepad++.
    Example:
           Ragnarok>라그나로크>??????.

    All I know is to convert ASCII Codes > Korean > English in notepad++.

    Example:

           »¡°£Æ÷¼Ç > 빨간포션 > Red Potion.

     

    ASCII CODES:

           http://www.theasciicode.com.ar/

     

    *Thanks in advance guys, I would greatly appreciate any help you can give me in working with this problem.*

×
×
  • Create New...