Title: Random Team Generation Post by: Squisherxxx on December 28, 2006, 09:53:09 pm If anyone wants a random team generator, go to :
http://www.cwo.ca/sc2.php Title: Re: Random Team Generation Post by: Anthony on December 28, 2006, 09:56:35 pm Cool link :D Nice way to hone my skills against random teams with a point total that I can choose.
Title: Re: Random Team Generation Post by: 0xDEC0DE on December 29, 2006, 01:30:26 am Oooooo...
It's not about to win any beauty contests, but you can always put a pretty face on it later after you're comfortable with the technology. I'd suggest using the ship images and mimicking the in-game fleet picker screens. Title: Re: Random Team Generation Post by: Squisherxxx on December 29, 2006, 04:20:37 pm you dont like the <pre> with a print_r ? lol yeah, I originally did this for when my buddy and me play, but if people like it I can beautify it somewhat.
I plan to add constrant options like one of each ship or mutually exclusive teams, where each ship is unique to a team. Title: Re: Random Team Generation Post by: Koowluh on December 29, 2006, 08:20:40 pm Excellent; I entered bug #858 in the bug database as an enhancement, which pretty much describes what you wrote... Perhaps you can link it up with that ?
Title: Re: Random Team Generation Post by: paxed on December 31, 2006, 01:18:44 am I wrote a random team generation program quite a while ago:
http://bilious.homelinux.org/~paxed/code/uqmteams.c (http://bilious.homelinux.org/~paxed/code/uqmteams.c) Squisherxxx: perhaps you could add a link on the php script where the user could download the generated team file as a *.mle file, so he can save it into ~/.uqm/teams/ Title: Re: Random Team Generation Post by: paxed on December 31, 2006, 07:41:29 pm And, to scratch my own itch, here's a different team generator: http://bilious.homelinux.org/~paxed/uqmteam/ (http://bilious.homelinux.org/~paxed/uqmteam/)
It shows the ship images and allows downloading the teams as .mle or melee.cfg files. EDIT: ...And it now supports limiting ships to a team, and naming the teams: Random Old Alliance and Hierarchy Teams (http://bilious.homelinux.org/~paxed/uqmteam/?points=150&allow=2110012001200102010220210&t1n=Random%20Old%20Alliance&t2n=Random%20Old%20Hierarchy). There's still slight problems with IE (though it's usable), and Opera (my code is buggy, opacity doesn't work) EDIT 2: It works with Opera now. Title: Re: Random Team Generation Post by: evktalo on January 06, 2007, 04:15:02 pm paxed, that looks fantastic. That should be implemented into UQM.
--Eino Title: Re: Random Team Generation Post by: psydev on January 10, 2007, 04:37:28 am FWIW:
A simpler solution to this might be to have an extra "box" when selecting ships in melee: So instead of picking your desired ship, you just pick a box with a "?" on it, and it picks a ship at random. Of course, this would lack the added functionality of a more complex system that lets you exclude certain ships, set ship cost ranges, maximum instances of each ship and so forth, but might be good enough as a start? Title: Re: Random Team Generation Post by: Squisherxxx on January 10, 2007, 11:00:46 pm Hey paxed, ive added some new features to my random generation. We each have intersting things which make our generators unique. perhaps we should do some coding together to make a unified random team generator
Title: Re: Random Team Generation Post by: paxed on January 12, 2007, 04:53:09 pm The sources for my generator are here (http://bilious.homelinux.org/~paxed/uqmteam/index.php.txt)
|