Infinity Random List Generator

Discussion in 'News' started by Ieldin Soecr, Sep 28, 2018.

  1. Niebieskooki

    Niebieskooki Blue Sun Lieutenant

    Joined:
    Nov 23, 2017
    Messages:
    152
    Likes Received:
    118
    I don't know how feasible it is to accomplish as I have zero expierence in writing generators like that, but I think the more options for making semi-random lists the better. You still can make fully random if you wish but you also get an option to generate a list that is mostly random but fits some criteria you wanted: max SWC, unit with missile launcher, doctor or full fireteam (Of whatever composition) or mayby even the nubmer of orders you want to have in the list?

    I think that would be cool to have options like that and still keep a lot of random elemnts (you won't know which fireteam you'll get or which unit). No idea how difficult it is to make.
     
    Ieldin Soecr likes this.
  2. Robock

    Robock Well-Known Member

    Joined:
    Nov 24, 2017
    Messages:
    1,243
    Likes Received:
    858
    i had that problem with my home made generator. REMs were added too late (requiring hacker or TAG), now I always allow REM, knowing the list will always have a hacker anyway.
     
  3. -Ghost-

    -Ghost- Shalashaska

    Joined:
    Dec 12, 2017
    Messages:
    387
    Likes Received:
    375
    My hats off to you. Quite a feat of programming.

    My only complaint or nitpick is it bringing a Haris unit with none of the units to complete the Haris. Otherwise, a great tool for the toolbox for pickup games and even for some fun holiday tournaments.
     
    Ieldin Soecr likes this.
  4. Ieldin Soecr

    Ieldin Soecr Well-Known Member

    Joined:
    Nov 23, 2017
    Messages:
    130
    Likes Received:
    331
    Thank you all for your nice feedback, I hope you enjoy this tool so far.
    I just released a new Version with some changes and bug fixes you guys found:

    Version 0.6.1:

    - Added changelog reference to footer
    - Hide Number of Units Option when Limited Insertion gamemode is selected
    - Slight rewording and fixing of typos
    - Changes to the Soldiers of Fortune gamemode
    - Fixed Merc Army ID reference within the code
    - Indicate Merc Units within the generated Army List
    - Reworked the algorithm regarding max unit count (and Limited Insertion gamemode)
    - Units that do not generate Orders (G:Servent etc.) do not count against the max unit count
    - The algorithm will try to use the maximum amount of available points when adding the last unit
    - Changes to the Spec-Ops gamemode
    - Lists now always include a Spec-Op unit in this gamemode
    - The Spec-Op is added after the lieutenant but before specialists.

    And added a small reoadmap with planed features:

    - Adding option for Fireteams
    - If this option is activated, Fireteams will be maxed out as soon as a unit is added that enables one (Core, Haris, Triad, Enomotarchos).
    - Fireteam options (Including special and mixed Fireteams) have to be added to the database
    - Spec-Op configuration
    - When a Spec-Op is added to the list it will get a random selection of skills/weapons/equipment/stats
    - The number of XP can be configured
    - Additional configuration options
    - Add additional options for configuration of the generated Army Lists
    - First steps:
    - Include REM -> First unit after the lieutenant is a hacker to enable REMs
    - Specialist Types -> When a fix Number of Specialists is set, they are filled with the selected type of specialists
    - Max out SWC -> If this option is enabled units with SWC costs are added until the maximum amount is reached
     
    LankyOgreBP, Icchan, 3bounds and 4 others like this.
  5. Mahtamori

    Mahtamori Well-Known Member

    Joined:
    Nov 23, 2017
    Messages:
    12,054
    Likes Received:
    15,360
    I think if you plan on trying to get this thing to fill SWC, points and specialists (and so on) you'll eventually run into the knapsack problem (which incidentally is probably why building lists in Infinity is so hard and engaging)
     
  6. 3bounds

    3bounds Member

    Joined:
    Apr 14, 2018
    Messages:
    6
    Likes Received:
    5
    Used the generator for our game night and we loved it! Thank you so much for building this. We really look forward to the REMs button mentioned before.
     
    Ieldin Soecr likes this.
  7. inane.imp

    inane.imp Well-Known Member

    Joined:
    Jan 28, 2018
    Messages:
    6,040
    Likes Received:
    7,179
    Include REM in Ariadna should add a Dozer not a Wardriver.
     
    Ieldin Soecr likes this.
  8. Ieldin Soecr

    Ieldin Soecr Well-Known Member

    Joined:
    Nov 23, 2017
    Messages:
    130
    Likes Received:
    331
    Yeah I also noticed that. Currently I'm reworking the backend to be more flexible with implementing new features.

    Happy to hear that:hugging_face: Hope you got some cool and wonky lists out of it.
     
  9. Robock

    Robock Well-Known Member

    Joined:
    Nov 24, 2017
    Messages:
    1,243
    Likes Received:
    858
    in tunguska, you have to take one Miranda regular when you take a ABH (the Duo is taken together). Sometime it gives an ABH without Miranda.
     
    Ieldin Soecr likes this.
  10. Ieldin Soecr

    Ieldin Soecr Well-Known Member

    Joined:
    Nov 23, 2017
    Messages:
    130
    Likes Received:
    331
    Hey everyone, just released a new version with some new features and changes. Hope you like it:hugging_face:

    Change Log:
    Version 0.7.0:
    • Updated to Army 6.4.0
    • Added tooltips to configuration options
    • Added additional configuration options
      • Force REM: First unit after the lieutenant is a hacker or TAG to enable REMs
      • Fill SWC: If this option is enabled units with SWC costs are added until the maximum amount is reached before any other unit
    • Major rework of the backend code
    I had a look into this, and the problem is that the restriction for these profiles are not set within the data but are checked elsewhere. I will have to build a generic routine to handle those cases.

    I thought about it but didn't want to put a faction specifiy case within the code. Instead I'm thinking about to give an option to force the include of an control device unit (Also for Kuang Shi and Hungries).

    New Roadmap:
    • Adding option for Fireteams
      • If this option is activated, Fireteams will be maxed out as soon as a unit is added that enables one (Core, Haris, Triad, Enomotarchos).
      • Fireteam options (Including special and mixed Fireteams) have to be added to the database
    • Spec-Op configuration
      • When a Spec-Op is added to the list it will get a random selection of skills/weapons/equipment/stats
      • The number of XP can be configured
    • Additional configuration options
      • Add additional options for configuration of the generated Army Lists
      • First steps:
        • Specialist Types -> Only specialists of the selected Category are added
        • Include Control-Device-Unit -> Like Force REM to force the include of an Unit with a Control Device
    • Data rework
      • Include Fireteam Information to every profile
      • Include specialisttype to every profile
      • Include Spec-Op Weapon and Equipment data
     
  11. Robock

    Robock Well-Known Member

    Joined:
    Nov 24, 2017
    Messages:
    1,243
    Likes Received:
    858
    i feel like the swc >0 should be applied after the Lt and REM unlocks. There are plenty of space in the roster afterward to select a non-SWC Lt. But it dropped Lt option in Tunguska from 7 to 3. Also you could unlock REM with 0 SWC KHD.
    And in bakunin Fill SWC dropped the Kusanagi Lt +1SWC option from being considered but she's an awesome Lt when you want to fill 7SWC ;)
     
    Ieldin Soecr likes this.
  12. Abrilete

    Abrilete Well-Known Member

    Joined:
    Nov 24, 2017
    Messages:
    2,561
    Likes Received:
    3,486
    Your Random Generator really hates me: he knows that there are only two Sakiel sculpts and yet insists on building lists with three or more Sakiel in them XDDDD
     
    Ieldin Soecr likes this.
  13. Ben Kenobi

    Ben Kenobi Well-Known Member

    Joined:
    May 2, 2018
    Messages:
    1,386
    Likes Received:
    1,639
    The generator doesn't hate you, it hates Tohaa. And the cause of this is its creator :stuck_out_tongue_winking_eye:

    Sry @Ieldin Soecr :grin:
     
    Abrilete likes this.
  14. inane.imp

    inane.imp Well-Known Member

    Joined:
    Jan 28, 2018
    Messages:
    6,040
    Likes Received:
    7,179
    You best hope the box is released soon then. [emoji14]
     
  15. Mahtamori

    Mahtamori Well-Known Member

    Joined:
    Nov 23, 2017
    Messages:
    12,054
    Likes Received:
    15,360
    Heh. Clicked the Force REM and Force SWC options and the first list it generated wasn't terrible (cutting actual list due to size). Crane+CG team of 4 and an OK setup of CSU Duo and one of the overpriced versions of the Ninja. Missing smoke CG to appropriately combo with the Hsien HMG, but whatever - it's random!

    6 SWC | 296 Points

    Open in Infinity Army
     
    Ieldin Soecr and Robock like this.
  16. Ieldin Soecr

    Ieldin Soecr Well-Known Member

    Joined:
    Nov 23, 2017
    Messages:
    130
    Likes Received:
    331
    And the next Version is up. This will be the last one for a while as Spec-Ops and Fireteams are a hard nut to crack, but I will keep the Army data up to date and try to remove bugs when found.

    ChangeLog:
    Version 0.7.1
    • Added additional configuration options
      • Force Control-Device Unit: If checked, a profile possessing a Controll-Device or is a G:Marionette-Controller will be added to the List
      • Specialisttypes: Only Specialists of the selected types are added to the list
    • Reworked Fill SWC to only apply to added specialists and normal units, not the lieutenant and other special units
    • Tooltips are now manualy toggled to be useable on mobile devices
    • Restructured list generation log for better readability
    IF(Army=="Tohaa"){
    FOR(int i=0;i<3;i++) AddUnit("Sakiel");
    }
     
  17. LankyOgreBP

    LankyOgreBP Well-Known Member

    Joined:
    Dec 29, 2017
    Messages:
    230
    Likes Received:
    183
    Would it be possible to offer an option to disregard all Mercenary options?
     
    Ieldin Soecr likes this.
  18. Balewolf

    Balewolf It's all opinion

    Joined:
    Nov 24, 2017
    Messages:
    328
    Likes Received:
    540
    I can't say this enough, but I love this. I did run into an issue with a TAK list giving me 3 Aida Swansons though. If I knew how to hide stuff, I'd hide the log, sorry. (someone let me know how please)

    MwBgrAPqIQSghgOwCYHsC2ACAMgSwM4AuEAjAGwCkJJALAJwU0BMYTFAhCSN1SWA8wDsDTr2BsaJQSQ5gxlSXUqjq4xlJntBvGiEZMDHGaonltnBtTDB9ZGkbGnBNlSTWSy2gAJudCpjTKxm5OLgAcOjLMTEGO6p5GetQ0Nsy6RnLJEcxgeq7uUmycmbTZARH5oRyGVtpCbF5eQA

    Adding lieutenant
    9 possible profiles
    Added COLONEL VORONIN Lieutenant (Rifle)
    Unit AVA at max
    Adding SpecOp
    16 possible profiles
    Added INTEL (Rifle)
    Unit AVA at max
    Adding units
    27 possible profiles
    Added LINE KAZAK (Missile Launcher)
    27 possible profiles
    Added FRONTOVIK (Multiespectral Visor L1) (AP Sniper)
    27 possible profiles
    Added LINE KAZAK (Missile Launcher)
    27 possible profiles
    Added RATNIK (Heavy Rocket Launcher, Heavy Shotgun)
    42 possible profiles
    Added AÏDA SWANSON [M] (2 Submachine Gun, Viral Mines)
    42 possible profiles
    Added CARMEN (Chain Rifle, Smoke Grenades + Bâtard)
    Unit AVA at max
    41 possible profiles
    Added LINE KAZAK Paramedic (MediKit) (Rifle)
    41 possible profiles
    Added AÏDA SWANSON [M] (2 Submachine Gun, Viral Mines)
    41 possible profiles
    Added KAZAK DOKTOR (Rifle)
    Servants added
    41 possible profiles
    Added LINE KAZAK Paramedic (MediKit) (Rifle)
    41 possible profiles
    Added STRELOK (Submachine Gun, Chain-colt, Antipersonnel Mines)
    41 possible profiles
    Added AÏDA SWANSON [M] (2 Submachine Gun, Viral Mines)
    41 possible profiles
    Added IRMANDINHO (Chain Rifle, D-Charges, Smoke Grenades)
    41 possible profiles
    Added DOZER (Traktor Mul Control Device) (Rifle, D-Charges)
    Control-Device added
    39 possible profiles
    Added LINE KAZAK (Forward Observer) (Rifle)
    26 possible profiles
    Added DOZER (Rifle, D-Charges)
    Unit AVA at max
    10 possible profiles
    Added LINE KAZAK Paramedic (MediKit) (Rifle)
    2 possible profiles
    Added WARCOR (Sixth Sense L1) (Flash Pulse)
    Unit AVA at max
    No possible profiles found
     
    Ieldin Soecr likes this.
  19. TheDiceAbide

    TheDiceAbide Thank you for your compliance.
    Warcor

    Joined:
    Nov 23, 2017
    Messages:
    951
    Likes Received:
    3,129
    Hey man, I love that you’re still doing this! We are actually going to run a random list only tournament soon.

    I just noticed a couple bugs with Combined though... it doesn’t seem to think that Imetron are legal choices (it says there only 1 option when down to 4 points, and always seems to pick Gaki). Also, when making Morat Limited Insertion lists, it only detects two possible specialists when you set a minimum number: Kurgat with Autocannon, and Yaogat Hackers.

    Keep up the good work! I may do a series of random battle reports like I did a few years ago. :)
     
    Ieldin Soecr likes this.
  20. Gunmage

    Gunmage General Contact Unit

    Joined:
    Dec 4, 2017
    Messages:
    318
    Likes Received:
    336
    You can do it with these tags:
    Code:
    [spoiler] <your text> [/spoiler]
     
    Balewolf likes this.
  • About Us

    We are a company founded in 2001 in Cangas (Spain), and devoted to design and manufacture games and figures. Our main product, Infinity the Game, was born with the ambition to satisfy the most demanding audience, offering the best quality.

     

    Why are we here?

     

    Because we are, first and foremost, players.

  • Quick Navigation

    Open the Quick Navigation