Overwatch

I created an ingame shop system where you can buy upgrades with money that you earn throughout the match

Overwatch8 - I created an ingame shop system where you can buy upgrades with money that you earn throughout the match
Loading...

a3qjimhebmu21 - I created an ingame shop system where you can buy upgrades with money that you earn throughout the match


Example of how the hud looks

Gamecode: GEVCT

Disclaimer:

Creating this gamemode took me a lot of time and there are a lot of different ways to go with this gamemode. I created an example gamemode with the buy system, but you can also use this for any other gamemode. The basic foundations of the gamemode can be used by everyone who's looking to implement an ingame shop. I put a lot of information in the workshop description about what I did. If there are people interested in a more in-depth explanation, I'm happy to help.

How it works:

You pick a hero at the beginning of the match and that'll be your hero for the whole game. You can't use any of your abilities, but you can unlock them by buying them in the shop. You can also buy upgrades like: higher max health, increased damage dealt, increased movement speed or automatic health regen. The upgrades have different prices depending on how good they are.

How can I buy the upgrades?

When you're in the spawn room you can cycle trough the shop by pressing the interact button. You can see in the top left your money, what the upgrade is about and the price of the upgrade. If you want to buy something, you have to press the interact button while holding the crouch key to buy it.

How do I get money?

Everyone start with 2500 money. You earn money by dealing damage or killing someone. If you kill someone that has bought a lot of upgrades you'll get more money than killing the same hero with less upgrades. This is for game balance.

Загрузка...

Current problems

The damage to money system works tick based. This means that if you hit someone and at the same time he gets healed, there is a chance that you'll lose money. In my play testing I would say that the damage to money factor for this reason is about 0.9, while I programmed it to be 1.

Healing players doesn't give you money. It was my intention to do so, but the commands won't let you do so. (There is a event 'player dealt damage', but no function 'player gave health'.)

Some messages of what you want to buy in the shop are a bit cryptic, because you aren't able to write own strings. I suggest that you read the workshop description of the upgrades first.

The action 'destroy all hud text' in order to show the next upgrade, will make the hud for anyone invinsible except for the person who pressed interact.

Suggestions:

When blizzard finally fixes that you can modify ult charge. Make it so that the ult charge percentage gained is added to the variable M, money, and then reset the ult charge to 0%. This however means no ults in the game.

Other possible gamemodes:

Call of Duty zombies: Each hits gives 10 points, a kill gives 60 points. You can perks with the points or better weapons/weapon upgrades.

Point race: First who gets 100000 points can buy the win.

Source: Original link


Loading...
© Post "I created an ingame shop system where you can buy upgrades with money that you earn throughout the match" for game Overwatch.


Top 10 Most Anticipated Video Games of 2020

2020 will have something to satisfy classic and modern gamers alike. To be eligible for the list, the game must be confirmed for 2020, or there should be good reason to expect its release in that year. Therefore, upcoming games with a mere announcement and no discernible release date will not be included.

Top 15 NEW Games of 2020 [FIRST HALF]

2020 has a ton to look forward to...in the video gaming world. Here are fifteen games we're looking forward to in the first half of 2020.

You Might Also Like

Leave a Reply

Your email address will not be published. Required fields are marked *