Jump to content

Help - Script to equip an item and transform it into a visual class


Recommended Posts

Posted

Hi guys, I created a custom item and would like help adjusting the script so that when equipping it transforms it into a class, which in this case will only be visual, and when removing the item it returns to the original class

 

    EquipScript: |
      changebase 4023;

 

Posted

Hi. Example:

  - Id: 2609
    AegisName: Skul_Ring
    Name: Skull Ring
    Type: Armor
    Locations:
      Both_Accessory: true
    Script: |
      changebase 4023;
    UnEquipScript: |
      changebase Class;

 

  • Love 1
Posted
28 minutes ago, Racaae said:

Hi. Example:

  - Id: 2609
    AegisName: Skul_Ring
    Name: Skull Ring
    Type: Armor
    Locations:
      Both_Accessory: true
    Script: |
      changebase 4023;
    UnEquipScript: |
      changebase Class;

 



Can you tell me how I can use it as a visual accessory?

Costume accessory

 

image.png.813bcbf0fcd15548645692bfdd265ffc.png

Posted
3 hours ago, Kater said:



Can you tell me how I can use it as a visual accessory?

Costume accessory

 

image.png.813bcbf0fcd15548645692bfdd265ffc.png

Change Both_Accessory to Shadow_Right_Accessory or Shadow_Left_Accessory.

 

\doc\item_db.txt

Locations: Equipment's placement.

Head_Top               - Upper Headgear
Head_Mid               - Middle Headgear
Head_Low               - Lower Headgear
Armor                  - Armor
Right_Hand             - Weapon
Left_Hand              - Shield
Garment                - Garment/Robe
Shoes                  - Shoes
Right_Accessory        - Accessory Right
Left_Accessory         - Accessory Left
Costume_Head_Top       - Costume Top Headgear
Costume_Head_Mid       - Costume Mid Headgear
Costume_Head_Low       - Costume Low Headgear
Costume_Garment        - Costume Garment/Robe
Ammo                   - Ammo
Shadow_Armor           - Shadow Armor
Shadow_Weapon          - Shadow Weapon
Shadow_Shield          - Shadow Shield
Shadow_Shoes           - Shadow Shoes
Shadow_Right_Accessory - Shadow Accessory Right (Earring)
Shadow_Left_Accessory  - Shadow Accessory Left (Pendant)

Both_Hand              - Right_Hand + Left_Hand
Both_Accessory         - Right_Accessory + Left_Accessory

 

Posted
43 minutes ago, Racaae said:

Change Both_Accessory to Shadow_Right_Accessory or Shadow_Left_Accessory.

 

\doc\item_db.txt

Locations: Equipment's placement.

Head_Top               - Upper Headgear
Head_Mid               - Middle Headgear
Head_Low               - Lower Headgear
Armor                  - Armor
Right_Hand             - Weapon
Left_Hand              - Shield
Garment                - Garment/Robe
Shoes                  - Shoes
Right_Accessory        - Accessory Right
Left_Accessory         - Accessory Left
Costume_Head_Top       - Costume Top Headgear
Costume_Head_Mid       - Costume Mid Headgear
Costume_Head_Low       - Costume Low Headgear
Costume_Garment        - Costume Garment/Robe
Ammo                   - Ammo
Shadow_Armor           - Shadow Armor
Shadow_Weapon          - Shadow Weapon
Shadow_Shield          - Shadow Shield
Shadow_Shoes           - Shadow Shoes
Shadow_Right_Accessory - Shadow Accessory Right (Earring)
Shadow_Left_Accessory  - Shadow Accessory Left (Pendant)

Both_Hand              - Right_Hand + Left_Hand
Both_Accessory         - Right_Accessory + Left_Accessory

 

 

 


[Error]: Invalid item equip location Shadow_Left_Accessory as it's not a Shadow Gear item type, defaulting to IT_ETC.

Posted
16 minutes ago, Kater said:

 

 


[Error]: Invalid item equip location Shadow_Left_Accessory as it's not a Shadow Gear item type, defaulting to IT_ETC.

Sorry. Also replace Type: Armor to Type: Shadowgear.

  • Love 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...