Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Fantasy football ... with lasers

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
jh145
Dangerous
Dangerous
Posts: 94
Joined: Thu Dec 25, 2014 8:39 pm

Fantasy football ... with lasers

Post by jh145 »

Hi, new here and not yet warned-off asking stupid questions :D

Has there been any attempt to automatically rank the NPC combat capability of ships, e.g. in five-aside matches (like Pit Vipers versus Viper Interceptors) in some sort of sandbox environment?

Notwithstanding the unreality caveats (e.g. black ships are tougher adversaries for humans than for the computer), I think it would be rather interesting to see the results of series of such deathmatches. But I don't think it can be simulated in an OXP, can it, as the OXP couldn't exert sufficient control to make the match happen and let the player witness it?

But it's Christmas, so who knows ...
:mrgreen: <-- an elf
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2319
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia

Re: Fantasy football ... with lasers

Post by Wildeblood »

Some particular starting settings of Factions OXP should do it...?
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Fantasy football ... with lasers

Post by Norby »

There is a somewhat similar effort in [EliteWiki] CCL which produced a Table of Player Ships. Click on the title of the "Standard" column to order by the estimated strength.
User avatar
ffutures
---- E L I T E ----
---- E L I T E ----
Posts: 2142
Joined: Wed Dec 04, 2013 12:34 pm
Location: London, UK
Contact:

Re: Fantasy football ... with lasers

Post by ffutures »

Am I regularly getting bounced by fleets of 15-20 pirates because the Boa Cruiser is rated highest in all three columns?
User avatar
jh145
Dangerous
Dangerous
Posts: 94
Joined: Thu Dec 25, 2014 8:39 pm

Re: Fantasy football ... with lasers

Post by jh145 »

Norby wrote:
There is a somewhat similar effort in [EliteWiki] CCL which produced a Table of Player Ships. Click on the title of the "Standard" column to order by the estimated strength.
Nice, but not really what I had in mind: I wanted to have Oolite pit ships against each other in a controlled environment and observe the outcome.

I know nothing about OXP programming, but I took a quick look at the documentation and it seems doable to manufacture battles of the type I was thinking of. It would go something very (very, very) roughly like this. Your ship arrives at special system X. All ship generation in system X is disabled except for those we choose, so we choose to create two ship groups near the witchpoint. Group 1 is led by a Foobar (fancy names aren't my strong-point) -- an invincible, immovable, unarmed lump of whatever -- with five Mussuranas assigned to protect it. Group 2 is also led by a Foobar, this time with five Imperial Traders escorting. The groups are told by the OXP to go kill each other (they're all bounty-hunting fugitives?). They're so busy wiping each other out that they ignore the player, so you just drift there watching the battle unfold.

It's only a sketch, from close to zero knowledge of the API, but does that look like a plausible way of constructing a battle in a controlled fashion?
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Fantasy football ... with lasers

Post by Smivs »

What you describe is do-able certainly, and could probably be more specific in terms of targeting each other as you could write scripts/AIs which specifically tell group A to target group B ships and vice-versa. Also, why have the large group leader? It doesn't sound as though it has any purpose, although each faction could start from a small station, which is then open to attack if the defenders are wiped out. All sorts of possibilities exist.
It may not be as hard as it sounds, so why not have a think about trying it yourself? You will find plenty of help here - most of us OXPers started from a baseline of zero knowledge.
And the cookies are great! :)
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Fatleaf
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 1988
Joined: Tue Jun 08, 2010 5:11 am
Location: In analysis mode on Phaelon
Contact:

Re: Fantasy football ... with lasers

Post by Fatleaf »

What you have described there is exactly what happens outside a [EliteWiki] Space Bar when they come under attack. Except you have a lot of different cool looking ships and you can get involved if you want.
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
User avatar
jh145
Dangerous
Dangerous
Posts: 94
Joined: Thu Dec 25, 2014 8:39 pm

Re: Fantasy football ... with lasers

Post by jh145 »

Yep, I'm familiar with Space Bars. Found it best to get involved only from a distance and with good shields!

> It may not be as hard as it sounds, so why not have a think about trying it yourself?

OK. Cage Fight OXP coming soon eventually (maybe) ... :wink:
User avatar
spud42
---- E L I T E ----
---- E L I T E ----
Posts: 1568
Joined: Wed Mar 26, 2014 10:11 am
Location: Brisbane,Australia

Re: Fantasy football ... with lasers

Post by spud42 »

The dark side has claimed another victim.... :mrgreen: :mrgreen: :mrgreen:
Arthur: OK. Leave this to me. I'm British. I know how to queue.
OR i could go with
Arthur Dent: I always said there was something fundamentally wrong with the universe.
or simply
42
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Fantasy football ... with lasers

Post by Diziet Sma »

Sounds like a fun and interesting project.. I look forward to seeing what becomes of it. 8)
jh145 wrote:
Hi, new here and not yet warned-off asking stupid questions :D
Around here, we work on the principle that there's no such thing as a stupid question. Feel free to ask anything you like, you'll get plenty of helpful answers.. (and you won't be told to RTFM or search for it, either!). We do our best to live up to our reputation as "the friendliest board this side of Riedquat™".
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
jh145
Dangerous
Dangerous
Posts: 94
Joined: Thu Dec 25, 2014 8:39 pm

Re: Fantasy football ... with lasers

Post by jh145 »

I have something basically working. The add-on spawns two groups of five same-type ships either side of a buoy a little way back (away from the planet) from the witchpoint. They attack the heck out of each other until no-one's left or a timer calls it quits (learnt the hard way from watching two small and inaccurate ships get nowhere fast). The score is logged. Then I've got a Python script that implements some dodgy probability calculations to estimate, from rather sparse data, the "rating" for each ship.

Running this morning on all ships associated with a Random Hits big boss, I have (rating : won-lost : ship) ...
(edit: updated to reflect results of further trials)

Code: Select all

 8.7646 :  9-1  : random_hits_big_boss_fighter_galtech_escort_fighter (GalTech Escort Fighter)
 6.4152 : 11-1  : random_hits_big_boss_impcourier (Imperial Courier)
 5.4611 : 15-1  : random_hits_big_boss_cobra4 (Cobra Mark IV Black)
 3.5026 :  6-1  : random_hits_big_boss_fighter_gnat (Gnat)
 2.8258 :  9-2  : random_hits_big_boss_supercobra (SuperCobra)
 1.6142 :  8-2  : random_hits_big_boss_imptrader (Imperial Trader)
 1.4739 : 13-3  : random_hits_big_boss_fighter_chameleon (Chameleon)
 1.3257 : 11-2  : random_hits_big_boss_fighter_arachnid (Arachnid Mark 1)
 1.0935 :  5-1  : random_hits_big_boss_guard_phaze (Purple Haze)
 0.9142 :  6-2  : random_hits_big_boss_pitviper (Pitviper Mark II)
 0.8305 :  8-3  : random_hits_big_boss_guard_cobra3courierSE-trader (Cobra Courier SE)
 0.6156 :  3-5  : random_hits_big_boss_fighter_dttmk1 (DTT Mark I)
 0.6101 :  4-2  : random_hits_big_boss_guard_cobra3courier (Cobra Courier)
 0.4546 :  8-6  : random_hits_big_boss_guard_cobra3-alternate (Cobra Mark III)
 0.4514 :  7-2  : random_hits_big_boss_wolfmk2SE_spacelane (Wolf Mark II)
 0.4067 :  4-3  : random_hits_big_boss_fighter_mussurana (Mussurana)
 0.3277 :  4-5  : random_hits_big_boss_fighter_asp (Asp Mark II)
 0.3195 :  2-3  : random_hits_big_boss_fighter_aspmk1 (Asp Mark I)
 0.2501 :  5-6  : random_hits_big_boss_fighter_moray (Moray Star Boat)
 0.2275 :  6-6  : random_hits_big_boss_guard_salamander (Salamander)
 0.2011 :  6-4  : random_hits_big_boss_fighter_monitor (Monitor)
 0.1780 :  4-4  : random_hits_big_boss_guard_ferdelance (Fer-de-Lance)
 0.1200 :  2-7  : random_hits_big_boss_fighter_bushmaster (Bushmaster)
 0.1178 :  5-8  : random_hits_big_boss_fighter_manta (DTT Manta)
 0.0853 :  7-4  : random_hits_big_boss_fighter_ghavial (Ghavial)
 0.0573 :  1-8  : random_hits_big_boss_fighter_sidewinderx (Sidewinder Special)
 0.0558 :  2-4  : random_hits_big_boss_fighter_drake (Drake)
 0.0476 :  5-6  : random_hits_big_boss_fighter_sidewinder (Sidewinder Scout Ship)
 0.0464 :  4-7  : random_hits_big_boss_fighter_drake2 (Drake Mark II)
 0.0380 :  1-5  : random_hits_big_boss_fighter_cobra1 (Cobra Mark I)
 0.0296 :  3-6  : random_hits_big_boss_fighter_yacht (Ophidian Yacht)
 0.0287 :  1-5  : random_hits_big_boss_fighter_cobra2x (Cobra Mark II-X)
 0.0274 :  1-8  : random_hits_big_boss_fighter_bug (Bug)
 0.0259 :  1-4  : random_hits_big_boss_fighter_krait (Krait)
 0.0238 :  1-11 : random_hits_big_boss_fighter_griffin1 (Griffin Mk I)
 0.0161 :  1-12 : random_hits_big_boss_fighter_gecko (Gecko)
 0.0087 :  1-9  : random_hits_big_boss_fighter_adder (Adder)
 0.0070 :  1-6  : random_hits_big_boss_fighter_mamba (Mamba)
 0.0012 :  0-16 : random_hits_big_boss_fighter_attackworm (Worm Attack Drone)
The ratings are not trustworthy (and between this and the previous draft of the post they looked quite different), but they are at least somewhat suggestive of how one might rank these opponents in practice.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5121
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Fantasy football ... with lasers

Post by Cholmondely »

jh145 wrote: Fri Dec 26, 2014 8:46 pm
OK. Cage Fight OXP coming soon eventually (maybe) ... :wink:
Did any of this ever see the light of day?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cholmondely
Archivist
Archivist
Posts: 5121
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Fantasy football ... with lasers

Post by Cholmondely »

jh145 wrote: Fri Dec 26, 2014 8:46 pm
OK. Cage Fight OXP coming soon eventually (maybe) ... :wink:
Ahem! did this ever see the light of day?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Post Reply