Anarchies 2.8 now available

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1244
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: Anarchies 2.8 now available

Post by UK_Eliter »

Yes, that is what I meant. Sorry if I was not clear. I'll give the OXP a spin later, and report back.
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1244
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: Anarchies 2.8 now available

Post by UK_Eliter »

The Burning Corolis OXP spawns a flashing, semi-transparent but otherwise fully functional corolis station, upon player launch.

Here's a screenshot.

Here's another.

The pictures were taken at the 'extra detail' graphics setting but in this context I noticed no difference between that setting and the 'shaders enabled' setting.
User avatar
gsagostinho
---- E L I T E ----
---- E L I T E ----
Posts: 573
Joined: Sun Jul 19, 2015 1:09 pm

Re: Anarchies 2.8 now available

Post by gsagostinho »

@UK_Eliter Hmm, maybe this old OXP is not compatible with the current game? I don't know, I haven't tested it in game but I will try it some time.
dybal
---- E L I T E ----
---- E L I T E ----
Posts: 499
Joined: Mon Feb 10, 2020 12:47 pm

Re: Anarchies 2.8 now available

Post by dybal »

I couldn't find a hacker's henchman in a TL9 Anarchy system (Retila, G1), so I run system.shipsWithRole("anarchies_henchman") - and it returned an empty array - no ships...

I then tried to spawn it with system.addShips("anarchies_henchman", 1), as the setUpSystem function of the Anarchies OXP does, and it returned null... no ship spawned.

I then looked at the shipdata.plist and tried the dataKey for that ship: system.addShips("[anarchies-hacker-henchman]",1) and it returned null too

I then tried to spawn the ship it's based on: system.addShips("[anarchies-hacker-viper]",1) and it returned null too

I went down another layer and tried system.addShips("[anarchies-renegade_viper]",1) and that worked:

Code: Select all

[[Ship "Renegade Viper" position: (14770.3, -16139.1, -8030.47) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]]
I could not get any of the ships based (like_ship) on anarchies-renegade_viper to spawn.

I then modified anarchies-hacker-viper definition's (original bellow) "like_ship" to "asp" and it spawned, as did its derivatives (anarchies-hacker-henchman, anarchies-renegade-viper).

Code: Select all

|   "anarchies-hacker-viper" = {
      "ai_type" = "anarchiesDefendStationAI.plist";
      "bounty" = 30;
      "energy_recharge_rate" = 5;
      "has_ecm" = 0.84999999999999998;
      "has_escape_pod" = 0.5;
      "has_fuel_injection" = 0.59999999999999998;
      "has_scoop" = 0.69999999999999996;
      "has_shield_booster" = 0.75;
      "laser_color" = "cyanColor";
      "like_ship" = "anarchies-renegade_viper";
      "max_energy" = 400;
      "missiles" = 2;
      "name" = "Hacker Viper";
      "roles" = "anarchies_hackerOutpost_defender";
   };
I tried this with minimal OXPs, just Anarchies and my Ship's OXP (Terrapin):

Code: Select all

00:47:25.073 [searchPaths.dumpAll]: Resource paths: 
    ~/GNUstep/Applications/Oolite-local/oolite.app/Resources
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns
    AddOns
    ~/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Commander_McLane.Anarchies.oxz
    AddOns/terrapin-1.0.mod.oxz
    AddOns/Basic-debug.oxp
00:47:26.538 [shipData.load.begin]: Loading ship data.
I confess I'm stumped...
User avatar
Milo
---- E L I T E ----
---- E L I T E ----
Posts: 466
Joined: Mon Sep 17, 2018 5:01 pm

Re: Anarchies 2.8 now available

Post by Milo »

anarchies_conditions.js doesn't allow them to spawn. I think it was an oversight (not considering like_ship references).

Replace this.allowSpawnShip with this:

Code: Select all

this.allowSpawnShip = function(shipKey) {
	switch (shipKey) {
		case "anarchies-renegade_viper":
		case "anarchies-hacker-viper":
		case "anarchies-renegade-viper":
		case "anarchies-hacker-henchman":
			if (system.info.government < 2) return true;
			break;
		case "anarchies-scavenger-phoenix":
			if (system.info.government === 0) return true;
			break;
		
	}
	return false;
}
dybal
---- E L I T E ----
---- E L I T E ----
Posts: 499
Joined: Mon Feb 10, 2020 12:47 pm

Re: Anarchies 2.8 now available

Post by dybal »

Milo wrote: Thu Jul 02, 2020 5:07 am
anarchies_conditions.js doesn't allow them to spawn. I think it was an oversight (not considering like_ship references).

Replace this.allowSpawnShip with this:

Code: Select all

this.allowSpawnShip = function(shipKey) {
	switch (shipKey) {
		case "anarchies-renegade_viper":
		case "anarchies-hacker-viper":
		case "anarchies-renegade-viper":
		case "anarchies-hacker-henchman":
			if (system.info.government < 2) return true;
			break;
		case "anarchies-scavenger-phoenix":
			if (system.info.government === 0) return true;
			break;
		
	}
	return false;
}
Thanks, Milo!

I hadn't noticed the condition_script property in shipdata.plist, I thought anarchies_conditions.js would have only equipment conditions and didn't look there.

I wonder if phbk is mantaining this OXP too?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4636
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Anarchies 2.8 now available

Post by phkb »

dybal wrote: Thu Jul 02, 2020 3:51 pm
I wonder if phbk is mantaining this OXP too?
Well, I don't know about phbk, but phkb is! I seem to be maintaining a lot of OXP's at the moment...

I'll add it to my (ever-lengthening) list.
dybal
---- E L I T E ----
---- E L I T E ----
Posts: 499
Joined: Mon Feb 10, 2020 12:47 pm

Re: Anarchies 2.8 now available

Post by dybal »

Version 2.9.4 available on the Expansion Manager or here

Changes:
- fixed conditions script so ships derived from anarchies-renegade_viper could be spawned. (thanks to Milo for the fix)
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1244
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: Anarchies 2.8 now available

Post by UK_Eliter »

Well, we gotta have some renegade vipers, surely! Nice: :) .
User avatar
Cholmondely
Archivist
Archivist
Posts: 4987
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Anarchies 2.8 now available

Post by Cholmondely »

Any decent tips for Anarchies (Hints.oxp)?

With my chronic combat inadequacies, I usually just scarper to the station as fast as I can.

But what do you chaps do?
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?
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2412
Joined: Mon May 31, 2010 11:11 pm

Re: Anarchies 2.8 now available

Post by Switeck »

Seek helpers before even thinking about fighting pirate groups.
User avatar
Cholmondely
Archivist
Archivist
Posts: 4987
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Anarchies 2.8 now available

Post by Cholmondely »

Switeck wrote: Mon May 23, 2022 6:20 am
Seek helpers before even thinking about fighting pirate groups.
Ummm... you mean, use another .oxp such as Escort Deck?
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?
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2412
Joined: Mon May 31, 2010 11:11 pm

Re: Anarchies 2.8 now available

Post by Switeck »

No, I mean follow a freighter with 4+ escorts and use it as bait...and help it fight if the fight looks winnable.
User avatar
Cholmondely
Archivist
Archivist
Posts: 4987
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Anarchies 2.8 now available

Post by Cholmondely »

Cholmondely wrote: Sun May 22, 2022 9:36 pm
Any decent tips for Anarchies (Hints.oxp)?

With my chronic combat inadequacies, I usually just scarper to the station as fast as I can.
Bump!

Switeck's tip about to be included.
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: 4987
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Anarchies 2.8 now available

Post by Cholmondely »

Missing shiplibrary.plist is found here
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