- Joined
- Oct 11, 2021
- Messages
- 88
Hello, everyone!
I'm currently developing a MOBA map in Warcraft III called "Defense of the Core", and I'm looking to implement a custom skin system where players can purchase and equip skins using a custom currency (similar to systems like Direct Strike or Tower Survivors). Additionally, I want to make this system persistent, meaning that skins purchased by players are saved and loaded between matches.
I'm currently developing a MOBA map in Warcraft III called "Defense of the Core", and I'm looking to implement a custom skin system where players can purchase and equip skins using a custom currency (similar to systems like Direct Strike or Tower Survivors). Additionally, I want to make this system persistent, meaning that skins purchased by players are saved and loaded between matches.
Key Features I Want to Implement:
- Skin Purchase System:
- Players can purchase skins for their heroes or units using a custom currency.
- This could be done through custom frames (if possible) or a unit/shop system.
- Skin Management:
- A system to track which skins each player has purchased.
- Ability for players to equip and change skins during gameplay.
- Save/Load System for Skins:
- I already use the Codeless Save/Load System to save and load players' MMR between matches, but I don't know how to extend this system to include:
- Which skins a player has purchased.
- Which hero/unit each skin belongs to.
- Whether a skin is currently equipped by the player.
- I already use the Codeless Save/Load System to save and load players' MMR between matches, but I don't know how to extend this system to include:
- The system should also load the player's currency, alongside their purchased skins, at the start of each match.
My Main Questions:
- How can I adapt the Codeless Save/Load System to handle the saving and loading of purchased skins and their equipped states?
- Should I use custom UI frames or stick to a unit-based shop system for the skin purchasing interface?
- Are there existing templates, tutorials, or best practices for implementing a persistent skin system like this?
Additional Information:
- My map is called Defense of the Core, and it's an open-source project. If anyone is interested, you're free to take a look or even try implementing this system yourself! However, I would greatly appreciate it if you could teach me how it works so I can maintain and expand it in the future.
- I'm comfortable working with triggers, variables, and GUI, but I have limited experience with JASS/LUA.
- Any advice, code examples, or resources would be greatly appreciated!