Question on claiming sectors through mods

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

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

Post Reply
Heroguy293
Posts: 5
Joined: Thu, 12. Jul 12, 02:38

Question on claiming sectors through mods

Post by Heroguy293 » Mon, 27. Aug 12, 00:03

I use mods like Property Baron, and Lazcorp Claim sector, and i was wondering... is it possible to peacefully claim a sector without the race that owns the sector going gonzo on me? Meaning if i were to buy all the existing stations in Argon prime, and then claim the sector, would it be possible to claim it without the Argons becoming hostile? i mean even through mods, is there any methods to claim it without the owners becoming hostile?

User avatar
OOZ662
Posts: 1211
Joined: Tue, 8. Apr 08, 10:45
x4

Post by OOZ662 » Mon, 27. Aug 12, 00:16

Yes. Run a script command to change sector ownership from one to another. It's just the things the mods make you do to get to that point that makes the race hostile. Though job and station spawns tend to get a little wonky if you don't have an "overwatch" script running on a sector that's changed hands.

Heroguy293
Posts: 5
Joined: Thu, 12. Jul 12, 02:38

Post by Heroguy293 » Mon, 27. Aug 12, 00:43

Thanks! i am now the owner of every station in argon prime, plus argon prime itself... and No one is trying to murder me. Fantastic! tyvm!

FlutterRAGE
Posts: 36
Joined: Wed, 14. Mar 12, 21:48
x3ap

Post by FlutterRAGE » Fri, 30. Nov 12, 04:49

Hi, I am trying to do the same thing. manually changing sector ownership to myself. I found a script by apricotslice, i know it is the "r" to run the script in the editor. But i am lost when i try to run it. It says select a ship or station, i did that and the only thing that came up was no arguments.
Am i doing something wrong?

User avatar
jack775544
Posts: 1277
Joined: Tue, 13. Dec 11, 08:27
x4

Post by jack775544 » Fri, 30. Nov 12, 05:07

This will change the sector owner with no consequences.

Code: Select all

Script change.sector.owner
Version: 1
for Script Engine Version: 50
Description
Changes the owner of a sector
Arguments

    1: Sector , Var/Sector , 'The sector to transfer ownership for'

Source Text

001    if $Sector == null
002   | return null
003    end
004   
005    $Sector -> set owner race to [Player]
006   
007    return null
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.

FlutterRAGE
Posts: 36
Joined: Wed, 14. Mar 12, 21:48
x3ap

Post by FlutterRAGE » Fri, 30. Nov 12, 06:35

jack775544 wrote:This will change the sector owner with no consequences.

Code: Select all

Script change.sector.owner
Version: 1
for Script Engine Version: 50
Description
Changes the owner of a sector
Arguments

    1: Sector , Var/Sector , 'The sector to transfer ownership for'

Source Text

001    if $Sector == null
002   | return null
003    end
004   
005    $Sector -> set owner race to [Player]
006   
007    return null

I am stuck. Looked through all the script options in the script editor but i can't find the lines i need after the argument part. :/

User avatar
jack775544
Posts: 1277
Joined: Tue, 13. Dec 11, 08:27
x4

Post by jack775544 » Fri, 30. Nov 12, 07:37

Here is that script. The download link will die quickly so get it now. Just run it from the script editor.
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.

FlutterRAGE
Posts: 36
Joined: Wed, 14. Mar 12, 21:48
x3ap

Post by FlutterRAGE » Fri, 30. Nov 12, 07:40

jack775544 wrote:Here is that script. The download link will die quickly so get it now. Just run it from the script editor.
sorry can't see it

User avatar
jack775544
Posts: 1277
Joined: Tue, 13. Dec 11, 08:27
x4

Post by jack775544 » Fri, 30. Nov 12, 11:00

1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.

FlutterRAGE
Posts: 36
Joined: Wed, 14. Mar 12, 21:48
x3ap

Post by FlutterRAGE » Fri, 30. Nov 12, 13:49

jack775544 wrote:Helps if I put up the link :doh: :oops:
http://www.gamefront.com/files/22691402 ... .owner.rar
Just came back from dinner. link already down. Again pretty please :P

User avatar
jack775544
Posts: 1277
Joined: Tue, 13. Dec 11, 08:27
x4

Post by jack775544 » Fri, 30. Nov 12, 23:18

mmm it is working for me
Here is another link. It won't go down.
[ external image ]


Edit: replaced outdated x1tp with working xdownloads link. X2-Illuminatus
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.

FlutterRAGE
Posts: 36
Joined: Wed, 14. Mar 12, 21:48
x3ap

Post by FlutterRAGE » Sat, 1. Dec 12, 06:36

Thanks, works perfectly :)

Post Reply

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