Agreed. However, decided that making sure that Marine Rebalance would be compatible with Boarding Options would be a better course of action.Shazbot01 wrote:The one feature from boarding options that I would love to see ported into marine rebalance is the option to have normal assistance or target weapons only, it's nice to have options to how much of a ship I need to carve up during boarding.
[MOD] Marine Rebalance
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23
-
- Posts: 5625
- Joined: Sat, 10. Nov 12, 17:55
Heyho!
Im trying to spot some possible mod incompatibility with AutoCrew (on 3.61).
Any chance this sel won't work? My code thinks it is inserted right after the ownership change and removal of the original crew.
Id really like to stay compatible with your mod as i plan to use it later 
Im trying to spot some possible mod incompatibility with AutoCrew (on 3.61).
Any chance this sel won't work? My code thinks it is inserted right after the ownership change and removal of the original crew.
Code: Select all
<add sel="(//cue[@name='Success']/actions/do_else/cease_fire[@object='$target'])[1]" pos="after">

-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23
Hey pref,
Shouldn't be a problem since I haven't gone near that do_else. (At least, I don't think I have.) MR does change stuff within cue name="Success" but that particular node shouldn't be affected.
I did add a second cease_fire within "Retreat" but your sel is specific enough that it shouldn't be affected.
Anyway, if there does prove to be a compatibility problem, let me know.
Shouldn't be a problem since I haven't gone near that do_else. (At least, I don't think I have.) MR does change stuff within cue name="Success" but that particular node shouldn't be affected.
I did add a second cease_fire within "Retreat" but your sel is specific enough that it shouldn't be affected.
Anyway, if there does prove to be a compatibility problem, let me know.
-
- Posts: 5625
- Joined: Sat, 10. Nov 12, 17:55
-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23
I rather like general sels myself. That way, if it breaks, you're at least sure that it won't land somewhere else. That can be a danger, particularly if you use "[1]" the way you did a couple of posts up.
I find it's much safer if something breaks completely by landing nowhere, doing nothing, and giving you an error message then if it breaks by landing somewhere else and changing something unanticipated.
Then again, come to think of it, the same could be said of extremely specific sel paths.
I find it's much safer if something breaks completely by landing nowhere, doing nothing, and giving you an error message then if it breaks by landing somewhere else and changing something unanticipated.
Then again, come to think of it, the same could be said of extremely specific sel paths.
-
- Posts: 5625
- Joined: Sat, 10. Nov 12, 17:55
Yeah hard to guessw.evans wrote:I rather like general sels myself. That way, if it breaks, you're at least sure that it won't land somewhere else. That can be a danger, particularly if you use "[1]" the way you did a couple of posts up.
I find it's much safer if something breaks completely by landing nowhere, doing nothing, and giving you an error message then if it breaks by landing somewhere else and changing something unanticipated.
Then again, come to think of it, the same could be said of extremely specific sel paths.

I was thinking if there would ever be 2 cease fire commands in that cue, those must be in a conditional, and this way at least i catch the first. Might be better without 1 though - too many assumptions...
-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23
13.Feb.2016 - Marine Rebalance updated to v0.52
- Suppresses notifications added in X:R 4.0 Beta 5.
- Removed sound of boarding notifications.
Marine Rebalance is now fully compatible with X Rebirth 4.0
Happy 13th, everyone!
.......
Please report if there are any issues. I usually suck when I try to code first thing in the morning.
- Suppresses notifications added in X:R 4.0 Beta 5.
- Removed sound of boarding notifications.
Marine Rebalance is now fully compatible with X Rebirth 4.0
Happy 13th, everyone!
.......
Please report if there are any issues. I usually suck when I try to code first thing in the morning.
-
- Posts: 655
- Joined: Sat, 11. Feb 12, 04:03
Would it be reasonable to ask that the mod have a function added? I would like to be able to configure the options that I get when attacking. Do say disabling the Drone Bay and Cap Shields as valid targets.
Much of the time when pirating a ship, I want the drone bay intact and waiting for the time out is frustrating and causes marines to die. So could the option to skip those...or may be when one of those things come up, To choose (I will attack this / I am not going to attack this).
Much of the time when pirating a ship, I want the drone bay intact and waiting for the time out is frustrating and causes marines to die. So could the option to skip those...or may be when one of those things come up, To choose (I will attack this / I am not going to attack this).
-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23
Hi SyberSmoke,
Sounds like you want something like Boarding Options. This mod should work with Boarding Options without a problem.
Sounds like you want something like Boarding Options. This mod should work with Boarding Options without a problem.
-
- Posts: 11180
- Joined: Thu, 27. Feb 03, 22:28
Hey w.evans,
I'm using the latest version with the newly released 4.0 + HoL. Boarding operations go well...possibly a little too well as I'm yet to lose a Marine.
I of course strip any ship of weapons and other surface elements first, then get the hull down so resistance is under my strength. However, even doing all this I'd expect loses. My strength is only about 10% over the ships resistance, plus I've been unable to scan it first - so boarding lasts the full 10 rounds.
Anyway, possibly you've made changes to how it works, but this does seem a little easier than maybe it should be.
Note: I had 50 recruit marines during my first boarding, all survived giving me 10 Veterans. My second boarding went equally well, I now have 25 recruits and 25 veterans!
Cheers,
Scoob.
I'm using the latest version with the newly released 4.0 + HoL. Boarding operations go well...possibly a little too well as I'm yet to lose a Marine.
I of course strip any ship of weapons and other surface elements first, then get the hull down so resistance is under my strength. However, even doing all this I'd expect loses. My strength is only about 10% over the ships resistance, plus I've been unable to scan it first - so boarding lasts the full 10 rounds.
Anyway, possibly you've made changes to how it works, but this does seem a little easier than maybe it should be.
Note: I had 50 recruit marines during my first boarding, all survived giving me 10 Veterans. My second boarding went equally well, I now have 25 recruits and 25 veterans!
Cheers,
Scoob.
-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23
-
- Posts: 11180
- Joined: Thu, 27. Feb 03, 22:28
-
- Posts: 3206
- Joined: Thu, 16. Jul 09, 12:24
I had noticed this as well... I was curious about it but I shrugged it off and then I see I'm not the only one. I've done boarding ops with maybe half of the surface elements destroyed, do a drone scan and then I shoot guns on the ship to get 25% increments of the boarding op done. Only time I lost marines was during my first boarding op of a pirate cargo transport and they were all rookies anyways. Only other times I lost marines was when the boarding pods decided to go ahead and go towards the other end of the ship that had turrets alive still.
-
- Posts: 11180
- Joined: Thu, 27. Feb 03, 22:28
-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23
Alright. Looking at what changed in 4.0, saw this:
was
and
was
$fightoutcome is defined as:
If I understood that correctly, what this means is that there is a greater chance of getting casualties if in close fight range (boarding resistance - boarding strength between -10 and 10), but you get less casualties when you do get casualties at all within that range.
In the mod, close fight range is extended to -100 to 10.
Which means, you should still be seeing casualties in the range that Scoob mentioned, albeit lighter casualties than in 3.61; but you aren't. Now, why could that be?
edit: corrected was for set_value name="losschancemin" and "losschancemax" Did NOT have chance="$debugoutputchance" and didn't notice at all. Thanks to pref for spotting it.
Code: Select all
<do_else>
<set_value name="$outcomedecider" min="$fightoutcome" max="$fightoutcome + 10"/>
<do_if value="$outcomedecider gt 0">
<debug_text text="'marines may be lost due to close fight'" chance="$debugoutputchance"/>
<!--player loss-->
<set_value name="$losschancemin" exact="2" chance="$debugoutputchance"/>
<set_value name="$losschancemax" exact="5" chance="$debugoutputchance"/>
<include_actions ref="LoseMarines"/>
</do_if>
<do_else>
<!--Player wins-->
</do_else>
</do_else>
Code: Select all
<do_if value="$outcomedecider gt 0">
Code: Select all
<do_if value="$outcomedecider gt 10">
Code: Select all
<set_value name="$losschancemin" exact="2" chance="$debugoutputchance"/>
<set_value name="$losschancemax" exact="5" chance="$debugoutputchance"/>
Code: Select all
<set_value name="$losschancemin" exact="5"/>
<set_value name="$losschancemax" exact="10"/>
Code: Select all
<set_value name="$fightoutcome" exact="$defencestrength - $attackstrength"/>
In the mod, close fight range is extended to -100 to 10.
Which means, you should still be seeing casualties in the range that Scoob mentioned, albeit lighter casualties than in 3.61; but you aren't. Now, why could that be?
edit: corrected was for set_value name="losschancemin" and "losschancemax" Did NOT have chance="$debugoutputchance" and didn't notice at all. Thanks to pref for spotting it.
Last edited by w.evans on Mon, 29. Feb 16, 22:08, edited 1 time in total.
-
- Posts: 5625
- Joined: Sat, 10. Nov 12, 17:55
-
- Posts: 5625
- Joined: Sat, 10. Nov 12, 17:55
-
- Posts: 36
- Joined: Wed, 18. Mar 15, 15:40
Not sure why, but this mod currently breaks the game for me, that or another mod I have conflicts with it to cause the game breakage.
Currently after boarding 1-2 capital ships the marine officer becomes bugged and no longer responds to ANY commands, or even has the option to give him commands other than "your fired" and "show me your skills".
Disabling the mod returns the game to working order, though I have to start from a save back before the office became bugged.
Also one other minor issue, the progress screen during boarding doesn't show unless radar is enabled.
Currently after boarding 1-2 capital ships the marine officer becomes bugged and no longer responds to ANY commands, or even has the option to give him commands other than "your fired" and "show me your skills".
Disabling the mod returns the game to working order, though I have to start from a save back before the office became bugged.
Also one other minor issue, the progress screen during boarding doesn't show unless radar is enabled.