froggy Posted December 28, 2019 Share Posted December 28, 2019 Hello, Â Before B6 when I added equipment slots there was automatically a box created for the character screen. Â When I added new slots now they wont show up and you cant see the equipped item. Â What is the solution for this? Link to comment Share on other sites More sharing options...
1 Zetasis Posted December 28, 2019 Share Posted December 28, 2019 I haven’t really messed with adding a new item slot or anything like that but I did find this and thought maybe it would be of some help. Good luck!  https://www.ascensiongamedev.com/topic/4270-tutorial-move-or-add-new-equipment-slots-to-character-window/ Link to comment Share on other sites More sharing options...
1 froggy Posted December 28, 2019 Author Share Posted December 28, 2019 In steps:  1. Install Photoshop 2. Open character.png from Client and Editor/resources/gui 3. Use rulers (atleast this is how i did it to line the boxes up nicely), enable pixels as measurement for the rulers, press F8 to bring out the info window (shows X,Y for mouse cursor). You can also drag from the X and Y rulers to bring out a line that lines up with layers for extra precision 4. Copy & Paste the equipment box from the character.png gui folder onto the character.png in photoshop, fill out the egdes with color of choice to make a 36x36 image to see where you want to place your icons 5. Paste the amount of boxes you want, i used 9. 6. Mouse over the top left pixel of the box and see the X,Y coordinates you need to input in the characterwindow.json 7. Input the X,Y coordinates in the bounds part, see below: Spoiler    "EquipmentItem7": {     "Bounds": "134,144,36,36", <--- X=134, 144=Y, determines location of icon box     "Padding": "0,0,0,0",     "AlignmentEdgeDistances": "0,0,0,0",     "AlignmentTransform": "0,0",     "Margin": "0,0,0,0",     "RenderColor": "255,255,255,255",     "Alignments": "",     "DrawBackground": true,     "MinimumSize": "1,1",     "MaximumSize": "4096,4096",     "Disabled": false,     "Hidden": false,     "RestrictToParent": false,     "MouseInputEnabled": true,     "HideToolTip": false,     "ToolTipBackground": "tooltip.png",     "ToolTipFont": "sourcesansproblack,10",     "ToolTipTextColor": "255,255,255,255",     "Texture": "equipmentitem.png",     "HoverSound": null,     "LeftMouseClickSound": null,     "RightMouseClickSound": null,     "Children": {      "EquipmentIcon": {       "Bounds": "2,2,32,32",       "Padding": "0,0,0,0",       "AlignmentEdgeDistances": "0,0,0,0",       "AlignmentTransform": "0,0",       "Margin": "0,0,0,0",       "RenderColor": "255,255,255,255",       "Alignments": "",       "DrawBackground": true,       "MinimumSize": "1,1",       "MaximumSize": "4096,4096",       "Disabled": false,       "Hidden": false,       "RestrictToParent": false,       "MouseInputEnabled": false,       "HideToolTip": false,       "ToolTipBackground": null,       "ToolTipFont": null,       "ToolTipTextColor": "",       "Texture": null,       "HoverSound": null,       "LeftMouseClickSound": null,       "RightMouseClickSound": null      }     }    }, 7. Open characterwindow.json from resources/gui/layouts/game (you can use notepad++) and edit the bold part in the spoiler 8. Save and load client  Example images: https://imgur.com/wmKfuvU https://imgur.com/QYQPE1U  Beefy Kasplant and Shiro1GI 2 Link to comment Share on other sites More sharing options...
0 Senpai402 Posted December 28, 2019 Share Posted December 28, 2019 You need to copy the entire "EquipmentItem0" category (ressources/ gui/layouts/ game/ CharacterWindow.json), paste it below the last, and replace the number (0 to your slot number), bounds, etc.  I can make you an exemple if you need, my english isn't really good enough to explain that. Link to comment Share on other sites More sharing options...
0 AisenArvalis Posted December 28, 2019 Share Posted December 28, 2019 You'll have to go into your JSON files to add a visual slot. Resources - Gui - Layouts - Game - CharacterWindow.json  There will be multiple lines called "EquipmentItemX" X being the slot that is 0 inclusive, so the first slot will be called "EquipmentItem0", copy one of those and change the number and the values in it to place it where you need it to be. Senpai402 1 Link to comment Share on other sites More sharing options...
0 froggy Posted December 28, 2019 Author Share Posted December 28, 2019 2 hours ago, AisenArvalis said: You'll have to go into your JSON files to add a visual slot. Resources - Gui - Layouts - Game - CharacterWindow.json  There will be multiple lines called "EquipmentItemX" X being the slot that is 0 inclusive, so the first slot will be called "EquipmentItem0", copy one of those and change the number and the values in it to place it where you need it to be.  I assume it is bounds? Where do i find the values that determines the location? Link to comment Share on other sites More sharing options...
0 froggy Posted December 28, 2019 Author Share Posted December 28, 2019 46 minutes ago, Zetasis said: I haven’t really messed with adding a new item slot or anything like that but I did find this and thought maybe it would be of some help. Good luck!  https://www.ascensiongamedev.com/topic/4270-tutorial-move-or-add-new-equipment-slots-to-character-window/  I got the slots added but it is not creating a scroll wheel, so you can only see 5 slots, would it be better to add on height or can i add the scroll wheel easily enough?    Link to comment Share on other sites More sharing options...
0 Zetasis Posted December 28, 2019 Share Posted December 28, 2019 I don’t know for sure but I think you have to manually add the slot. Link to comment Share on other sites More sharing options...
0 froggy Posted December 28, 2019 Author Share Posted December 28, 2019 Solved. Â Link to comment Share on other sites More sharing options...
0 Beefy Kasplant Posted December 28, 2019 Share Posted December 28, 2019 4 minutes ago, froggy said: Solved. Â Â So explain how Link to comment Share on other sites More sharing options...
Question
froggy
Hello,
Â
Before B6 when I added equipment slots there was automatically a box created for the character screen.
Â
When I added new slots now they wont show up and you cant see the equipped item.
Â
What is the solution for this?
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now