1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

AoS ravagekitteh's Amazing Age of Sigmar Battle Simulator

Discussion in 'Seraphon Discussion' started by ravagekitteh, Apr 25, 2019.

  1. ravagekitteh
    Carnasaur

    ravagekitteh Well-Known Member

    Messages:
    1,156
    Likes Received:
    1,801
    Trophy Points:
    113
    Here is my Age of Sigmar battle simulator for you all to enjoy. The concept is simple - just input the size of the units, what the units are (yes, I know the order is counter-intuitive), and any weapons choices, and it will simulate a one on one battle between the two, including shooting and any other abilities the units may have. All it requires to run is Python (the programming language), which can be downloaded for free off the website. I will warn you it is very bare bones, with no GUI and very little leeway for typos, although it does allow some abbreviations for weapon options. I also have not subjected it to full on testing (this is just a relatively small project I'm doing for fun), so there will likely be bugs. The program itself should be updated at semi-regular intervals.

    With that in mind, the purpose of this thread (other than to supply the program itself) is simple - this is for you to ask questions about its operation, point out bugs, make requests for characters and features (within reason - don't expect any major changes) and other things of the sort. However, with the exception of reporting bugs and other issues, I would prefer if discussion of the technical side (eg how it is coded, getting hold of the code, better programming techniques etc) was to take place in the development thread here.

    Currently supported units:
    Seraphon:
    Saurus Oldblood
    Saurus Sunblood
    Saurus Warriors
    Saurus Guard
    Skinks
    Bastiladon
    Stormcast Eternals:
    Liberators
    Idoneth Deepkin:
    Lotann
    Namarti Thralls
    Namarti Reavers
    Ishlaen Guard
    Sylvaneth:
    Dryads
    Khorne:
    Bloodletters
    Skull Cannons

    And now, without further ado, the program!
     

    Attached Files:

    Last edited: Apr 26, 2019
  2. Wilhelm Stürmer
    Razordon

    Wilhelm Stürmer Well-Known Member

    Messages:
    370
    Likes Received:
    569
    Trophy Points:
    93
    Ok, this is a neat program and I really hope you continue to develop it. I've been playing around with it and ran into a "buggy" output.

    Bug.PNG

    The wording for the Bastiladon surviving is confusing, as it states the unit survives with "0 wounds remaining"
     
    ravagekitteh likes this.
  3. ravagekitteh
    Carnasaur

    ravagekitteh Well-Known Member

    Messages:
    1,156
    Likes Received:
    1,801
    Trophy Points:
    113
    I believe I have fixed the problem if you want to give it another try (by the way, it will accept abbreviations like se for solar engine if you want to speed things up - I'll try to add more as time goes on). Also, if you moderators feel it is good enough, would it be worth pinning this thread so it doesn't get lost beneath all the others?
     
  4. GreenyRepublic
    Chameleon Skink

    GreenyRepublic Well-Known Member

    Messages:
    176
    Likes Received:
    775
    Trophy Points:
    93
    Hey, this seems familiar...

    My version however has been woefully neglected - Ravage do you fancy joining our efforts on this? If you feel comfortable with C++ that is, however I am also wanting to implement special abilities by way of Lua scripting.
     
  5. ravagekitteh
    Carnasaur

    ravagekitteh Well-Known Member

    Messages:
    1,156
    Likes Received:
    1,801
    Trophy Points:
    113
    As much as that would create a far superior program (and how I don’t want to steal your thunder!) I think I would struggle with doing that. The act of collaboration would be hard enough with the limitations of the website, but with my idiosyncratic programming technique and lack of knowledge on programming beyond the basics of Python, I think it would be too much effort on both of our parts for not enough progress. This was only ever going to be a relatively simple program that I made for fun and for my own personal use - adding it to the forum was only really an afterthought anyway. I’m more than happy to supply the code and talk through how I’ve done certain things, and to give you credit for coming up with the idea I’m the first place! But when it comes to collaboration, or grand gestures like GUIs or changing the language/technique entirely, I think I’m going to have to politely and respectfully decline if that’s okay.
     
    Dan32234234234324 likes this.
  6. GreenyRepublic
    Chameleon Skink

    GreenyRepublic Well-Known Member

    Messages:
    176
    Likes Received:
    775
    Trophy Points:
    93

    Not a problem at all, C++ would be a big leap for a new programmer, though if you ever wanted to learn I'd encourage it as it can teach a good amount about manual resource management. If you were interested in helping me write ability scripts in Lua when I get round to that I'd be thankful, and of course if you want to contribute your own model/weapon XML files please do!
     
  7. Womboski
    Saurus

    Womboski Active Member

    Messages:
    73
    Likes Received:
    127
    Trophy Points:
    33
    I just want to say I enjoyed your conversation and the respect shown for each other. Keep it up Lustria Online!
     
  8. Killer Angel
    Slann

    Killer Angel Prophet of the Stars Staff Member

    Messages:
    5,199
    Likes Received:
    8,470
    Trophy Points:
    113
    Very interesting tool.

    how is the development going?
     

Share This Page