[SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

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
MadArkael
Posts: 52
Joined: Sun, 16. Mar 08, 07:36
x4

Post by MadArkael » Wed, 7. Feb 18, 00:02

dralicin wrote:I am having this weird issue where after i claim a ship and go to move it to another sector, a swarm of hostile ships spawn and kill it. Anyone know a fix?
Has this been addressed by anyone somewhere? I'm playing the Alderan start and have good rep with argon, but as soon as my ship flies through the jumpgate and is out of sector, a fleet of argon take their lunch money.

michtoen
Posts: 67
Joined: Mon, 22. May 06, 20:09
x3

Post by michtoen » Sun, 8. Jul 18, 15:56

I have done a fixed and expaneded version of the script.

- included the colored patch some postings ago
- XRM ready
- expaneded setup with options for alot more races & ship types
- fixed bailing problems between big and huge ships
- fixed imature bailing

http://ks4003297.ip-142-4-209.net/unres ... panded.zip

The values are now a bit different:

- the general bailing value (from 1 to 20) describes the chance vs. morale and such as normal. As higher as more bailing. I lowered the chance, so a value of 5-10 is already somewhat low.

The hull value describes the % value about bailing. So, we start to bail not over 20%. This works fine to give not overloaded and to big ships.

The bailing problems with alot nearly undamaged ships all over the place even with low settings of the original script was a mix of settings.

But the real problem was the "get % of the hull" part, which is for some reason for XRM under AP pretty often zero for full ships. Looks like an overflow or rounding problem. I fixed that too.

This script is also part of the LxXRM modding.

michtoen
Posts: 67
Joined: Mon, 22. May 06, 20:09
x3

Post by michtoen » Sun, 8. Jul 18, 16:03

kosjak111 wrote:Someone can re-upload version 1.6.4 since its compatible with XRM?
Use my fixed script, the 1.6.4 script is not stable under the latest patches and will result in crashes here and there.

User avatar
Khaakbuster
Posts: 393
Joined: Sun, 8. Jan 06, 18:43
x3tc

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by Khaakbuster » Wed, 11. Nov 20, 21:00

I have tried your modified script, but it has some issues.

1. You forgot to update the version number in 7101-L044.xml. Anyone already using the latest 1.7.8 version will have a non-working configuration menu after the upgrade to 1.8.0.
2. The idea to make the bail hull percentage a fixed value was a bad move in my opinion. Now any noob pilot will bail at the same time as a hardened veteran. (plugin.npcbail.timer.xml)

Luckily these issues can easily be fixed/revoked. I also added a very helpful feature to mark bailed ships that you don't have the blueprints for. They will have a "*" character at the end of their name. (plugin.npcbail.bail.xml)

If you like these changes, you can download the modified files here. Just copy the contents of the archive to your X3TC folder.


edit: Unfortunately there is a problem with the blueprint feature that I implemented. The "player HQ has blueprints for" script command is broken in X3TC 3.4. I don't know if it fails because I have reverse engineered so many ships or if it fails because I have bought another dock type station (trading dock), but the command will now return false for all ships, no matter if I have the blueprints already or not.

edit2: For a test I have now removed my additional docks and only have the player HQ left. The command still doesn't work. The problem could be the amount of reverse engineered ships. I have now over 255 of them and this seems to break an internal unsigned integer variable in the game code...

KRM398
Posts: 1556
Joined: Wed, 6. Nov 02, 20:31
xr

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by KRM398 » Sun, 9. May 21, 21:20

after trying for a few hours to get this to run again in AP I have given up. I see the name click it under configuration folder and get nothing but a blank page no instructions or adjustments. so deleting it from the manager (added it as a archive file and the fix too, still nothing on the set up page.

KRM398
Posts: 1556
Joined: Wed, 6. Nov 02, 20:31
xr

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by KRM398 » Tue, 11. May 21, 17:59

here's the funny part. undocked and went into the scripts menu. reinitiated them all. then went back in went down that list one by one and found the bailing extension WAS there. clicked configuration files, opened them, a blank page. so went back in went all the way to the bottom and found the original file marked set up for bailing extension, hit R on that...blank page. the files are there but there is no configuration files none, and so it doesn't work.

KRM398
Posts: 1556
Joined: Wed, 6. Nov 02, 20:31
xr

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by KRM398 » Tue, 11. May 21, 21:57

KRM398 wrote:
Tue, 11. May 21, 17:59
here's the funny part. undocked and went into the scripts menu. reinitiated them all. then went back in went down that list one by one and found the bailing extension WAS there. clicked configuration files, opened them, a blank page. so went back in went all the way to the bottom and found the original file marked set up for bailing extension, hit R on that...blank page. the files are there but there is no configuration files none, and so it doesn't work.
just tried something else, yes I'm stubborn since I remember using this in AP long ago. it kept telling me that it was just for TC not AP, so went into TC and ran the ship around a few minutes and checked the configuration files and opened it, there it was plain as day. so opened it to check the set up...nothing, blank page even in TC, so basically giving up on this. going to go with boarding and see how that works. found out my frigate cant board anything even though it carries 20 marine's, that's a waste. one corvette I had was marked for boarding, and my tp is too, so probably them and the bomber frigate too. not sure what else. hoping something like the Cerberus might be too but don't know yet. :roll:

Khartago
Posts: 3
Joined: Thu, 6. Jan 11, 18:22
x3tc

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by Khartago » Sun, 13. Jun 21, 11:31

Hello together,

did someone tried if this script is working with Farnham's Legacy?

Taylor2008
Posts: 295
Joined: Fri, 20. Mar 09, 16:38
x4

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by Taylor2008 » Tue, 15. Jun 21, 13:32

I will never understand why people are asking such questions instead of trying out for themselves. :?

Musicker
Posts: 420
Joined: Thu, 13. Apr 06, 22:53
x3tc

TheXUniverse and mods stored therein

Post by Musicker » Tue, 23. Nov 21, 01:27

Hello all,

I'm hoping someone knows of an alternate place that mods might reside, since the mod links posted for ThisIsHarsh's mods seem to get redirected to http://ww7.thexuniverse.us/, which obviously isn't the real TheXUniverse site.

I'm just trying to get the NPC Bailing add-on, so if anyone knows an alternate place to download that from, I'd be much obliged!

Oh, almost forgot.. the JSON Parser library is also linked to TheXUniverse and inaccessible, so also looking for that, as it's apparently one of the prereqs.

Thanks,

Musicker
Last edited by X2-Illuminatus on Sun, 28. Nov 21, 15:38, edited 1 time in total.
Reason: merged with existing topic
i9-12900K 8P/16 + 8E 3.20GHz
2TB Seagate® FireCuda® 530 Heatsink (PCIe Gen4) NVMe M.2 SSD - Seq R/W: Up to 7300/6900 MB/s
64GB (32GBx2) DDR5/5600MHz Dual Channel Memory
GeForce RTX™ 3080 Ti 12GB GDDR6X


Musicker
Posts: 420
Joined: Thu, 13. Apr 06, 22:53
x3tc

Re: TheXUniverse and mods stored therein

Post by Musicker » Sat, 27. Nov 21, 18:32

Thank you so much, I greatly appreciate the assistance! :)
i9-12900K 8P/16 + 8E 3.20GHz
2TB Seagate® FireCuda® 530 Heatsink (PCIe Gen4) NVMe M.2 SSD - Seq R/W: Up to 7300/6900 MB/s
64GB (32GBx2) DDR5/5600MHz Dual Channel Memory
GeForce RTX™ 3080 Ti 12GB GDDR6X

KRM398
Posts: 1556
Joined: Wed, 6. Nov 02, 20:31
xr

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by KRM398 » Tue, 28. Dec 21, 10:58

parcer library refuses to be added to AP, claims only used in TC. even though the Steam folder says its TC anyways...lol community config files says the same thing. not sure bailing will work without them but will give it a try. but the generic configuration files are working in AP at the moment.

OK tried it as is, the configuration files let it be seen and when I click to configure the file its a blank page so no configuration is possible and if that's true it will run with max settings, and hundreds of ships will be sitting everywhere so deleting it again.

jacare
Posts: 283
Joined: Fri, 10. Jan 03, 00:45
x3ap

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by jacare » Tue, 25. Apr 23, 21:31

Please. someone can fix this, because this script is fantastic to use!!!!

Nicoman35
Posts: 681
Joined: Thu, 17. Nov 05, 13:12
x3tc

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by Nicoman35 » Thu, 27. Apr 23, 14:07

jacare wrote:
Tue, 25. Apr 23, 21:31
Please. someone can fix this, because this script is fantastic to use!!!!
Try this version. Not thoroughly tested.

jacare
Posts: 283
Joined: Fri, 10. Jan 03, 00:45
x3ap

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by jacare » Sun, 30. Apr 23, 14:05

Hello Nicoman35. I installed the script, but it shows me a gray screen, with nothing written inside. I think the JSONparserlibraries script is missing.

Nicoman35
Posts: 681
Joined: Thu, 17. Nov 05, 13:12
x3tc

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by Nicoman35 » Mon, 1. May 23, 09:13

JSON got to be installed just like the original version. Not included in my version. Wanted to redo without the need for JSON, but was too lazy for that. For me it is working, TC v3.4.

User avatar
alexalsp
Posts: 1820
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by alexalsp » Mon, 1. May 23, 12:56

Change it, don't be lazy. :D All hope is on you. :P

jacare
Posts: 283
Joined: Fri, 10. Jan 03, 00:45
x3ap

Re: [SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]

Post by jacare » Mon, 1. May 23, 13:36

Hi Nicoman35. The script works, it just doesn't show the text to change the bailing information, size of the ships.Thank you for the script.

Post Reply

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