[SCRIPT] NPC Bailing Addon v1.7.8 [2010-09-21]
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
I spent some time scanning ships and annoying people. It looks like bravado is usually 60-something. So armed with that knowledge we can deduce..
With default settings (5 and 6) fighter pilots with 62 bravado will bail 29% of the time and if they do, they'll do it when their hull is at 37%
If we lower that to 3 and 3 it's 12,7% for both.
So perhaps 2 and 3 (6% bail rate) would be reasonable. However it'd be very hard to make someome bail by yourself then.
It'd be nice if this differentiated between "I'm under attack by player" situation where normal rules would apply and NPC-NPC engagements would get the rates defined here.
I'm not sure if this script runs in addition to the normal bail mechanism so you'd still get normal bails by yourself.
With default settings (5 and 6) fighter pilots with 62 bravado will bail 29% of the time and if they do, they'll do it when their hull is at 37%
If we lower that to 3 and 3 it's 12,7% for both.
So perhaps 2 and 3 (6% bail rate) would be reasonable. However it'd be very hard to make someome bail by yourself then.
It'd be nice if this differentiated between "I'm under attack by player" situation where normal rules would apply and NPC-NPC engagements would get the rates defined here.
I'm not sure if this script runs in addition to the normal bail mechanism so you'd still get normal bails by yourself.
-
- Posts: 44
- Joined: Sun, 11. Aug 13, 06:33
2 bail rate (6% bail rate) and 3 hull factor (12,5% hull left at bail). That's maybe a bit too little, I've been using 3 and 5 now, I don't really see excessive bailing even so. I've set kha'ak and xenon to 20% factor so you should get a bail from them occasionally but it's not common.VaporSnake wrote:When you say 2 and 3, is 2 supposed to be the bail hull factor or the bail rate?Barleyman wrote:So perhaps 2 and 3 (6% bail rate) would be reasonable. However it'd be very hard to make someome bail by yourself then.
I think the changed values do not kick in until you restart X3. I wrote simple (libreoffice) sheet to calculate the odds, grab it if you like.
Most people seem to have bravado in 60s, teladi are cowards and they are in 40s. For 60 bravado the bail rate with 3 and 5 would be 13% chance and jump at 29% hull.
This is only partially on-topic, but this thread is probably one of the best places to look for an answer.
What are the game mechanics in vanilla X3AP for bailing, anyway? Which factors affect the probability of an AI pilot bailing? His morale, aggressiveness, hull damage, equipment damage? Weapons, shield and hull on player ship, maybe? Anyone know the actual algorithm used to decide bailing? I'd like to know what I can do to optimise my chance of capping my trophy ships before I resort to installing scripts to let me set the probability to whatever I want (which for me would kinda take the fun out of it).
What are the game mechanics in vanilla X3AP for bailing, anyway? Which factors affect the probability of an AI pilot bailing? His morale, aggressiveness, hull damage, equipment damage? Weapons, shield and hull on player ship, maybe? Anyone know the actual algorithm used to decide bailing? I'd like to know what I can do to optimise my chance of capping my trophy ships before I resort to installing scripts to let me set the probability to whatever I want (which for me would kinda take the fun out of it).
-
- Posts: 734
- Joined: Mon, 25. Aug 08, 03:11
I've been running NPCBailingAddon-V1.7.8-21.09.2010 with default values since i started my current XRM game.
Unfortunately it appears that a mod may be causing a memory leak and i am unable to continue playing.
Could this script be the culprit?
Has anyone else had any problems with CTD's when using this script?
I am quite late game (9 days in game time) and the error i get with the CTD is program has run out of memory check manual.
Only other mods im using are:
mars-tc-ap_v5.26_RepackedForPluginManager_for.major.mods
XRM
XRM cockpits
XRM hull rebalance mid.
Unfortunately it appears that a mod may be causing a memory leak and i am unable to continue playing.
Could this script be the culprit?
Has anyone else had any problems with CTD's when using this script?
I am quite late game (9 days in game time) and the error i get with the CTD is program has run out of memory check manual.
Only other mods im using are:
mars-tc-ap_v5.26_RepackedForPluginManager_for.major.mods
XRM
XRM cockpits
XRM hull rebalance mid.
AMD Ryzen 2700X
Gigabyte Aorus X470 Gaming
Powercolor RX56 Vega Red Dragon 8GB
16GB Corsair Vengance DDR4 @3200MHZ
Windows 10 X64
https://www.3dmark.com/spy/5058817
Gigabyte Aorus X470 Gaming
Powercolor RX56 Vega Red Dragon 8GB
16GB Corsair Vengance DDR4 @3200MHZ
Windows 10 X64
https://www.3dmark.com/spy/5058817
I use this for five years. In different games (with different mods) including also in the game with XRM. I've never had problems caused by this script.pr0nflakes wrote:Could this script be the culprit?
Has anyone else had any problems with CTD's when using this script?
X3:AP 3.1+XRM 1.30d+MSP 1.7+LoCo 2.01+IR 2.0
Zapraszamy wszystkich chętnych na forum XUDB, gdzie znajdziesz FAQ, opisy skryptów, modów i fabuł, oraz Mamut HQ.
[ external image ]
Zapraszamy wszystkich chętnych na forum XUDB, gdzie znajdziesz FAQ, opisy skryptów, modów i fabuł, oraz Mamut HQ.
[ external image ]
-
- Posts: 734
- Joined: Mon, 25. Aug 08, 03:11
Okay thanks that would seem to rule this out then.
AMD Ryzen 2700X
Gigabyte Aorus X470 Gaming
Powercolor RX56 Vega Red Dragon 8GB
16GB Corsair Vengance DDR4 @3200MHZ
Windows 10 X64
https://www.3dmark.com/spy/5058817
Gigabyte Aorus X470 Gaming
Powercolor RX56 Vega Red Dragon 8GB
16GB Corsair Vengance DDR4 @3200MHZ
Windows 10 X64
https://www.3dmark.com/spy/5058817
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
CTD's are most commonly caused by sound problems or things that you have *un*installed.
- (I did report a CTD caused by RSM a while back. It is hard to reproduce because RSM is, well, pseuodo-random.)
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
-
- Posts: 10
- Joined: Sat, 4. Jan 14, 00:22
I am a little confused... No matter what I change the settings to it doesnt seem to make a difference all trade ships seem to bail at 90-99% hull... (every single ship bails 100% of the time at almost full hull)
I am running XRM (this is for albion prelude)
If I am doing the math correctly.. If I have it set to 1 on bail and 1 on hull
they should be bailing around 2% of the time correct? or at or below 2% hull
not 95-99%
What am I doing wrong? Thanks.
I am running XRM (this is for albion prelude)
If I am doing the math correctly.. If I have it set to 1 on bail and 1 on hull
they should be bailing around 2% of the time correct? or at or below 2% hull
not 95-99%
What am I doing wrong? Thanks.
You're doing nothing wrong. It's simply because the latest version of NPCBailing is not compatible with XRM. It litters the universe with abandoned ships at ridicuously high rates. It's best to use v1.6.4 instead. I think you have to start a new game though.Joebloweres wrote:What am I doing wrong? Thanks.
-
- Posts: 10
- Joined: Sat, 4. Jan 14, 00:22
=/ Bleh... Figures... Thanks for the very fast response I really appreciate it so if I use this other version do I need to delete all my mods and reinstall cause they are messed up? or just the save - and this version is compatible with xrm? (does it also work with the hull multiplier mod from xrm? or makes things bad?)Nicoman35 wrote:You're doing nothing wrong. It's simply because the latest version of NPCBailing is not compatible with XRM. It litters the universe with abandoned ships at ridicuously high rates. It's best to use v1.6.4 instead. I think you have to start a new game though.Joebloweres wrote:What am I doing wrong? Thanks.
I think the problem is specific to X3AP + XRM. I had no trouble with X3TC + XRM or just X3AP.Nicoman35 wrote:You're doing nothing wrong. It's simply because the latest version of NPCBailing is not compatible with XRM. It litters the universe with abandoned ships at ridicuously high rates. It's best to use v1.6.4 instead. I think you have to start a new game though.Joebloweres wrote:What am I doing wrong? Thanks.
-
- Posts: 295
- Joined: Fri, 20. Mar 09, 16:38
-
- Posts: 295
- Joined: Fri, 20. Mar 09, 16:38
Or here without PW : http://expert-ru.org/forum/index.php?topic=66.15
sorry, that i bump up this old thread. I dont know, if you still work on this script. I have recently downloaded it and i found a very annoyng bug:
In the mission "escort convoy", the pilot of the industrial bails quiet often, when he gets attacked by pirates and that causes a huge rep loss and sector police response. Even if I didnt shoot the hauler.
In the mission "escort convoy", the pilot of the industrial bails quiet often, when he gets attacked by pirates and that causes a huge rep loss and sector police response. Even if I didnt shoot the hauler.
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
Yes. Because you failed the mission.Exognosis wrote:he gets attacked by pirates and that causes a huge rep loss and sector police response. Even if I didnt shoot the hauler.
"Escort Convoy" means that your mission is to *defend* the convoy from attackers.
You can, of course, adjust the bailing rate if you think it is wrong. Or use Nicoman's suggestion, above, to use a previous version. Or just not use NPC Bailing.
But your description sounds as though the mission is working correctly.
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)