circular escort reference in Dictators 1.3

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

Moderators: another_commander, winston

User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: circular escort reference in Dictators 1.3

Post by CommonSenseOTB »

system.economy <= 2 and shipdata conditions less than 3. :D
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: circular escort reference in Dictators 1.3

Post by Eric Walch »

Gimi wrote:
Fine, I'll do that. But what script do I need to change to <3. (Sorry, not good with coding and scripts)
In the scripts folder is one file. You need to change line 14 of that file. That is will do the same as the original legacy script. Unless Ramirez changed the appearance frequency intentionally and forgot to change the conditions in shipdata also.
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: circular escort reference in Dictators 1.3

Post by Svengali »

Eric was faster .-)

And I think you can simply remove the conditions in shipdata for the Astrofactory. The script checks the same things.
User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: circular escort reference in Dictators 1.3

Post by CommonSenseOTB »

Don't forget, astrofactory has the role of station. Removing those shipdata conditions will allow astrofactories to appear as stations in the wrong systems. That is probably why there are conditions here and in a populator script as well. :wink:
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: circular escort reference in Dictators 1.3

Post by Gimi »

I changed dictators.js as recommended, and left shipdata.plist alone. Astrofactory spawns, however not in the dictatorship I was when the errors appeared (tech level 9). Did appear in a neighbouring dictatorship (tech level 8 ).
No errors in the log.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
Ramirez
---- E L I T E ----
---- E L I T E ----
Posts: 628
Joined: Mon Nov 07, 2005 9:52 am
Location: London, UK

Re: circular escort reference in Dictators 1.3

Post by Ramirez »

I vaguely remember what I was trying to do here:

Dictatorships with economy number < 4 (i.e. from 0 to 3) get the imperial ships, while those with economy > 3 (that's 4 to 7) get the junta ships. In addition through, the astrofactories I think I set in the upper industrial systems, hence the condition of economy <= 3 that appears in the script. However, this is a typo and it should just be economy < 3, without the equals.

EDIT - I've made a fix and have updated the wiki.
Download Resistance Commander plus many other exciting OXPs HERE
barge411
Average
Average
Posts: 10
Joined: Fri Dec 09, 2011 11:50 am

Re: circular escort reference in Dictators 1.3

Post by barge411 »

Hi,

Where is the Dictators.oxp ? its not on your
http://www.arcadia-digital.net/steve/Oolite/Oolite.html
webpage.

Any chance of making a link or has this oxp been retired ?
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6881
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: circular escort reference in Dictators 1.3

Post by Disembodied »

Hi barge411, welcome to the boards! If you go to Ramirez's webpage – the link you gave – and click on "Flavours", it'll take you to the download for (amongst others) the Dictators OXP.
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: circular escort reference in Dictators 1.3

Post by Fatleaf »

barge411 wrote:
Hi,

Where is the Dictators.oxp ? its not on your
http://www.arcadia-digital.net/steve/Oolite/Oolite.html
webpage.

Any chance of making a link or has this oxp been retired ?
It is there. It is in the Flavours section.

And Welcome to The Friendliest Forum This Side of Riedquat :D

Arrrgh Ninja'd by Disembodied :x Now I know how Smivs feels :P
Last edited by Fatleaf on Fri Dec 09, 2011 12:18 pm, edited 1 time in total.
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16063
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: circular escort reference in Dictators 1.3

Post by Cody »

Here... and welcome aboard!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2289
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia

Re: circular escort reference in Dictators 1.3

Post by Wildeblood »

barge411 wrote:
Hi,

Where is the Dictators.oxp ? its not on your
http://www.arcadia-digital.net/steve/Oolite/Oolite.html
webpage.

Any chance of making a link or has this oxp been retired ?
Along the top of that page you should see a horizontal menu: "Ships Equipment Flavours Missions Licence". Click on the "Flavours" tab to find Dictators.

Oh, hi there, Disembodied. :mrgreen:

And others. :mrgreen:
User avatar
Ramirez
---- E L I T E ----
---- E L I T E ----
Posts: 628
Joined: Mon Nov 07, 2005 9:52 am
Location: London, UK

Re: circular escort reference in Dictators 1.3

Post by Ramirez »

Thanks for pointing that out Wildeblood. An issue may be that my site is using iframes and I understand they don't work too well under Windows 7. I've recently done another website for my band using PHP and once I get a bit of free time I aim to convert the Oolite site to use a similar format.
Download Resistance Commander plus many other exciting OXPs HERE
Post Reply