• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Tavern system

Status
Not open for further replies.
Level 13
Joined
Aug 4, 2012
Messages
1,022
Level 12
Joined
Nov 3, 2013
Messages
989
Dummy units or items being added and removed with AddUnitToStock or AddItemToStock

Unit bought == Weapons -> remove category dummies -> add "weapon" type dummies

However if you don't have a lot you might just make a couple of different shops stacked on top of each other and select different shops depending on what dummies the player buy.

So if you only have 3 heroes of each attribute for each team, just make two different shops with their respective heroes and an extra dummy to switch between them.



p.s. you're probably going to want to have multiple shops either way, since you'd want to show different categories for each player. You'd want to have one shop for each player. So make the real shops have 0.01 model scale size (so you still the animated unit portrait, unlike if you remove the model completely), and remove pathing and enable them to be built on to stack them on top of each other.

Then make another shop that looks normal, but doesn't actually have anything, when clicked make the player select their respective shop instead.
 
Level 13
Joined
Aug 4, 2012
Messages
1,022
Dummy units or items being added and removed with AddUnitToStock or AddItemToStock

Unit bought == Weapons -> remove category dummies -> add "weapon" type dummies

However if you don't have a lot you might just make a couple of different shops stacked on top of each other and select different shops depending on what dummies the player buy.

So if you only have 3 heroes of each attribute for each team, just make two different shops with their respective heroes and an extra dummy to switch between them.



p.s. you're probably going to want to have multiple shops either way, since you'd want to show different categories for each player. You'd want to have one shop for each player. So make the real shops have 0.01 model scale size (so you still the animated unit portrait, unlike if you remove the model completely), and remove pathing and enable them to be built on to stack them on top of each other.

Then make another shop that looks normal, but doesn't actually have anything, when clicked make the player select their respective shop instead.

So, you mean that I should use autoselect system??
Alright, I'm trying
 
Status
Not open for further replies.
Top