Page 3 of 3

Re: Grenades on Most Infantries

Posted: Sat Sep 15, 2018 6:55 pm
by Midonik
Good. (Hope you made the damage in JSON right, it should be the negative hp value.)

Re: Grenades on Most Infantries

Posted: Sat Sep 15, 2018 6:56 pm
by samuelch
I like the new pic.

Re: Grenades on Most Infantries

Posted: Sat Sep 15, 2018 6:58 pm
by Hyacintho
Damage is right. I think we can put this one in the game, and focus on the next grenade.

Re: Grenades on Most Infantries

Posted: Sat Sep 15, 2018 7:13 pm
by samuelch
Yes.

Re: Grenades on Most Infantries

Posted: Sat Sep 15, 2018 8:37 pm
by Hyacintho
TECHNOLOGY M2 GRENADE:

(Unit ids are outdated, I think. They should be checked.)

Damage, 10,
Targets, Infantry, and non-combat vehicles.
Bonuses, 20% against vehicles and 50% against infantry.

No changes to the image, other than the name. I like it a lot.
I don't think I will do anymore reviewing of the Grenade JSONs and images today. I will pick this up tomorrow with the M24.

Re: Grenades on Most Infantries

Posted: Sat Sep 15, 2018 9:10 pm
by Hyacintho
We need a sprite for the grenades, showing them explode upon contact with the enemy. I will work on that tomorrow.

Re: Grenades on Most Infantries

Posted: Sat Sep 15, 2018 10:00 pm
by samuelch
Like this?

Re: Grenades on Most Infantries

Posted: Sat Sep 15, 2018 10:13 pm
by Hyacintho
Very good, but I think it needs to be animated. I can mess around with the picture, see if I can animate it.

Re: Grenades on Most Infantries

Posted: Sat Sep 15, 2018 10:31 pm
by Stratego (dev)
THANKS!

in json there was a M_AFFECT_U_VEHICLE_NONCOMBAT or M_AFFECT_U_INFANTRY thing. these are not yet exists.
please use in jsons existing category names.

Re: Grenades on Most Infantries

Posted: Sat Sep 15, 2018 10:44 pm
by samuelch
In which jsons are the categories listed?

Re: Grenades on Most Infantries

Posted: Sat Sep 15, 2018 10:48 pm
by Hyacintho
Sorry, my bad.

However, I did find U_INFANTRY and U_VEHICLE_NOCOMBAT in the consts.json, the thing that lists categories and such.
Is it the M_AFFECT thing, or are these labels not functioning as categories?

Re: Grenades on Most Infantries

Posted: Sun Sep 16, 2018 4:59 am
by Stratego (dev)
samuelch wrote: Sat Sep 15, 2018 10:44 pm In which jsons are the categories listed?
in consts json

Re: Grenades on Most Infantries

Posted: Sun Sep 16, 2018 7:17 am
by Midonik
Hyacintho wrote: Sat Sep 15, 2018 10:48 pm Sorry, my bad.

However, I did find U_INFANTRY and U_VEHICLE_NOCOMBAT in the consts.json, the thing that lists categories and such.
Is it the M_AFFECT thing, or are these labels not functioning as categories?
You need to add in const.json those "M_AFFECT" ones. You need to write it's names were are else names of those are, and also below it and the categories stuff you need to "connect" it with category it can effect. You will get what I mean when you see that I hope.

Re: Grenades on Most Infantries

Posted: Sun Sep 16, 2018 12:50 pm
by samuelch
Added the M_affect_infantry

Re: Grenades on Most Infantries

Posted: Sun Sep 16, 2018 5:15 pm
by Hyacintho
Here is an animation for when the grenade hits it's mark.

Re: Grenades on Most Infantries

Posted: Sun Sep 16, 2018 9:55 pm
by General Brave
Nice animation.

Re: Grenades on Most Infantries

Posted: Mon Sep 17, 2018 5:31 am
by Midonik
Not sure how you want to put it in game?

Re: Grenades on Most Infantries

Posted: Mon Sep 17, 2018 11:45 pm
by Hyacintho
I was hoping for something like the fireball animation on AoF. You know how when it hits it's target, it explodes? I'm hoping I can make it work like that.

I'm not entirely sure as to how to implement it, but I hope I can figure it out.

Re: Grenades on Most Infantries

Posted: Tue Sep 18, 2018 6:32 am
by Midonik
You would need to make grenade an environmental effect... I don't think there is a need.

Re: Grenades on Most Infantries

Posted: Wed Sep 19, 2018 12:14 am
by Belfry777
Do you mean Jsons? I will try at them.

Re: Grenades on Most Infantries

Posted: Tue Sep 25, 2018 11:14 pm
by Hyacintho
No need. The JSONs have been finished, just smoothing out a few flaws before they are implemented.

Re: Grenades on Most Infantries

Posted: Tue May 28, 2019 6:31 am
by Prizracoss
why don't the Russians have anti-tank grenades?!

Re: Grenades on Most Infantries

Posted: Tue May 28, 2019 11:58 am
by Puss_in_Boots
Agreed, they could use the hand thrown anti-tank rpg-43.