Sector Takeover wont work in AP. Anyone know why ?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
Sector Takeover wont work in AP. Anyone know why ?
I'm trying to do sector takeovers in AP, but the old TC script isnt working.
Was something changed for AP ?
The script is simple, it uses the player ship to get the sector co-ords then changes the sector ownership to player. Then does the same for each gate.
Yet its not changing the ownership at all, as displayed on the sector map.
Any ideas ?
Was something changed for AP ?
The script is simple, it uses the player ship to get the sector co-ords then changes the sector ownership to player. Then does the same for each gate.
Yet its not changing the ownership at all, as displayed on the sector map.
Any ideas ?
Last edited by apricotslice on Fri, 14. Feb 14, 10:22, edited 1 time in total.
I use Lazcorp Claim Sector to claim sectors, can be found in http://xdownloads.co.uk/ , search for lazcorp on that same site then you find at the top selections your download.
Awareness in life is rewarded by many
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
Ok, got that and tried it, but it doesnt work.
I havent tried this since TC, and obviously something has changed with AP.
In theory, this should work, given a sector being selected for the variable $sector.
But after running the script manually, nothing changes.
I havent tried this since TC, and obviously something has changed with AP.
Code: Select all
001 if $Sector == null
002 | return null
003 end
004
005 $Sector -> set owner race to [Player]
006
007 return null
But after running the script manually, nothing changes.
Did you destroy any stations in those sectors? Strange, for me it works in every sector which has no stations (left). And I have been using it from the beginning AP was out, in every version of it. Even in TC it worked.
Did you place a station(eq dock/militairy outpost/trading station) of your own in those sectors?
Did you place a station(eq dock/militairy outpost/trading station) of your own in those sectors?
Awareness in life is rewarded by many
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
I'm not using the full script pack that requires no stations and a trading station.
In TC, the single command would change the sector and all the military would withdraw, and you didnt need to change the sector stations at all. It was only in the "balanced" script packs that you needed to do anything.
I tried this in an Unknown sector with no stations, the same with a PHQ in it, and the Hub sector with a PHQ in it. None of the tests worked.
When you say it worked for you, how are you verifying that it worked ? What changes to show that you own the sector ? Maybe I'm looking at the wrong thing.
In TC, the single command would change the sector and all the military would withdraw, and you didnt need to change the sector stations at all. It was only in the "balanced" script packs that you needed to do anything.
I tried this in an Unknown sector with no stations, the same with a PHQ in it, and the Hub sector with a PHQ in it. None of the tests worked.
When you say it worked for you, how are you verifying that it worked ? What changes to show that you own the sector ? Maybe I'm looking at the wrong thing.
I am using the original files as said from the download page and when I claim the sector my name is added to the sector owner as stated in the Universe map. But to do so I have to have a trading station or an Militairy Outpost (Pirate Guild makes shipyards to buy them) in that sector and then claim through the commands.
Awareness in life is rewarded by many
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01