#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    5
    Rep Power
    0

    Question Simulation Engine Algorithm Tips


    Hey everyone, I'm hard at work developing the core of my game and being someone that has never messed with in depth algorithms for game development I was wonder if I could get some help/tips/pointers on how to approach this aspect in my game. First off let me explain by saying my game is a wrestling simulation similar to THEWRESTLINGGAME. A user will create a wrestler, wrestle matches, train, and equip more advanced moves. Now the meat and potatoes will be the simulation engine which I was to construct to be as fun as possible to read match results.

    Now there will be a ton of variables for each character. My first question is should I use all of these variables combined to come up with an overall number to determine skill then calculate it with the strength of the characters moveset (which will also be averaged out?)? Is there a different approach you would take?

    Second is providing the text for the match results. I am completely clueless as to how to do this. Should I created a table with a bunch of action texts along with reaction texts and then just randomize them in certain situations or just pull the moves from the table and just within the results page itself create a buttload of if/else with a randomizer? Or if I'm completely off base feel free again to share any ideas.

    Lastly, I included an example of a simulation engine that are currently working in a few games just for reference on how I should approach the engine itself.

    Example:
    Code:
    Ring Announcer: "The following contest is scheduled for One Fall!"
    
    Ring Announcer: "Introducing first, Mark Devereaux"!
    Mark Devereaux makes his way to the ring
    
    Ring Announcer: "and his opponent, Thantanos"!
    Thantanos makes his way to the ring
    
    The two wrestlers stare proudly at each other
    and then engage in a exciting test of strength, trying to overcome their opponent
    after a few, seemingly endless, seconds and an enormous effort Thantanos prevails
    Thantanos points to Mark Devereaux with decision
    and hits his face with an light Ear Slap showing no respect
    Thantanos prepares to hit the rival
    Mark Devereaux moves and dodges a Forearm Smash, taking the initiative back
    Mark Devereaux grasps Thantanos
    and lifts him up, slamming him down to the mat performing a light Body Slam
    Mark Devereaux gets besides the laying opponent
    Thantanos blocks the Knee Stomp easely
    Thantanos gets close to his grounded opponent
    and hits him executing a light Knee Stomp
    Thantanos grabs Mark Devereaux's hair
    Thantanos grabs one of his opponent's arms and swings him into the ropes
    Thantanos takes a run-up on the ropes, runs towards his opponent
    stretching his arm hitting his back with a light Clothesline to Back
    Thantanos pulls Mark Devereaux still groggy, by his hair
    Thantanos puts his opponent on his shoulders
    Mark Devereaux climbs down his rival's shoulders dodging the Samoan Drop regaining the initiative
    Mark Devereaux grabs Thantanos's hair
    lunges himself on the ropes
    Mark Devereaux runs toward Thantanos and jumps
    Thantanos prevents from being thrown with a Running Arm Drag
    Thantanos puts his opponent on his shoulders
    and throws himself backward, trampling him with light Samoan Drop
    Thantanos grabs Mark Devereaux's hair
    Thantanos grabs one Mark Devereaux's arms and spins, swinging him into the ropes, then lunges himself as well
    Thantanos hooks Mark Devereaux from behind
    Mark Devereaux suddenly dodges the Backslide Pin, and starts to counterattack
    Mark Devereaux grabs Thantanos's hair
    Mark Devereaux grabs one Thantanos's arms and spins, swinging him into the ropes, then lunges himself as well
    Mark Devereaux grabs Thantanos from behind
    and attempts a pinfall with a light Backslide Pin
    Referee starts counting...
    Referee: ....Oneeeeeeeeeeeeeeeee....
    Referee: ....Twooooooooooooooooo....
    Thantanos gets up and resolutely fights back
    Thantanos stares at Mark Devereaux in front of him
    and hits his face with an light Ear Slap showing no respect
    Thantanos loads his arm chop style and
    Mark Devereaux moves and dodges a Forearm Smash, taking the initiative back
    Mark Devereaux grasps Thantanos
    and slams him down to the mat performing a light Body Slam
    Mark Devereaux grabs Thantanos's hair
    Mark Devereaux grabs one Thantanos's arms and spins, swinging him into the ropes, then lunges himself as well
    Mark Devereaux hooks Thantanos from behind
    hooking him by the arms sliding him across his back while falling performing a light Backslide Pin
    Referee starts counting...
    Referee: ....Oneeeeeeeeeeeeeeeee....
    Referee: ....Twooooooooooooooooo....
    Thantanos gets up and resolutely fights back
    Thantanos stares at Mark Devereaux
    Mark Devereaux avoids an Ear Slap and takes the initiative
    Mark Devereaux loads an arm towards himself
    Thantanos blocks the rival's arm preventing the execution of a Forearm Smash
    Thantanos loads his opponent on his shoulders
    and throws himself backward, trampling him with violent Samoan Drop
    Thantanos gets close to his grounded opponent
    and strikes his forehead with a light Knee Stomp
    Thantanos approaches his laying opponent
    Mark Devereaux avoids the Knee Stomp and counterattacks
    Mark Devereaux approaches his laying opponent
    Thantanos blocks the Knee Stomp easely
    Thantanos gets besides the laying opponent
    and strikes his forehead with a strong Knee Stomp
    Thantanos grabs Mark Devereaux's hair
    Thantanos grabs one Mark Devereaux's arms and spins, swinging him into the ropes, then lunges himself as well
    Thantanos runs toward Mark Devereaux
    and spins hitting him with a light Rolling Elbow Smash
    Thantanos pulls Mark Devereaux still groggy, by his hair
    Thantanos lifts his opponent on his shoulders
    and throws himself backward, trampling him with violent Samoan Drop
    Thantanos grabs Mark Devereaux's hair
    Thantanos grabs one of his opponent's arms and swings him into the ropes
    Thantanos takes a run-up on the ropes, runs towards his opponent
    and he hits his back with his arm taut performing a strong Clothesline to Back
    Thantanos grabs Mark Devereaux's hair
    Thantanos grabs one of his opponent's arms and swings him into the ropes
    Thantanos bounces on the ropes running towards his opponent
    Mark Devereaux gets down and avoids the Clothesline to Back. gaining the initiative
    Mark Devereaux gets close to his grounded opponent
    to hit him with a light Knee Stomp
    Mark Devereaux pulls Thantanos still groggy, by his hair
    Mark Devereaux loads his opponent on his shoulders
    Thantanos firmly blocks the execution of the Samoan Drop
    Thantanos grabs his opponent's nape from behind with his right hand
    and kneels down, flipping him over his shoulder down to the mat, back first connecting with a light Snapmare
    Thantanos grabs Mark Devereaux's hair
    Thantanos grabs one Mark Devereaux's arms and spins, swinging him into the ropes, then lunges himself as well
    Thantanos grabs Mark Devereaux from behind
    hooking him by the arms sliding him across his back while falling performing a light Backslide Pin
    Referee starts counting...
    Referee: ....Oneeeeeeeeeeeeeeeee....
    Referee: ....Twooooooooooooooooo....
    Referee: ....Threeeeeeeeeeeeeeee....
    THANTANOS WINS THE MATCH AND DEFEATS MARK DEVEREAUX!!!
    Any guidance is well appreciated. Thanks guys!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    194
    Rep Power
    76
    I'm guessing that the answers to your question weren't good anough at bbgamezone.net?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    5
    Rep Power
    0
    They were good of course but I like multiple opinions. Nothing wrong with that right?

IMN logo majestic logo threadwatch logo seochat tools logo