A downloadable game for Windows

Download NowName your own price

Soldier of Fortune is a game of turn based combat for two players. In keeping with the theme, the stats for both characters and their abilities are simple default values in JSON files that players must fill out. But don't get overzealous! Characters and abilities are distributed randomly at the start of each game, meaning your overpowered creations could wind up in the hands of your opponent! 

File Modification Guide

There are two types of files that you'll modify in order to make your units and abilities.

Unit Files

These are the files named char_[letter].json, and contain the properties that define the character units.

  • name: The character name to be displayed in game.
  • hp: The amount of health points the character has. When this value reaches zero, the character is defeated.
  • po: The power multiplier for physical attacks. The higher this value, the more damage this unit will deal when using physical attacks.
  • eo: The power multiplier for energy attacks. The higher this value, the more damage this unit will deal when using energy attacks.
  • pd: The defensive multiplier for physical attacks. The higher this value, the less damage this unit will take from physical attacks.
  • ed: The defensive multiplier for energy attacks. The higher this value, the less damage this unit will take from energy attacks.
  • sp: The amount of stamina the unit will begin a match with.

Ability Files

These are the files named ability_[letter].json, and contain the properties that define the abilities that will be distributed between the two units when you play a match.

  • name: The ability name to be displayed in game.
  • pow: The base amount of damage this ability will deal. Modified by the po/eo values of the attacking unit depending on the isEnergy variable in the ability.
  • isEnergy: If this value is set to 1, the ability is an energy attack. If it is set to 0, it is a physical attack. Units have independent attack and defense values for energy and physical attacks.
  • staminaCost: The amount of stamina the unit must have available in order to utilize this ability.
Updated 27 days ago
StatusReleased
PlatformsWindows
Rating
Rated 3.5 out of 5 stars
(2 total ratings)
AuthorJames Youngman
GenreStrategy
Made withGameMaker, Paint.net
Tags2D, Ludum Dare, Ludum Dare 45, Multiplayer, PvP
Average sessionA few seconds
MultiplayerLocal multiplayer
Player count2

Download

Download NowName your own price

Click download now to get access to the following files:

Soldier of Fortune - LD45.zip 2.6 MB

Comments

Log in with itch.io to leave a comment.

I can't figure out how to edit abilities.

Cool idea tho!

There's a folder called "datafiles" that contains a number of json files. ability_a.json, ability_b.json, etc. Changing the values in those files is how you change the abilities.

char_a.json and char_b.json control the stats for the characters.

I've figured that out, but I don't know what the values do.

Could you tell me what the abbreviations stand for?

I've updated the page for the game with a break down of what each of the values in the different file types do. Does the update description answer your questions?

Yes, thank you!