EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[X3LU] Automatic MLCC defense.
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
Hegbork





Joined: 16 Jan 2014
Posts: 17 on topic

Thank you for registering your game
modified
PostPosted: Fri, 26. Jan 18, 00:30    Post subject: [X3LU] Automatic MLCC defense. Reply with quote Print

This script automatically sends out your MLCC ships to defend sectors you own.

I got a bit tired of trying to balance ships between MLCC and ADS when playing Mayhem. Also, I really like how MLCC fits into the logistics of moving fuel and missiles into the docks and didn't like how ADS handled it. The solution to that is Maydef. The README on the github page contains instructions for how to use it and the download is here.

Yes, the name is terrible, I'm bad at naming things.

Short instructions: assign hotkey, push hotkey, push "START". Done, now your sectors should be defended by your MLCC ships if you have enough of them. The default configuration should be pretty reasonable, read the README if you want to configure things or understand why things behave the way they behave.

Changes:

1.1 - MLCC carrier fighter script fixes. Other misc bug fixes.
1.2 - MLCC carrier script fixes. Bug fixes. No longer runs on a dock.



Last edited by Hegbork on Sun, 28. Jan 18, 22:54; edited 2 times in total
Back to top
View user's profile Send private message
Bejla





Joined: 22 Jun 2012
Posts: 176 on topic

Thank you for registering your game
PostPosted: Sun, 28. Jan 18, 10:39    Post subject: Reply with quote Print

Very nice. Love it.
Much easier to handle as the ADS.

Would it be possible to add more MLCC docks to the list?

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





Joined: 16 Jan 2014
Posts: 17 on topic

Thank you for registering your game
PostPosted: Sun, 28. Jan 18, 11:26    Post subject: Reply with quote Print

You don't need to add any more docks to the list. We treat all MLCC ships just like MLCC treats them, the dock doesn't matter. The only reason why you need to pick a dock in the first place is because I don't know how to run scripts that aren't attached to a dock or a ship. It's mentioned in the documentation.

And since you're the first to respond to this topic, I packaged version 1.1 just for you (it's in the updated OP). It contains a bunch of bug fixes, especially a fixed fighter script for MLCC carriers so that fighters and TSes don't make our carriers stuck.

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





Joined: 06 Feb 2004
Posts: 843 on topic
Location: England,UK
Thank you for registering your game
PostPosted: Sun, 28. Jan 18, 20:44    Post subject: Reply with quote Print

Hi Hegbork,

The script you fixed for carriers and Tses, was it one of Litcubes original scripts or one you added?


_________________
Still life in the old dog yet...
Back to top
View user's profile Send private message
Hegbork





Joined: 16 Jan 2014
Posts: 17 on topic

Thank you for registering your game
PostPosted: Sun, 28. Jan 18, 21:19    Post subject: Reply with quote Print

Vayde wrote:

The script you fixed for carriers and Tses, was it one of Litcubes original scripts or one you added?


Litcubes original. But, I'd say it's not a huge deal with normal use of MLCC since you're supposed to control things manually in sector and if there's just TS/TM/TP/TL/drone enemies left you'll either just shoot them yourself or even have other ships in your fleet and won't notice that fighters got stuck. I'm not exactly using the scripts for what they were designed for.

And continuing testing this on my Mayhem empire today I dug up and fixed another problem in the original scripts, this time in the carrier code itself, not fighters. Carriers are supposed to get closer to targets that are out of intercept range, but if the intercept range was set too high the carrier just sat there and did nothing and fighters did nothing too because target was outside of intercept range. And it seems to be a problem with the game itself since "follow object .. 40000 m" immediately returned that the target was reached even though it was much further away than that.

In other news. I just had enough confidence in the script that I let it deal with an OCV invasion in Mayhem and it performed flawlessly.

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





Joined: 20 Oct 2006
Posts: 4234 on topic
Location: Canada
Thank you for registering your game
PostPosted: Sun, 28. Jan 18, 21:19    Post subject: Reply with quote Print

START [NULL]-> Lib.Cmd.ThisScript


^ Does not require dock.


_________________


Litcube's Universe Wiki
Back to top
View user's profile Send private message
Hegbork





Joined: 16 Jan 2014
Posts: 17 on topic

Thank you for registering your game
PostPosted: Sun, 28. Jan 18, 21:32    Post subject: Reply with quote Print

Litcube wrote:
START [NULL]-> Lib.Cmd.ThisScript


^ Does not require dock.


That simple? Has this always worked or is it a feature you added? I seem to recall that first time I tried scripting things (an eternity ago) this didn't work and you couldn't even set local variables on sectors (which I see is being done all the time now).

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





Joined: 20 Oct 2006
Posts: 4234 on topic
Location: Canada
Thank you for registering your game
PostPosted: Sun, 28. Jan 18, 21:33    Post subject: Reply with quote Print

In LU only:

[NULL] is a word.
Variables can be set on sectors.


_________________


Litcube's Universe Wiki
Back to top
View user's profile Send private message
Hegbork





Joined: 16 Jan 2014
Posts: 17 on topic

Thank you for registering your game
PostPosted: Sun, 28. Jan 18, 22:55    Post subject: Reply with quote Print

It was that simple. I kind of feel iffy that I haven't figured out how to make sure that we don't run more copies of the script, but things seem to work. 1.2 rolled and released.

(and while making the release my defense ships accidentally shot the owner of a sector I was helping defend and I've gone from 7 to -3 with Teladi)

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





Joined: 06 Feb 2004
Posts: 843 on topic
Location: England,UK
Thank you for registering your game
PostPosted: Sun, 28. Jan 18, 23:05    Post subject: Reply with quote Print

Do you have friendly fire turned off?


_________________
Still life in the old dog yet...
Back to top
View user's profile Send private message
Hegbork





Joined: 16 Jan 2014
Posts: 17 on topic

Thank you for registering your game
PostPosted: Sun, 28. Jan 18, 23:25    Post subject: Reply with quote Print

Vayde wrote:
Do you have friendly fire turned off?


Yeah, but it doesn't always help. I've had accidents like this before. Shit happens. Also, the problem is that normally you'll notice the friendly fire and react quickly and do some diplomacy to fix things. In this case, I didn't notice that what started as shooting a few pirates escalated to the script jumping in a pile of carriers and 180 fighters and slaughtered all Teladi in the sector.

One good way to kill relations with a friendly faction in LU is to set up a ring of fire on the south gate in Thuruk's Beard (yes, rings of fire and now this script - I like having the game play itself). Pretty much guaranteed to have the Split gunning for you after a few hours.

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





Joined: 02 Sep 2015
Posts: 66 on topic

Thank you for registering your game
PostPosted: Thu, 1. Feb 18, 23:42    Post subject: Reply with quote Print

With 2.3.0 now released is this ok to use? Looks interesting.

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





Joined: 16 Jan 2014
Posts: 17 on topic

Thank you for registering your game
PostPosted: Fri, 2. Feb 18, 09:14    Post subject: Reply with quote Print

Ghost140 wrote:
With 2.3.0 now released is this ok to use? Looks interesting.


I'll be installing 2.3.0 later today and will verify. But I don't see why not. As far as I could tell Mayhem never changed anything about MLCC, so things should just work.

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





Joined: 29 Jan 2007
Posts: 70 on topic

Thank you for registering your game
PostPosted: Sun, 13. May 18, 17:46    Post subject: Reply with quote Print

Does this script work with just the standard x3lu without mayham installed?

Thanks.

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





Joined: 29 Jan 2007
Posts: 70 on topic

Thank you for registering your game
PostPosted: Sat, 2. Jun 18, 21:57    Post subject: Reply with quote Print

Any suggested Mandalay weapon setup for MLCC use?

Currently equipped

PPC x8
TBC x2
CIG x14

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic
 
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 Tue, 19. Jun 18, 06:42

All times are GMT + 2 Hours

[ Disclaimer / Impressum ] | [ Privacy Policy / Datenschutz ]

Board Security

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