TO-BE-JSONED US Paratrooper and C47

User avatar
Hyacintho
Posts: 251
Joined: Mon Jun 25, 2018 9:11 pm
Location: With the strange and the crazies.

Re: TO-BE-JSONED US Paratrooper and C47

Post by Hyacintho » Thu Sep 13, 2018 2:25 pm

Are those grenades already implemented?
Flowers watched through wide eyes bloom,
A child sings an unclaimed tune,
Innocence spins cold cocoon,
Rapid Brown avoid Clear Blue.

-Layne Staley. Just something to share, I suppose.

User avatar
samuelch
Posts: 1551
Joined: Thu May 01, 2014 7:43 am
Location: Batavia

Re: TO-BE-JSONED US Paratrooper and C47

Post by samuelch » Thu Sep 13, 2018 2:40 pm

Not yet.
My pfp is made by Chiefchirpa.
Hugs and love FUR eFURRYone!Murr

User avatar
Hyacintho
Posts: 251
Joined: Mon Jun 25, 2018 9:11 pm
Location: With the strange and the crazies.

Re: TO-BE-JSONED US Paratrooper and C47

Post by Hyacintho » Thu Sep 13, 2018 5:20 pm

EDIT:

I can do some work on them. 4 JSONs on one topic.
Flowers watched through wide eyes bloom,
A child sings an unclaimed tune,
Innocence spins cold cocoon,
Rapid Brown avoid Clear Blue.

-Layne Staley. Just something to share, I suppose.

User avatar
Hyacintho
Posts: 251
Joined: Mon Jun 25, 2018 9:11 pm
Location: With the strange and the crazies.

Re: TO-BE-JSONED US Paratrooper and C47

Post by Hyacintho » Fri Sep 14, 2018 3:18 am

@Stratego (dev).
Here are 3 JSONs, one for the Plane, one for the Paratrooper, and one for the spawning of the paratrooper from the plane.
I've also modified the names of the unit images to fit the JSON.
I've never made JSONs quite like this, so I know there will be flaws. Please, if you have time, look through them and see if they are ready. If they are flawed, please tell me how.
Things to watch in the JSON: Unit ID.

Upon the successful implementation of these units, I will begin work on the grenades JSONs, which I will pursue in its own topic.
Thank you.

Also: I made the cost of the Plane 6 turns since I doubt it took as much material to make a single engine fighter jet (Wildcat?) is 5 turns) as it did to make a double engine transport.
I added the C47 into the XLS spreadsheet, and that is where I got the stats. I will post it in the XLS topic as soon as I polish it up.
I was unable to limit the flying effect granted by the C47 to just Paratroopers. Until that is fixed, all units in the Plane (which, if I coded right, is limited to infantry) will have the flying effect, similar to the siege tower.
Attachments
unit_us_plane_c47.json
(3.99 KiB) Downloaded 3 times
unit_us_inf_paratrooper.json
(3.68 KiB) Downloaded 3 times
effect_place_paratrooper.json
(834 Bytes) Downloaded 3 times
unit_us_plane_c47.png
unit_us_plane_c47.png (6.2 KiB) Viewed 188 times
unit_us_inf_paratrooper.png
unit_us_inf_paratrooper.png (5.37 KiB) Viewed 188 times
Flowers watched through wide eyes bloom,
A child sings an unclaimed tune,
Innocence spins cold cocoon,
Rapid Brown avoid Clear Blue.

-Layne Staley. Just something to share, I suppose.

Stratego (dev)
Site Admin
Posts: 7299
Joined: Fri Apr 25, 2014 9:28 pm

Re: TO-BE-JSONED US Paratrooper and C47

Post by Stratego (dev) » Fri Sep 14, 2018 5:37 am

thanks! but i think this way it is op-

a unit that can spawn units is almost a "factory" building.

u suggest that it should "transform" to an infantry - so a plane can only be used once to drop a package.

can u change the json to this approach?

User avatar
Hyacintho
Posts: 251
Joined: Mon Jun 25, 2018 9:11 pm
Location: With the strange and the crazies.

Re: TO-BE-JSONED US Paratrooper and C47

Post by Hyacintho » Fri Sep 14, 2018 12:01 pm

I could set it so that it can only spawn the unit once and only once, and I could also raise the cost of the plane to 7 turns if you wish. I'm not entirely sure about a plane that can transform into infantry. I think the main aspect of this plane is the fact that it operates as a flying transport, and the spawning paratroopers were just a small bonus. A transport that can carry all infantry.
Besides, this approach would keep the plane useful for much longer. A plane shouldn't be destroyed when it drops off its cargo. This plane will be used multiple times to drop off infantry, just like the half track or ground transport. It just happens to come with the added bonus of spawning paratroopers, which I can set to either has a cooldown of 8 or be a one use ability and not be able to be used again after its first use, meaning that only one paratrooper can be spawned from the plane from the plane in total.
What do you think?
Flowers watched through wide eyes bloom,
A child sings an unclaimed tune,
Innocence spins cold cocoon,
Rapid Brown avoid Clear Blue.

-Layne Staley. Just something to share, I suppose.

User avatar
samuelch
Posts: 1551
Joined: Thu May 01, 2014 7:43 am
Location: Batavia

Re: TO-BE-JSONED US Paratrooper and C47

Post by samuelch » Fri Sep 14, 2018 1:58 pm

The summon will take like 8 turns for cooldown. It's not too spamable.
My pfp is made by Chiefchirpa.
Hugs and love FUR eFURRYone!Murr

Stratego (dev)
Site Admin
Posts: 7299
Joined: Fri Apr 25, 2014 9:28 pm

Re: TO-BE-JSONED US Paratrooper and C47

Post by Stratego (dev) » Fri Sep 14, 2018 4:06 pm

cooldown not the best way.

but ok, drop only "once" sounds ok.

but transport? this way you can drop everything behind enemy lines? or only infantry ? not tanks?

also it would be good if it can not "pick up" units in mid air, so should be able to get new units in airports... but i think we can not do it currently.

User avatar
Hyacintho
Posts: 251
Joined: Mon Jun 25, 2018 9:11 pm
Location: With the strange and the crazies.

Re: TO-BE-JSONED US Paratrooper and C47

Post by Hyacintho » Fri Sep 14, 2018 4:49 pm

The ability to spawn will be permanently disabled upon its first use.
Only infantry can enter the plane,
And you have made a very good point about units entering the plane in mid flight. We should find a way around that. But as of now, I'm not sure what to do. I'll think about it a bit.
Flowers watched through wide eyes bloom,
A child sings an unclaimed tune,
Innocence spins cold cocoon,
Rapid Brown avoid Clear Blue.

-Layne Staley. Just something to share, I suppose.

User avatar
samuelch
Posts: 1551
Joined: Thu May 01, 2014 7:43 am
Location: Batavia

Re: TO-BE-JSONED US Paratrooper and C47

Post by samuelch » Fri Sep 14, 2018 11:30 pm

The summon meant to avoid the using of transporting paratrooper. With summon the AI certainly know how to use it.
My pfp is made by Chiefchirpa.
Hugs and love FUR eFURRYone!Murr

User avatar
Hyacintho
Posts: 251
Joined: Mon Jun 25, 2018 9:11 pm
Location: With the strange and the crazies.

Re: TO-BE-JSONED US Paratrooper and C47

Post by Hyacintho » Fri Sep 14, 2018 11:42 pm

Yes, there is that aspect as well. Though as soon as the plane is made, the AI will immediately spawn as many units as it can before it even reaches the front lines, so the idea of the paratrooper plane in general was never real friendly to the AI.
This could be fixed with some clever coding telling the AI not to spawn a unit unless an enemy is nearby. Is there a way to do that? I think so, but I'm not sure. I'll have to do more research.
To help the AI, we could give the plane the option to spawn 2 or 3 units one time only. Meaning they can only spawn 2 or 3 in total. This is to give it more use to the AI. I think I suggested that earlier, though.
As for the boarding "when plane is flying," I'm afraid I've drawn a blank. Any ideas on how that should be solved, or should we simply ignore it until we have definite answer?
Flowers watched through wide eyes bloom,
A child sings an unclaimed tune,
Innocence spins cold cocoon,
Rapid Brown avoid Clear Blue.

-Layne Staley. Just something to share, I suppose.

User avatar
samuelch
Posts: 1551
Joined: Thu May 01, 2014 7:43 am
Location: Batavia

Re: TO-BE-JSONED US Paratrooper and C47

Post by samuelch » Fri Sep 14, 2018 11:46 pm

Make the ability to summon to wait for 2 turns before able to be used. This way the AI have already moved the plane forward somewhere.
My pfp is made by Chiefchirpa.
Hugs and love FUR eFURRYone!Murr

Post Reply

Return to “Infantry”