Jump to content

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


Kater

Recommended Posts


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.20
  • Content Count:  175
  • Reputation:   2
  • Joined:  04/03/24
  • Last Seen:  

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;

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  212
  • Reputation:   94
  • Joined:  06/02/12
  • Last Seen:  

Hi. Example:

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

 

  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.20
  • Content Count:  175
  • Reputation:   2
  • Joined:  04/03/24
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  212
  • Reputation:   94
  • Joined:  06/02/12
  • Last Seen:  

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

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.20
  • Content Count:  175
  • Reputation:   2
  • Joined:  04/03/24
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  212
  • Reputation:   94
  • Joined:  06/02/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.20
  • Content Count:  175
  • Reputation:   2
  • Joined:  04/03/24
  • Last Seen:  

2 hours ago, Racaae said:

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

Resolved

Link to comment
Share on other sites

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.

×
×
  • Create New...