EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[SCRIPT] Sector Takeover v 1.7[Updated 1/10/06]
Post new topic Reply to topic Goto page 1, 2, 3 ... 10, 11, 12  Next
View previous topic :: View next topic

How do you rate this script?
5- Excellent
68%
 68%  [ 52 ]
4- Good
18%
 18%  [ 14 ]
3- Average
6%
 6%  [ 5 ]
2- Poor
2%
 2%  [ 2 ]
1- Abysmal
3%
 3%  [ 3 ]
Total Votes : 76

Author Message
acrh2





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
modified
PostPosted: Sun, 1. Jan 06, 23:54    Post subject: [SCRIPT] Sector Takeover v 1.7[Updated 1/10/06] Reply with quote Print

Sector Takeover v 1.7 (1/10/2006)
An X3: Reunion script by acrh2.

Download: http://www.public.iastate.edu/~pvp/files/SectorTakeover_v17.zip
Official thread: http://forum2.egosoft.com/viewtopic.php?t=117807

PURPOSE:
To allow a player to ultimately defeat his enemies by taking over their sectors.

Note: Check for important install/uninstall/update instructions at the end of this file.

HOW IT WORKS:
* Only foe sectors can be claimed. An appropriate adjustment to "Global Commands" menu under "Pilot" menu may be required: for example, to claim an Argon sector, the relation to Argon must be set to "Foe" and then transmitted to "all reachable properties". After the sector has been claimed, the relation can be set back to "Friend".

* In order to claim a sector, the player must destroy all stations in the sector, and build his own Trading Dock in the sector. The ownership of the sector will automatically go to the player within 5 sec. Alternatively, the player can first build his Trading Dock, then destroy all other stations in the sector.

* A player-owned Trading Dock can be marked so that it would not claim a sector (for example, those Tradings Docks used for commerce in pirate sectors). In order to do that, the player must rename the Trading Dock in question so that its name starts with "$" (dollar sign).

* If all player-owned Trading Docks in a claimed sector are destroyed, the ownership of the sector will immediately go back to the original race.

* Enemy sectors of the original owner race located within up to 4 jumps of the claimed sector will periodically send small raiding parties to destroy player's Trading Docks to take the sector back. The player must then defend his Trading Docks, and try to claim all enemy sectors of the same race in that part of the X-Universe.

* A new command "Sector Takeover options" command is now available under Command Console / Combat menu. This command, when executed, will send an incoming question to the player. The player must then exit out of the Command Console and check his logbook. Several options will now be selectable: "Toggle raiding parties" - allows to enable or disable raiding parties attacking player-owned Trading Docks, "Uninstall" - uninstalls the script, "Do nothing" - does nothing. Select one of the options and press the enter key to execute the option.

Version history:
1.7 - New functionality added - Combat command menu has a new option "Sector Takeover Options".

1.6 - Added automatic claiming of sector gates to prevent Xenon from respawning.

1.5 - Further gameplay tweaks - the frequency of rading parties and the distance from which they come (in sectors) will vary with the fighting rank of the player.

1.4 - Gameplay tweaks. Added the ability to mark certain Trading Docks to not claim a sector.

1.3 - Various speed optimizations. Fixed a bug related to Pirate raids. Added install and uninstall messages.

1.2 - Major update. Now only player owned Trading Dock stations can be used to claim a sector.
If there are enemy sectors of the same race as the original owner within 8 jumps of the overtaken sector, these sectors will periodically send raiding parties to destroy player's Trading Docks stations to take the sector back.

1.1 - Optimized sector releasing routine while fixing a very rare but possible bug when a player owned sector would be released without prior taking it over (for example, a bought sector).

1.0 - Original release.


INSTALL:
Unzip the archive into your X3 directory, eg "C:\Program Files\Egosoft\X3 Reunion". Make sure that your script editor is enabled (check official Egosoft "Scripts and Modding" forum for instructions).
Load your savegame or start a new game.

UNINSTALL:
Method 1(versions 1.7+):
Uninstall through the Combat command menu, wait 15 seconds, save the game, quit to desktop, then delete the script files from "scripts" directory which start with "SectorTakeover.", and the file "setup.SectorTakeover". Reload the game.
Method 2(all versions):
Execute SectorTakeover.uninstall script, wait 15 seconds, save the game, quit to desktop, then delete the script files from "scripts" directory which start with "SectorTakeover.", and the file "setup.SectorTakeover". Reload the game.

UPDATING TO A NEW VERSION: Please unstall the old version first as described above, then install the new version.


_________________
C2Q 6700 @ 3.50 GHz, OCZ 2x2GB @ 400, EVGA Nforce 680 sli,
EVGA gtx 280 FTW , Mitsu DP 2070SB 22"
X-FI Fatal1ty, Klipsch 5.1 UIltra, Sennheiser HD555
2 x WD Raptor 74 + 2 x 150 GB Raid0, 850W + 430W PS


Last edited by acrh2 on Wed, 11. Jan 06, 04:55; edited 15 times in total
Back to top
View user's profile Send private message
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)



Joined: 15 Nov 2004
Posts: 19851 on topic
Location: London
Thank you for registering your game
PostPosted: Sun, 1. Jan 06, 23:57    Post subject: Reply with quote Print

is it any station ?

it might be best if it was a trading stations
as a trading station can be used to define the owership of the sector


_________________
My Scripts | MY X3TC Scripts | X3 Plugin Manager | Custom Gui
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ceej6969





Joined: 09 Feb 2005
Posts: 20 on topic

Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 00:00    Post subject: Reply with quote Print

Very Happy This sounds proper, thanks very much, this will add a whole other side to the game.

to all scripters and modders keeping me playing X3 like a zombie,
YOU ARE DA SHIZNIT

Back to top
View user's profile Send private message
acrh2





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 00:10    Post subject: Reply with quote Print

Cycrow wrote:
is it any station ?

it might be best if it was a trading stations
as a trading station can be used to define the owership of the sector


Any station you desire.
As long as you have property there, it's yours. If you want to give it up back to Xenon/Khaak/any other race who originally owned it, destroy your station.


_________________
C2Q 6700 @ 3.50 GHz, OCZ 2x2GB @ 400, EVGA Nforce 680 sli,
EVGA gtx 280 FTW , Mitsu DP 2070SB 22"
X-FI Fatal1ty, Klipsch 5.1 UIltra, Sennheiser HD555
2 x WD Raptor 74 + 2 x 150 GB Raid0, 850W + 430W PS
Back to top
View user's profile Send private message
Blinki1984





Joined: 14 Feb 2004
Posts: 245 on topic

Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 00:24    Post subject: Reply with quote Print

This is a great Idea, is it possible to enhance the skript by also using the enemy to conquer a sector? It would be great to watch sectors changing owners.

There is another mod calles race invasion mod. There the races are trying to defeat each other on different sectors. It would be great to combine those two mods.

http://forum.egosoft.com/viewtopic.php?t=105154

Therefore it is nessecary to rebuild the stations after some time.
-> New stations belonging to the winning race will appear at the point the old ones stood

Back to top
View user's profile Send private message
bladeuk





Joined: 08 May 2004
Posts: 1495 on topic
Location: UK
Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 00:35    Post subject: Reply with quote Print

Awesome!

Sounds cool, thanks very much acrh2!

One question though, can you take over unknown sectors in this way?
Is it possible to set unknown to enemy and then take over the sector or is it notn possible?

Thanks again Very Happy Very Happy

Back to top
View user's profile Send private message MSN Messenger
acrh2





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 00:40    Post subject: Reply with quote Print

bladeuk wrote:
Awesome!

Sounds cool, thanks very much acrh2!

One question though, can you take over unknown sectors in this way?
Is it possible to set unknown to enemy and then take over the sector or is it notn possible?

Thanks again Very Happy Very Happy


Any race, including unknown. Just make sure to set to FOE, then transmit (Global Commands require transmitting to put them into effect).


_________________
C2Q 6700 @ 3.50 GHz, OCZ 2x2GB @ 400, EVGA Nforce 680 sli,
EVGA gtx 280 FTW , Mitsu DP 2070SB 22"
X-FI Fatal1ty, Klipsch 5.1 UIltra, Sennheiser HD555
2 x WD Raptor 74 + 2 x 150 GB Raid0, 850W + 430W PS
Back to top
View user's profile Send private message
acrh2





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 01:31    Post subject: Reply with quote Print

New version now available with optimizations and a fix for a possible bug.
Please uninstall 1.0, then reinstall 1.1.
Upon uninstallation of 1.0, all taken over sectors would be returned to their original owners. But after installation of 1.1, the player will receive those sectors back.
I'm sorry for any inconvenience.

P.S. The script has now been tested to my best ability. Since, it's a fairly simple script, it should be bug free.


_________________
C2Q 6700 @ 3.50 GHz, OCZ 2x2GB @ 400, EVGA Nforce 680 sli,
EVGA gtx 280 FTW , Mitsu DP 2070SB 22"
X-FI Fatal1ty, Klipsch 5.1 UIltra, Sennheiser HD555
2 x WD Raptor 74 + 2 x 150 GB Raid0, 850W + 430W PS
Back to top
View user's profile Send private message
DIGSIN





Joined: 28 Oct 2005
Posts: 392 on topic

Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 03:28    Post subject: Reply with quote Print

Just what i needed to start taking over the universe

I would have to agree with cycrow on the trading station otherwise people will start taking over sectors with the cheapest station available.

Are the previous owners going to try to reclaim the sector from you?

Back to top
View user's profile Send private message Send e-mail MSN Messenger
acrh2





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 03:43    Post subject: Reply with quote Print

DIGSIN wrote:
Just what i needed to start taking over the universe

I would have to agree with cycrow on the trading station otherwise people will start taking over sectors with the cheapest station available.

Are the previous owners going to try to reclaim the sector from you?


While I would disagree with Cycrow on the point of Trading Docks defining the ownership of sectors in X3 (there seem to be no way to get the ownership of a sector in an unmodified X3), if people demand it, I can implement it. It would be very simple.

The second point is fairly complicated. At the present time, it's outside the scope of this script. However, the idea seems rather appealing to me.
It shouldn't be too difficult to code. Just slightly time consuming.


_________________
C2Q 6700 @ 3.50 GHz, OCZ 2x2GB @ 400, EVGA Nforce 680 sli,
EVGA gtx 280 FTW , Mitsu DP 2070SB 22"
X-FI Fatal1ty, Klipsch 5.1 UIltra, Sennheiser HD555
2 x WD Raptor 74 + 2 x 150 GB Raid0, 850W + 430W PS
Back to top
View user's profile Send private message
BlackRain





Joined: 15 Dec 2003
Posts: 1077 on topic

Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 04:04    Post subject: Reply with quote Print

Taking over a sector is very cool, but it begins to be pointless if no one tries to take it from you. If you could somehow make it so that races will try to take a sector from you, that would be pretty damn cool.

You can either have something similar to LV's JTP script or you could do something like randomly spawn a race fleet in there which if they win and destroy all stations will attempt to build a station there and take the sector.


Also what I am curious is, can you rename a sector or is it possible to implement something where when you conquer the sector you can rename it?

Back to top
View user's profile Send private message
DIGSIN





Joined: 28 Oct 2005
Posts: 392 on topic

Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 04:07    Post subject: Reply with quote Print

Quote:
The second point is fairly complicated. At the present time, it's outside the scope of this script. However, the idea seems rather appealing to me.
It shouldn't be too difficult to code. Just slightly time consuming.


Was just a thought as i read somewhere that if you try to take over a sector for instance Paranid prime the original owners would try to take it back.

If this is true the code should already be in the game it just depends on if you can activate it with a script.

Just checked the manual and it says that if you attacked a sector that you wanted to take over the race would attempt to take it back. Suppose it depends on if your script turns this off somehow.

Back to top
View user's profile Send private message Send e-mail MSN Messenger
acrh2





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 04:12    Post subject: Reply with quote Print

BlackRain wrote:
Taking over a sector is very cool, but it begins to be pointless if no one tries to take it from you. If you could somehow make it so that races will try to take a sector from you, that would be pretty damn cool.

You can either have something similar to LV's JTP script or you could do something like randomly spawn a race fleet in there which if they win and destroy all stations will attempt to build a station there and take the sector.


Also what I am curious is, can you rename a sector or is it possible to implement something where when you conquer the sector you can rename it?


The reason why I wrote the script was to take over Xenon and Khaak sectors and prevent their spawning in those sectors. This would bring the conclusion to an otherwise neverending game with very little point to play (once you've reached certain amount of wealth in your empire, which I have).

The possibility to take other sectors belonging to "friendly races", is a side effect.

I do like the idea of the races trying to retake their old sectors though.
Right now I am thinking in terms of sending raiding parties from random nearby sectors beloning to those races, trying to destroy player's property to retake the sector.


_________________
C2Q 6700 @ 3.50 GHz, OCZ 2x2GB @ 400, EVGA Nforce 680 sli,
EVGA gtx 280 FTW , Mitsu DP 2070SB 22"
X-FI Fatal1ty, Klipsch 5.1 UIltra, Sennheiser HD555
2 x WD Raptor 74 + 2 x 150 GB Raid0, 850W + 430W PS
Back to top
View user's profile Send private message
acrh2





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 04:14    Post subject: Reply with quote Print

DIGSIN wrote:
Quote:
The second point is fairly complicated. At the present time, it's outside the scope of this script. However, the idea seems rather appealing to me.
It shouldn't be too difficult to code. Just slightly time consuming.


Was just a thought as i read somewhere that if you try to take over a sector for instance Paranid prime the original owners would try to take it back.

If this is true the code should already be in the game it just depends on if you can activate it with a script.

Just checked the manual and it says that if you attacked a sector that you wanted to take over the race would attempt to take it back. Suppose it depends on if your script turns this off somehow.


The god engine does this by simply spawning more stuff in overtaken sectors, which I disable by changing the ownership, which was the whole point of this script.


_________________
C2Q 6700 @ 3.50 GHz, OCZ 2x2GB @ 400, EVGA Nforce 680 sli,
EVGA gtx 280 FTW , Mitsu DP 2070SB 22"
X-FI Fatal1ty, Klipsch 5.1 UIltra, Sennheiser HD555
2 x WD Raptor 74 + 2 x 150 GB Raid0, 850W + 430W PS
Back to top
View user's profile Send private message
BlackRain





Joined: 15 Dec 2003
Posts: 1077 on topic

Thank you for registering your game
PostPosted: Mon, 2. Jan 06, 04:58    Post subject: Reply with quote Print

I understand your initial reasons for the script, I am just saying that you could create a whole new aspect for the game, one in which I think that most people would greatly enjoy and that is takign sectors and having to defend them against invasions by the various races. So if you could implement that whole aspect then the game could become more like a conquest game for those who wish to do that, I am one of those. I would think the game would be so much more fun if I could defend conquered sectors from a race trying to take it from me, and it shouldnt have to be just the race I took the sector from, if you could make it so that races you have very bad relations with attack you, that would be awesome.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2, 3 ... 10, 11, 12  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Wed, 22. May 13, 01:48

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.34448 seconds, sql queries = 77