Page 2 of 2
Re: circular escort reference in Dictators 1.3
Posted: Wed Jul 20, 2011 8:23 pm
by CommonSenseOTB
system.economy <= 2 and shipdata conditions less than 3.
Re: circular escort reference in Dictators 1.3
Posted: Wed Jul 20, 2011 9:01 pm
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.
Re: circular escort reference in Dictators 1.3
Posted: Wed Jul 20, 2011 9:04 pm
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.
Re: circular escort reference in Dictators 1.3
Posted: Wed Jul 20, 2011 9:25 pm
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.
Re: circular escort reference in Dictators 1.3
Posted: Wed Jul 20, 2011 9:38 pm
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.
Re: circular escort reference in Dictators 1.3
Posted: Thu Jul 21, 2011 12:33 pm
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.
Re: circular escort reference in Dictators 1.3
Posted: Fri Dec 09, 2011 12:10 pm
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 ?
Re: circular escort reference in Dictators 1.3
Posted: Fri Dec 09, 2011 12:15 pm
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.
Re: circular escort reference in Dictators 1.3
Posted: Fri Dec 09, 2011 12:17 pm
by Fatleaf
It is there. It is in the Flavours section.
And Welcome to The Friendliest Forum This Side of Riedquat
Arrrgh Ninja'd by Disembodied
Now I know how Smivs feels
Re: circular escort reference in Dictators 1.3
Posted: Fri Dec 09, 2011 12:17 pm
by Cody
Here... and welcome aboard!
Re: circular escort reference in Dictators 1.3
Posted: Fri Dec 09, 2011 12:19 pm
by Wildeblood
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.
And others.
Re: circular escort reference in Dictators 1.3
Posted: Mon Dec 12, 2011 9:14 pm
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.