[Scripts] Apricot Mapping Service Scripts, MD and mini-mods [APv2.5.1/TCv3]

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

Zaixionito wrote:Err... Is there a version of Cbeam that doesn't add weapons, and rename the hub?

No offense, but I just want the FL-ish tractor beam.

Love the idea of the script otherwise. ;)
Just install the script or the salvage pack.

The hub name is probably unavoidable, but there is a separate option there to change it to whatever you like.

The names of the guns are added in any case, but you need the full mod to get the guns.
Lord Boreal
Posts: 218
Joined: Tue, 16. Mar 04, 11:12
x4

Post by Lord Boreal »

Mr Apricot.

I remember using a script of yours a while back that outfitted a ship with a load of software, and another that added a jumpdrive and some Ecells. I would like to use it again as I find equipping my ST/UTs alot easier with it! Also, is it possible to edit it to charge me rather than supply it for free?

Thanks!
My doctor says I have a malformed public duty gland and a natural deficiency in moral fibre, and that I am therefore excused from saving Universes.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

Lord Boreal wrote:I remember using a script of yours a while back that outfitted a ship with a load of software, and another that added a jumpdrive and some Ecells. I would like to use it again as I find equipping my ST/UTs alot easier with it! Also, is it possible to edit it to charge me rather than supply it for free?
The scripts are in both of the mods. I dont think I released them separately.

From AMS :

ap.setup.apricot.ship.equip.xml and rename it in the script editor to just setup...... so it runs on game startup to create the commands.

apricot.outfit.basics does the work when the command is run. The prices are already there, but not active. You would need to edit the file and activate each price line and change the value if you want.

This is set up for Apricot ships, but the logic can be changed or added for any ship type you use.

apricot.outfit.jump does the outfitting of jump drive and ecells but I never put in a price line, so you would need to add it.

Note that the script also sets up top level UT on creation, so no levelling up time needed. If you want it to start at basic level, delete the line that sets it.

Same scripts in the AMM, but may be named slightly differently.

The ap.setup script is designed to be called once from a higher script to set the commands up on the second load, but by removing the ap. bit, it will run by itself.
Lord Boreal
Posts: 218
Joined: Tue, 16. Mar 04, 11:12
x4

Post by Lord Boreal »

Thanks.
My doctor says I have a malformed public duty gland and a natural deficiency in moral fibre, and that I am therefore excused from saving Universes.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

The Hub plots were unchanged in patch v3.
(/\)arped
Posts: 2605
Joined: Wed, 24. Mar 04, 18:54
x4

Post by (/\)arped »

Hmm.

Since V3 I can't get a newly created HQ to work. (I'm using your HQ extension mod)

A new HQ will still allow creditless building, and still shows a much shortened production time, recycle time etc, but even with 100% resources it never starts doing anything. (Production, recycling, anything)

It's been awhile since I last played, am I missing something, or have I screwed up when installing V3? (I read it updated cat/cat 12 and none of the others?)
Coruskane
Posts: 851
Joined: Fri, 13. Jun 08, 13:14
x4

Post by Coruskane »

(/\)arped wrote:Hmm.

Since V3 I can't get a newly created HQ to work. (I'm using your HQ extension mod)

A new HQ will still allow creditless building, and still shows a much shortened production time, recycle time etc, but even with 100% resources it never starts doing anything. (Production, recycling, anything)

It's been awhile since I last played, am I missing something, or have I screwed up when installing V3? (I read it updated cat/cat 12 and none of the others?)
a sure-fire way is to extract the highest HQ.xml

open it up, and under the entry for the HQ set the resources=X and Time=X and Credits=X to 1% or whatever...
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

(/\)arped wrote:Hmm.

Since V3 I can't get a newly created HQ to work. (I'm using your HQ extension mod)

A new HQ will still allow creditless building, and still shows a much shortened production time, recycle time etc, but even with 100% resources it never starts doing anything. (Production, recycling, anything)

It's been awhile since I last played, am I missing something, or have I screwed up when installing V3? (I read it updated cat/cat 12 and none of the others?)
Odd. The hq definition was not changed in v3, and in fact, the 2.7 version was only catching up on what had already been done, so the mod version wasnt changed. There are a few minor differences, but the Merge Mod has the same differences and works fine.

I'll check it out when I get a moment.

Make sure your modded HQ file is not being overwritten by another mod or the 2.7 patch.

Edit :

I've tested it and everything seems to work, although repairing wanted money.

I've made some minor adjustments, and updated the extended HQ to v4. Unzip into the TC directory and it will be placed correctly and override any mod or patch.

Edit :

Updated the OP Jump to Derelict description to include what happens when the ship your jumping to, is in the atmosphere of a planet. :D
User avatar
Scion Drakhar
Posts: 932
Joined: Wed, 27. Oct 10, 03:15
x3ap

Post by Scion Drakhar »

Hey there. I've been using some of your mods for quite some time, namely the create derelict ships (only two per game start) and the cbeams, which I justify by having a transporter. I've been playing for a few months and have amassed enough ships and credits to have started a truly monumental (for me) project. In avarice, just south of legends home, I have essentially claimed the sector. Now I want to make it mine. I want to name it and perhaps charge other races for the privelege of building stations under the watchful eye of my fleet. I was wondering if you can reccomend a script/mod that you've used and trust?

Thank you so much for enhancing my gaming experience and rock on.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

If you look on my download site,

Claim Sector
Change Hub Name

The first you just run from the script editor and it changes the ownership of whatever sector your in.

The second, you can adapt. You need to find the correct sector number, then add it into the text file the same as the Hub sector is added, with the name you want. (If you edit 0001 with notepad, in page 17 you should find Avarice listed. Cut and paste the 2 records for Avarice into the Hub name change text file and change the name.)
User avatar
Scion Drakhar
Posts: 932
Joined: Wed, 27. Oct 10, 03:15
x3ap

Post by Scion Drakhar »

Thank you. I feel a bit sheepish actually. I've perused your download site on a number of occaisions and seem to have completely overlooked the claim sector.xml.

My mercantile domination of the universe is on hold atm, though. I've been inspired by NUKLEAR_SLUG's exploits and with my original saves safely tucked away I've begun a 'Yaki Captain' start and have begun terrorizing the shipping lanes. Nothing compared to starting the game in a spacesuit ...(O.O)... but after barely making it from Okrakoke's Storm through the Paranid core sectors with my skin intact I have to admit when one is not out to make friends with everyone the game is a wholly different experience.

At any rate, thanks again. The ability to claim a sector may come in even more handy with this new game than the last ... particularly Paranid ones.

- A loyal AMS customer
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

I think I added the claim sector script in response to a request not all that long ago, so it probably was added after the last time you checked. I generally dont release anything that has to be run inside the script editor, but there are a couple of them now due to demand.
User avatar
Scion Drakhar
Posts: 932
Joined: Wed, 27. Oct 10, 03:15
x3ap

Post by Scion Drakhar »

I, personally, am of the opinion that the ability to claim a sector that is either unclaimed, i.e. unknown, or one you just leveled should be an integral part of the game and the lack of such is an oversight on the part of egosoft. There are several claim mods out there that I am curious about, but as I am not a programer the ramifications of a faulty one, or one that doesn't play nice with the other modifications I've installed on the game, are somewhat daunting. I don't relish having to completely re-install not only the game but all the additional scripts I find so amusing.

So thanks again and if there is a more comprehensive adaptation of the concept in the future that you'd be willing to reccomend, like being able to manage trade, taxes, and placing race restricions within the sector, I'd be very intrested in hearing about it.

Oh, and since I have your attention, I've tried several times to register to and use your forum but can't seem to get past the verification page. You know, the part where you type back the funny shaped letters as proof of humanity. Over and over the page keeps reseting and I've no clue what I'm doing wrong. If you can provide any insight I would very much like the ability to interact with and not merely be a passive reader of some of the threads in there. You see I, like yourself, have health issues for which the X universe is a welcome distraction from. I am also isolated and, for the most part, chats, forums and e-mail are my primary social interaction, sad as that may be.

At any rate, cheers.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

Scion Drakhar wrote:Oh, and since I have your attention, I've tried several times to register to and use your forum but can't seem to get past the verification page. You know, the part where you type back the funny shaped letters as proof of humanity. Over and over the page keeps reseting and I've no clue what I'm doing wrong. If you can provide any insight I would very much like the ability to interact with and not merely be a passive reader of some of the threads in there. You see I, like yourself, have health issues for which the X universe is a welcome distraction from. I am also isolated and, for the most part, chats, forums and e-mail are my primary social interaction, sad as that may be.
Very strange. The registration feature does not ask for funny letters, just to write in the word it asks for, and not to type in any of the profile information at that time. The way its set up at the moment, any profile information entered will identify you as a spambot and reset the page. There is a big red warning about this though, so it should be obvious.

Just in case, PM me the url you are using so I can check it.
User avatar
Scion Drakhar
Posts: 932
Joined: Wed, 27. Oct 10, 03:15
x3ap

Post by Scion Drakhar »

Well, now. I Am a dunce.

In the navy there was an expression: 'reading is fundamental.' One normally heard this statement after attempting to push through a door clearly marked pull or walking on the lawn where there was a sign clearly instructing one to 'keep off the grass.' It usually resulted in disconcerted expressions and sheepish behavior on the part of the unobservant offender. Here I am nursing a similarly bruised ego after failing to notice, or at least succesfully process the information in the large red statement regarding personal information. (Doh!)

I have succesfully registered as a member of the forum. Please accept my apologies for any unnecessary concern.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

:lol:

No problems
User avatar
Scion Drakhar
Posts: 932
Joined: Wed, 27. Oct 10, 03:15
x3ap

Post by Scion Drakhar »

So, I downloaded and installed the 'claim sector' xml but cannot get it to function. I hate to be one of those 'please help me' people yet here I am. In the sector description it says Unknown Sector, and then goes on to say the sector was claied by the apricot mapping service for the merge mod. At this point is it posible for me to claim it?

Thanks
A Pirate's Story.pdf(KIA) by _Zap _ From Nothing.PDF(complete) by _Zap _ Prodigal Son(active) Original Thread, Prodigal Son_PDF
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

Scion Drakhar wrote:So, I downloaded and installed the 'claim sector' xml but cannot get it to function. I hate to be one of those 'please help me' people yet here I am. In the sector description it says Unknown Sector, and then goes on to say the sector was claied by the apricot mapping service for the merge mod. At this point is it posible for me to claim it?

Thanks
You have to go into the script editor, highlight the scriopt name, press r to run the script, press enter twice as it doesnt need any other input, and then when you exit the editor, the sector should be claimed for you.

As I said before, its just a script that has to be run manually in the script editor, its never been developed to be run by command or hotkey.
User avatar
Scion Drakhar
Posts: 932
Joined: Wed, 27. Oct 10, 03:15
x3ap

Post by Scion Drakhar »

Hmmm. I have been using the script editor. Perhaps I'm using the wrong script. I'm afraid I have hundreds in there. Can you tell me, does it show up as 'claim sector?' Or is there another name and description I should be looking for?

Thanks for your time and patience.
A Pirate's Story.pdf(KIA) by _Zap _ From Nothing.PDF(complete) by _Zap _ Prodigal Son(active) Original Thread, Prodigal Son_PDF
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

SectorTakeover.ClaimSector

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”