Pages: [1]
|
|
|
Author
|
Topic: Random Team Generation (Read 3147 times)
|
|
Anthony
*Smell* controller
Offline
Gender:
Posts: 358
Star Control Lives!
|
Cool link Nice way to hone my skills against random teams with a point total that I can choose.
|
|
|
Logged
|
|
|
|
|
Squisherxxx
Zebranky food
Offline
Posts: 44
|
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.
|
|
|
Logged
|
|
|
|
|
paxed
Zebranky food
Offline
Posts: 3
|
I wrote a random team generation program quite a while ago: 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/
|
|
|
Logged
|
|
|
|
paxed
Zebranky food
Offline
Posts: 3
|
And, to scratch my own itch, here's a different team generator: 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. 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.
|
|
« Last Edit: January 02, 2007, 04:09:14 pm by paxed »
|
Logged
|
|
|
|
evktalo
Frungy champion
Offline
Posts: 50
|
paxed, that looks fantastic. That should be implemented into UQM.
--Eino
|
|
|
Logged
|
|
|
|
psydev
*Many bubbles*
Offline
Gender:
Posts: 136
Why don't all races have point defense lasers?
|
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?
|
|
|
Logged
|
|
|
|
Squisherxxx
Zebranky food
Offline
Posts: 44
|
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
|
|
|
Logged
|
|
|
|
paxed
Zebranky food
Offline
Posts: 3
|
The sources for my generator are here
|
|
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|