R2-X2

MOD:Repeating blaster attacks restoration

Recommended Posts

Repeating blaster attacks restoration


Short story: Repeating blasters were originally intended to give the user an additional attack in every round of combat (like twin-blade melee weapons do). This mod implements that effect. I.e. a character without force speed would normally do 1 attack when using a repeater, 2 when using rapid shot as well. Now, 2 attacks will be done when using the default attack and 3 when using rapid shot.

Long story: After investigating in 2015 what could be the reason for repeaters costing more (500 vs 300) credits while having a worse crit range (5% vs 10%) than blaster rifles while having no advantage whatsoever, I found out that repeaters were originally intended to give the user an additional attack per round, sort of making them the double-blades of the blasters. Sadly, this was never implemented, as one internal item comment even comments on. I didn't know enough about scripting back then and quickly lost interest in fixing this. But now, more than 3 years later, it's finally fixed via scripting, placing the required code in the k_ai_master script.

Known issues: Due to hardcoded mechanics, power blast can never do more than 1 attack, and sniper shot never more than 2. Normal attack appears to usually only do 2, but may rarely do 3 when using force speed as well. Sadly, these cannot be changed without access to the game code. This information turned out to be incorrect, and the user Darg727 made a fix for this. However, this has a downside: It works by making power blast and sniper shot always shoot 4 shots regardless of how many attacks are available, which looks very strange because all shots that don't have a corresponding attack round are auto-misses. For example, using a sniper shot with a blaster rifle or single pistol will cause 4 shots to be fired simultaneously, like a shotgun blast, with 3 of the 4 automatically hitting the floor/ceiling/wall. Using knight speed would allow 2 of those 4 to hit and only 2 would be an auto-miss, etc.... As per Darg727's upload permissions, I have included the responsible file (weapondischarge.2da) as an optional mod in the download for additional visibility for those people that might want to use the feature but would not come across his modification otherwise.

Compatible with any mod that does not edit the k_ai_master.ncs file, and incompatible with any that does. (However, it is easy for any modder to add the compatibility, source is included.)

Note that this fix works for both the player and enemies! This can make some fights of the game slightly more challenging.


  • Submitter
  • Submitted
    11/20/2018
  • Category
  • K1R Compatible
    Yes

 

  • Like 2
  • Light Side Points 1

Share this post


Link to post
Share on other sites

Not only that, it also affects enemies, so those with repeaters will pack quite an additional punch! It sounds weird but I was pretty glad to see all those additional red numbers over my party when running circles around heavy sith troopers for testing. :D

 

  • Like 3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.