playMaker

Author Topic: Architecture for a simulation game?  (Read 1458 times)

spiceflo

  • Playmaker Newbie
  • *
  • Posts: 6
Architecture for a simulation game?
« on: December 31, 2017, 08:07:08 AM »
Hallo,

Overview




Background

I want to create a simulation game for firefighters, where incident commanders explore an incident cituation, e.g. a car eccident or fire in a house. Then the player gives his teams instructions over a big panel (define which team, with a specific equipment has to solve a task).

Gameprocess

1. Player has to explore the scene (first person shooter perspective)
2. Over a big panel the player creates instructions for his teams (e.g. Fire Enginge 5, Team 1 with helmet and turnout gear and thermal camera and hose rescue the people in floor 1 in the house)
3. Teams move in scene and execute the created instruction from players
4. dynamic changes in game are possible (teams have problems to execute their tasks, fire gets bigger, etc.)

Questions

a) what is the best ways to offer a complexe panel (e.g. with buttons) where the player can create the instructions? My idea is to offer for each step (Team, task, clothes, equiment) the needed buttons
b) in which form makes it sense to store the instructions (needed for history and compare different solutions from different player?). Is a multi dimensional array a possible way?
c) how to "communicate" the instructions with the teams (GameObjects)? Should I create listeners in the FSM of the teams? Make these FSM sense: Command Creator (Object: Panel) > Save Command (Object: Panel) > Get Command (select the right GameObject and send a message to it) (Object: Empty Object)> GameObject execute it (Obect: Game Objects)


Thanks for your feedback and best regards

Florian

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7623
    • jinxtergames
Re: Architecture for a simulation game?
« Reply #1 on: December 31, 2017, 11:11:06 AM »
Hi.

a) That totally depends on how you want your game to work.

    It is hard to tell for us what would be best.
    Best thing you can do is, make a few different types and then see what fits best.


b) Probably using array maker or xml

    You can find tutorials on the User Tutorial wiki page

c) That totally depends on how you want your game to work.

    But you can look for the 'Global events and Global Transitions' to understand how they work.


Also if your knowledge is still little i would suggest to follow several tutorials on the User Tutorial wiki page
and try to make some simple projects. it will break many walls you otherwise would run into...( and believe me, ive been there :) )