How would a player call in an airstrike?

I am in the process of developing a war game, But I am stuck on how to implement an airstrike system.

I had no problem developing the airstrike system, The only issue i’m facing is how the player would call in the airstrike realistically.

The airstrike system involves the following as options for an air attack.

  • Mortars
  • Artillery
  • Flyovers
  • Strafes

I’ve thought up a few ways of having the player call in an airstrike, But none are realistic enough for the style of the game.

3 Likes

Maybe you could give the player like a military-type tablet or something and let the player pick an option from there?

2 Likes

Thats a good idea, But i’m going for a hyper-realisitic standpoint. I want players to experience a similar process to real life.

1 Like

If you’re aiming for realism, you could have players point a laser designator at an area and hold it there until the airstrike comes in.

2 Likes

Thats a good idea, I do like it. However it should be a little rougher.

One of my previous ideas for calling in a strike was that the player would recieve coordinates of the area they wish to strike, After they copy these coordinates they would send a message on the radio in this type of format "REQUEST (Type of strike) AT (Coordinates) ", But that might be out of my skill level. :persevere:

I mean, that might not be too difficult to implement.
You could probably use raycasts to get the position that the player wishes to strike, then have them send the rounded X and Z values of that position via chat (tack on N and W to the end of the numbers so it seems cooler and more military-y), then just wait a bit and perform the airstrike on that position.

1 Like

Yeah, I meant the part with the text format, That seems difficult since I haven’t fumbled with message strings really at all. The rest of the airstrike system is done, I’m just stuck on how the player would call it in.

1 Like

You can use player.Chatted to log player messages (pretty sure it works from the server). That event should give you the message content, from there you can just do some string stuff and extract the position from the string.

3 Likes

I’m guessing its said easier than done lol, Thanks though. I appreciate all the help.

1 Like

No problem man, good luck with your game!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.