Grenades on Most Infantries

Things that did not fit to the other parts
Midonik
Posts: 5325
Joined: Mon Sep 05, 2016 5:27 pm
Location: Poland

Re: Grenades on Most Infantries

Post by Midonik »

Good. (Hope you made the damage in JSON right, it should be the negative hp value.)
Support new AoS variant, Age of Galaxy: http://ageofstrategy.net/viewforum.php? ... 608408ebc8
All help will be welcome.
User avatar
samuelch
Posts: 1677
Joined: Thu May 01, 2014 7:43 am
Location: Batavia

Re: Grenades on Most Infantries

Post by samuelch »

I like the new pic.
User avatar
Hyacintho
Posts: 334
Joined: Mon Jun 25, 2018 9:11 pm

Re: Grenades on Most Infantries

Post by Hyacintho »

Damage is right. I think we can put this one in the game, and focus on the next grenade.
User avatar
samuelch
Posts: 1677
Joined: Thu May 01, 2014 7:43 am
Location: Batavia

Re: Grenades on Most Infantries

Post by samuelch »

Yes.
User avatar
Hyacintho
Posts: 334
Joined: Mon Jun 25, 2018 9:11 pm

Re: Grenades on Most Infantries

Post 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.
Attachments
effect_instant_m2_grenade.json
(1.03 KiB) Downloaded 103 times
effect_affect_m2_damage.json
(2.03 KiB) Downloaded 85 times
texture_bullet_m2_grenade.png
texture_bullet_m2_grenade.png (1.62 KiB) Viewed 4711 times
User avatar
Hyacintho
Posts: 334
Joined: Mon Jun 25, 2018 9:11 pm

Re: Grenades on Most Infantries

Post by Hyacintho »

We need a sprite for the grenades, showing them explode upon contact with the enemy. I will work on that tomorrow.
User avatar
samuelch
Posts: 1677
Joined: Thu May 01, 2014 7:43 am
Location: Batavia

Re: Grenades on Most Infantries

Post by samuelch »

Like this?
Attachments
boom.png
boom.png (3.13 KiB) Viewed 4705 times
User avatar
Hyacintho
Posts: 334
Joined: Mon Jun 25, 2018 9:11 pm

Re: Grenades on Most Infantries

Post 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.
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Grenades on Most Infantries

Post 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.
User avatar
samuelch
Posts: 1677
Joined: Thu May 01, 2014 7:43 am
Location: Batavia

Re: Grenades on Most Infantries

Post by samuelch »

In which jsons are the categories listed?
User avatar
Hyacintho
Posts: 334
Joined: Mon Jun 25, 2018 9:11 pm

Re: Grenades on Most Infantries

Post 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?
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Grenades on Most Infantries

Post by Stratego (dev) »

samuelch wrote: Sat Sep 15, 2018 10:44 pm In which jsons are the categories listed?
in consts json
Midonik
Posts: 5325
Joined: Mon Sep 05, 2016 5:27 pm
Location: Poland

Re: Grenades on Most Infantries

Post 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.
Support new AoS variant, Age of Galaxy: http://ageofstrategy.net/viewforum.php? ... 608408ebc8
All help will be welcome.
User avatar
samuelch
Posts: 1677
Joined: Thu May 01, 2014 7:43 am
Location: Batavia

Re: Grenades on Most Infantries

Post by samuelch »

Added the M_affect_infantry
Attachments
werwer.png
werwer.png (18.81 KiB) Viewed 4666 times
consts.json
(9.36 KiB) Downloaded 90 times
User avatar
Hyacintho
Posts: 334
Joined: Mon Jun 25, 2018 9:11 pm

Re: Grenades on Most Infantries

Post by Hyacintho »

Here is an animation for when the grenade hits it's mark.
Attachments
boom.png
boom.png (1.94 KiB) Viewed 4649 times
Explosion .gif
Explosion .gif (1.21 KiB) Viewed 4650 times
User avatar
General Brave
Posts: 4662
Joined: Thu Oct 19, 2017 3:12 am
Location: The Four Point Military Academy.

Re: Grenades on Most Infantries

Post by General Brave »

Nice animation.
Wise, Might, Loyalty. Forever stands Warfell.
Midonik
Posts: 5325
Joined: Mon Sep 05, 2016 5:27 pm
Location: Poland

Re: Grenades on Most Infantries

Post by Midonik »

Not sure how you want to put it in game?
Support new AoS variant, Age of Galaxy: http://ageofstrategy.net/viewforum.php? ... 608408ebc8
All help will be welcome.
User avatar
Hyacintho
Posts: 334
Joined: Mon Jun 25, 2018 9:11 pm

Re: Grenades on Most Infantries

Post 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.
Midonik
Posts: 5325
Joined: Mon Sep 05, 2016 5:27 pm
Location: Poland

Re: Grenades on Most Infantries

Post by Midonik »

You would need to make grenade an environmental effect... I don't think there is a need.
Support new AoS variant, Age of Galaxy: http://ageofstrategy.net/viewforum.php? ... 608408ebc8
All help will be welcome.
Belfry777
Posts: 1681
Joined: Tue Oct 17, 2017 2:34 am

Re: Grenades on Most Infantries

Post by Belfry777 »

Do you mean Jsons? I will try at them.
A thousand may fall at your side,
And ten thousand at your right hand;
But it shall not come near you.
Only with your eyes shall you look,
And see the reward of the wicked.
User avatar
Hyacintho
Posts: 334
Joined: Mon Jun 25, 2018 9:11 pm

Re: Grenades on Most Infantries

Post by Hyacintho »

No need. The JSONs have been finished, just smoothing out a few flaws before they are implemented.
User avatar
Prizracoss
Posts: 27
Joined: Tue May 28, 2019 5:42 am
Location: Russia

Re: Grenades on Most Infantries

Post by Prizracoss »

why don't the Russians have anti-tank grenades?!
The bird of hermes is my name eating my wings to make me tame.
User avatar
Puss_in_Boots
Posts: 3209
Joined: Fri Apr 21, 2017 1:23 am
Location: New Jersey

Re: Grenades on Most Infantries

Post by Puss_in_Boots »

Agreed, they could use the hand thrown anti-tank rpg-43.
OLÉ
Post Reply

Return to “Others”