Putting the 'role' back in role-playing games since 2002.
Donate to Codex
Good Old Games
  • Welcome to rpgcodex.net, a site dedicated to discussing computer based role-playing games in a free and open fashion. We're less strict than other forums, but please refer to the rules.

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.

Grenades

MF

The Boar Studio
Patron
Developer
Joined
Dec 8, 2002
Messages
915
Location
Amsterdam
One of the things I wanted to have implemented in the combat alpha is thrown items and explosives. This is now done. Now all that remains to get the combat alpha ready is saving/loading teams and a bunch of obvious minor flaws that need fixing. Getting people to test something when I still have self-evident kinks to iron out makes no sense. This isn't a very long list, but I'm not sure if I can get through it before the end of the year. Still hopeful to make that deadline, but December is a pretty busy month so I might have to move it up a bit. We'll see.

Anyway, grenades!

The way these work in The Jovian System is not like you're used to.
grenade1.jpg

First, you click on an item in the utility bar and a context menu will pop up. In the case of a grenade, this is the throw menu.

Then, you can select the force by which you throw the item, which is limited by the physicality stat and perks related to throwing. You can also set a timer, where it can explode immediately at the end of the turn, or wait for x turns to explode.
You can throw it in a certain direction, or you can directly throw it at an enemy. The latter does the same thing under the hood, but takes away guesswork from the player if all you want to do is simply lug a grenade at an enemy.

Thumbnailed following images to prevent page hog.

grenade2.jpg

When you throw a grenade, it spawns an object in the direction of the throw. It immediately moves by the amount of force applied in the direction of the throw and carries this momentum.


grenade3.jpg
This was thrown feebly with 3 force, so it moves by 3 tiles each turn. Here, the character has walked past his own grenade in the next turn. This is turn 3 as you can see in the left between the 'end turn' and 'next character' buttons.

grenade4.jpg

The timer has reached zero at the end of turn 4. BOOM!
 
Last edited:

MF

The Boar Studio
Patron
Developer
Joined
Dec 8, 2002
Messages
915
Location
Amsterdam
Yes.

Everything for destructible environment is already in the code, but I have to set it up manually and right now only that barrier between the two starting points on this map is destructible. I need to come up with a way to streamline that, or precisely limit the amount of destructible environment objects in the game. I think the latter, because as much as I love games like X-Com and Silent Storm where you have the ability to completely destroy a map, it would quickly lead to floating around in empty space in this game.

Cover is determined by line of sight percentage, by the way. I raytrace from gunpoint to character hitboxes, determine the percentage of that within LOS and derive a cover value from that. Sort of like in Phoenix Point. So if a scenery item gets destroyed it will no longer provide cover by way of how the system works.
 
Last edited:

As an Amazon Associate, rpgcodex.net earns from qualifying purchases.
Back
Top Bottom