EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[SCRIPT/AL Plugin][TC] Frontier Wars [v0.4 - Tu-31-May-2011]
Post new topic Reply to topic Goto page 1, 2  Next
View previous topic :: View next topic
Author Message
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 9151 on topic
Location: Albion
Thank you for registering your game
modified
PostPosted: Sun, 7. Nov 10, 12:46    Post subject: [SCRIPT/AL Plugin][TC] Frontier Wars [v0.4 - Tu-31-May-2011] Reply with quote Print

Hi everyone,

Overview
After noting the rather interesting mod/script from Ketraar (Random Sector Manager), I decided to write my own little add-on targetted primarily at the new RSM sectors. I may decide to add options for Vanilla sectors, but I do not want this script to turn into a full blown STO or IR mod/script.

Ok, now the basic stuff is out of the way here is the concept:-
    Each of the Commonwealth races and the Terran race have one or more Explorer type ships (Overtuned and maxed out ships named <Race> Vanguard).

    When one of these explorer ships encounter any unclaimed sector (with a few exceptions to avoid potential Vanilla plot issues) without any player stations the respective race will take control of that sector and deploy a medium sized fleet to defend it.

    When a sector is owned by a race on good terms with the explorer ship or an unclaimed sector with player stations in it and player is on good terms with the explorer ship then a small sized fleet will be deployed to help defend the sector.

    When a "claimed" sector is owned by a race on sub-par terms (negative) with the explorer ship or an unclaimed sector with player stations in it and player is on hostile terms with the explorer ship then a large sized fleet will be deployed to attack the sector, the Explorer ship will jump out (after 10s).

    When a sector is claimed and all owner race assets are destroyed (by any force - inc. random spawns of Kha'ak, Pirates, and Xenon) then the sector will revert to unclaimed.

    When an explorer ship is destroyed a replacement will be re-spawned at the original spawn sector.

    When an explorer ship encounters ANY Xenon/Kha'ak sector, a large fleet will be deployed to attack that sector (Xenon/Kha'ak ownership will remain - unless I decide to do add a Xenon/Kha'ak explorer ship of course Wink).


Compatability
As of v0.2 a form of STO compatability has been implemented in co-operation with the author but this has yet to be tested.

Please note that compatability with other scripts that change sector ownership can not be guaranteed at this time. If the respective authors wish to make their scripts compatable it should be a simple matter of checking if the array stored in global variable "rlsg.fw.sectors.discovered" contains the sectors whose ownership is influenced by this script. If the respective script authors use a similar mechanism and care to provide me with the appropriate info, then I can also modify my script to do a similar check before affecting ownership.

NOTE: As of v0.4, Frontier Wars is now dependent on an EES/CWP compatible script being installed. The dependency is the jobs.loadout.max script.

Downloads
Please see my blog over on TXU for the formal release of my mod.

(TXU)

(TXU)

Related Links

Game Resources Used
    Strings
      17:250400-250499
    New Data Files
      t\2504-L044.xml
      scripts\al.plugin.rlsg.fw.xml
      scripts\plugin.rlsg.fw.al.event.xml
      scripts\plugin.rlsg.fw.al.event.init.xml
      scripts\plugin.rlsg.fw.al.event.start.xml
      scripts\plugin.rlsg.fw.al.event.stop.xml
      scripts\plugin.rlsg.fw.al.event.timer.xml
      scripts\plugin.rlsg.fw.behave.attack.xml
      scripts\plugin.rlsg.fw.behave.explorer.xml
      scripts\plugin.rlsg.fw.clear.xenon.atk.xml
      scripts\plugin.rlsg.fw.despawn.xml
      scripts\plugin.rlsg.fw.despawn.explorers.xml
      scripts\plugin.rlsg.fw.despawn.fleet.xml
      scripts\plugin.rlsg.fw.fix.fleet.xml
      scripts\plugin.rlsg.fw.fix.fleet.sub.xml
      scripts\plugin.rlsg.fw.manage.xml
      scripts\plugin.rlsg.fw.news.xml
      scripts\plugin.rlsg.fw.purge.xml
      scripts\plugin.rlsg.fw.purge.explorers.xml
      scripts\plugin.rlsg.fw.purge.fleet.xml
      scripts\plugin.rlsg.fw.report.explorers.xml
      scripts\plugin.rlsg.fw.report.fleet.xml
      scripts\plugin.rlsg.fw.report.sectors.xml
      scripts\plugin.rlsg.fw.sector.clear.xml
      scripts\plugin.rlsg.fw.sector.explorer.xml
      scripts\plugin.rlsg.fw.sector.reset.xml
      scripts\plugin.rlsg.fw.spawn.explorers.xml
      scripts\plugin.rlsg.fw.spawn.fleet.xml
      scripts\plugin.rlsg.fw.spawn.fleet.aslt.xml
      scripts\plugin.rlsg.fw.spawn.fleet.atk.xml
      scripts\plugin.rlsg.fw.spawn.fleet.def.xml
      scripts\plugin.rlsg.fw.spawn.fleet.sup.xml
      scripts\plugin.rlsg.fw.unspawn.fleet.xml
      scripts\plugin.rlsg.fw.unspawn.fleet.sub.xml



_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams


Last edited by Roger L.S. Griffiths on Tue, 5. Jun 12, 11:01; edited 20 times in total
Back to top
View user's profile Send private message
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 9151 on topic
Location: Albion
Thank you for registering your game
PostPosted: Fri, 12. Nov 10, 20:16    Post subject: Reply with quote Print

Ok, back from hell week working away from home... now time to try and make a stab at this script I think. Expect to see an initial drop of something sometime in the next week.


_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
Back to top
View user's profile Send private message
h2o.Ava





Joined: 12 Oct 2008
Posts: 317 on topic
Location: USA
Thank you for registering your game
PostPosted: Sat, 13. Nov 10, 12:58    Post subject: Reply with quote Print

Sounds interesting.
Smile
Any ideas on how to curb the bugged sectors like between Spaceweed Grove and LooMank-Strat's Legacy mar's sector? (any new sector that appears next to a sector with a gate already adjacent to it.)

Back to top
View user's profile Send private message
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 9151 on topic
Location: Albion
Thank you for registering your game
PostPosted: Sat, 27. Nov 10, 10:53    Post subject: Reply with quote Print

Status Update
V0.1 Initial Public Release.


_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
Back to top
View user's profile Send private message
Jack08





Joined: 25 Dec 2005
Posts: 2956 on topic
Location: Australia
Thank you for registering your game
PostPosted: Sat, 27. Nov 10, 12:38    Post subject: Reply with quote Print

Roger could you please add a compatibility alert to your main post?

IR's Takeover routines may conflict with this and result in sectors that cant be taken over, or that flip there ownership periodically. I cant say for certain if its compatible or not as of yet - but placing a warning would be nice

Regards
Jack


_________________

"One sure mark of a fool is to dismiss anything that falls outside his experience as being impossible."
―Farengar Secret-Fire
Back to top
View user's profile Send private message
Trickmov



MEDALMEDALMEDAL

Joined: 07 Nov 2007
Posts: 1432 on topic
Location: AC, Germany
Thank you for registering your game
PostPosted: Sat, 27. Nov 10, 13:15    Post subject: Re: [SCRIPT] Frontier Wars (0.1 - 27-Nov-2010) Reply with quote Print

This is currently not compatible to STO - because of this:

Roger L.S. Griffiths wrote:

When a sector is claimed and all defence ships are destroyed (by any force - inc. random spawns of Kha'ak, Pirates, and Xenon) then the sector will revert to unclaimed.


STO will overtake the sector, if the player has a tradedock there and no stations of the former owner are in there - saving the current owner in an array for later.
Unfortunatly your script will not reset the ownership before STO overtakes it, thus STO will save the wrong owner.

If you change the overtaking and reseting requirements to stations instead of ships (by building also tradedocks), it could be made compatible.


_________________
meine Scripts (my scripts)
Back to top
View user's profile Send private message
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 9151 on topic
Location: Albion
Thank you for registering your game
PostPosted: Sat, 27. Nov 10, 14:19    Post subject: Re: [SCRIPT] Frontier Wars (0.1 - 27-Nov-2010) Reply with quote Print

Trickmov wrote:
This is currently not compatible to STO - because of this:

Roger L.S. Griffiths wrote:

When a sector is claimed and all defence ships are destroyed (by any force - inc. random spawns of Kha'ak, Pirates, and Xenon) then the sector will revert to unclaimed.


STO will overtake the sector, if the player has a tradedock there and no stations of the former owner are in there - saving the current owner in an array for later.
Unfortunatly your script will not reset the ownership before STO overtakes it, thus STO will save the wrong owner.

If you change the overtaking and reseting requirements to stations instead of ships (by building also tradedocks), it could be made compatible.
v0.1 actually checks for both ships and stations as it stands,


_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
Back to top
View user's profile Send private message
Trickmov



MEDALMEDALMEDAL

Joined: 07 Nov 2007
Posts: 1432 on topic
Location: AC, Germany
Thank you for registering your game
PostPosted: Sat, 27. Nov 10, 14:35    Post subject: Reply with quote Print

Yes, but this doesn't help - if your script waits with resetting, until there are no ships, while STO overtakes the sector, once there are no stations left, this will not work.


_________________
meine Scripts (my scripts)
Back to top
View user's profile Send private message
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 9151 on topic
Location: Albion
Thank you for registering your game
PostPosted: Sat, 27. Nov 10, 14:58    Post subject: Reply with quote Print

Trickmov wrote:
Yes, but this doesn't help - if your script waits with resetting, until there are no ships, while STO overtakes the sector, once there are no stations left, this will not work.
Note my compatability notice above, that is the best I can do... but I will not be changing my ownership logic as you suggest since this script does not build stations in those sectors.

However, I had intended to remember the last race I set it to and be permissive in the direction of not flipping ownership if another script changes it after I do but I have not worked out the details of how I will do this yet (original plan fell through because I could not work out how to create an invincible satellite using scripts - got it to ignore collisions but blast radius of missiles could still kill it), will try to implement something appropriate for v0.2.


_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
Back to top
View user's profile Send private message
Trickmov



MEDALMEDALMEDAL

Joined: 07 Nov 2007
Posts: 1432 on topic
Location: AC, Germany
Thank you for registering your game
PostPosted: Sat, 27. Nov 10, 15:27    Post subject: Reply with quote Print

Quote:

Please note that compatability with STO, IR, and other scripts that change sector ownership can not be guaranteed at this time. If the respective authors wish to make their scripts compatable it should be a simple matter of checking if the array stored in global variable "rlsg.fw.sectors.discovered" contains the sectors whose ownership is influenced by this script. If the respective script authors use a similar mechanism and care to provide me with the appropriate info, then I can also modify my script to do a similar check before affecting ownership.


While I would be willing to add some compatibility-codes, I think the incompatability between STO and your script is more an elemental thing.
I cannot wait for ships in sectors, cause due to the Khaak-respawn Khaak-sectors could never be overtaken.

If STO would just check, if the sector is in your global var, this wouldn't make a difference alone.
If STO waits until the sector is not in the GV, some sectors could become unclaimable (except by using your overtaking logic, which reverts the STO-logic).
If it just checks, if the sector is in the GV, and saves the information about the real ownership, it would need an additional GV with the owners included (but this doesn't help your script for the case, that STO changes the ownership).


_________________
meine Scripts (my scripts)
Back to top
View user's profile Send private message
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 9151 on topic
Location: Albion
Thank you for registering your game
PostPosted: Sat, 27. Nov 10, 18:12    Post subject: Reply with quote Print

Trickmov wrote:
While I would be willing to add some compatibility-codes, I think the incompatability between STO and your script is more an elemental thing.
I cannot wait for ships in sectors, cause due to the Khaak-respawn Khaak-sectors could never be overtaken.
Logic would indicate that the Kha'ak could be treated as a special case in your mod, but that is just a suggestion.

Trickmov wrote:
If STO would just check, if the sector is in your global var, this wouldn't make a difference alone.
If STO waits until the sector is not in the GV, some sectors could become unclaimable (except by using your overtaking logic, which reverts the STO-logic)..
If it just checks, if the sector is in the GV, and saves the information about the real ownership, it would need an additional GV with the owners included (but this doesn't help your script for the case, that STO changes the ownership).
If STO changes the ownership and it is not in the GV then my script will not attempt to reset the STO, the only issue is if a sector is currently under the governance of Frontier Wars (and currently it does not get released). One elegant solution might be for STO to have it's own GV of sectors under STO governance then the two scripts can co-operate. Consider it that Frontier Wars declares sectors effective War Zones where as STO is stabalising the political situatuion. I could check the STO GV, and if the sector is in the STO GV and is not unclaimed then I will not reset it (Frontier Wars will only take over unclaimed sectors).


_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
Back to top
View user's profile Send private message
duke8202





Joined: 19 Jan 2005
Posts: 30 on topic

Thank you for registering your game
PostPosted: Sun, 28. Nov 10, 10:05    Post subject: Reply with quote Print

Any chance you can make a X3 R version....?

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





Joined: 18 Aug 2010
Posts: 2016 on topic

Thank you for registering your game
PostPosted: Sun, 28. Nov 10, 10:26    Post subject: Reply with quote Print

duke8202 wrote:
Any chance you can make a X3 R version....?

Could upgrade to TC you know, it's kinda a helluva lot better Very Happy


_________________
"If you’re not prepared to be wrong, you’ll never come up with anything original."
Sir Ken Robinson
Back to top
View user's profile Send private message
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 9151 on topic
Location: Albion
Thank you for registering your game
modified
PostPosted: Mon, 29. Nov 10, 05:35    Post subject: Reply with quote Print

Status Update
Formal v0.2 release including:-
    1 STO Compatability fix (untested)
    2. Hot Key linked menu with facilities to help Troubleshoot/Debug/Fix problems
    3. AL Start/Stop will now spawn/despawn related ships (stop will also reset sector ownership)
    4. Better management of fleet spawning (v0.1 would spawn ships in the same sector indefinitly)
    5. More explorer ships (1 M1, 1 M7, and 1 M6 except Terrans have an Aldrin Springblossom M6 as well)
    6. Better fleet/explorer ships (Tried to choose the best "Vanilla" M1, M2, M7, and M6 for each race)



_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams


Last edited by Roger L.S. Griffiths on Mon, 29. Nov 10, 05:39; edited 1 time in total
Back to top
View user's profile Send private message
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 9151 on topic
Location: Albion
Thank you for registering your game
PostPosted: Mon, 29. Nov 10, 05:38    Post subject: Reply with quote Print

duke8202 wrote:
Any chance you can make a X3 R version....?
Not any time in the foreseable future.


_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2  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, 13. Dec 17, 09:29

All times are GMT + 2 Hours


Board Security

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