Noita
Projectile Repulsion Tweaks For Your Sanity
23 Comments
d41337n8r 2 Oct, 2021 @ 8:32pm 
there's another mod called centered repulsion that changes the repulsion field's origin to be the same point your wands pivot around, instead of slightly below it on the center of your body.
SyntaxAlpha  [author] 29 Mar, 2021 @ 6:11pm 
@SlightEye After checking the changes on the beta branch I've found that projectile repulsion and the perk list has changed. This mod currently will not work on the beta branch, but I will have the fix pushed once the beta is pushed to master.
SlightEye 28 Mar, 2021 @ 11:12pm 
ah, allmost forgot I did the tests on the beta branch
SlightEye 28 Mar, 2021 @ 10:53pm 
short wands seem more effected than long ones.
SlightEye 28 Mar, 2021 @ 10:49pm 
I did some testing and it is a vanilla behaveor, and your mod dosn't seem to chane it tho...

here are some test with your mod, cheatgui, and spell lab enabled.

https://imgur.com/a/Ip3Qeqq
SlightEye 28 Mar, 2021 @ 10:22pm 
It is the firebomb spell.
SyntaxAlpha  [author] 28 Mar, 2021 @ 1:41pm 
@SlightEye Are you using odd firebolt in that recording? This mod does not produce that effect.
SlightEye 28 Mar, 2021 @ 11:04am 
I made my own wery first noita mod mod of it, no uny math required. I added my own take on balancing the drawback of less accurate spells. So now reduced spread is useful for one more thing asides fixing wand stats and tuning shotguns.
SlightEye 28 Mar, 2021 @ 10:26am 
The same as vanilla...
I tried some offsets and the upward bias dissapears.
5 upvards worked best
local x, y = EntityGetTransform( entity_id )
y = y-5
SlightEye 28 Mar, 2021 @ 10:13am 
SlightEye 28 Mar, 2021 @ 10:11am 
curious indeed, as I am not talking about spred radther a strong upward bias on slow projectiles
SyntaxAlpha  [author] 28 Mar, 2021 @ 7:08am 
@SlightEye My mod uses vector dot product to determine whether the projectile is affected by the field or not.

The projectile can be moving up to 90 degrees tangential to the player's position and it won't be affected by the field. The projectile emitting from the wand and my mod testing the projectile's position against the player entity's position will cause the field to ignore the projectile as it moves away from the player.

Any perceived accuracy deviations are likely due to the spread stat on wands. If you happen across any 'reduce spread' spells, throw it on your wand to test if that fixes your accuracy problem.
SlightEye 27 Mar, 2021 @ 11:50pm 
The projectiles get deflected because the repulsion fields eminate from the player position. Witch is at the player characters feet. The wand rotates around shoulder hight. The simplest solution to the deflection is to move the fields to the same location as the wand rotation centre. but i cant find a mod that does that... could you make one?
GalacticalXenon 21 Feb, 2021 @ 4:54pm 
Thank you so much for this! I had a great run where I had the infinite spell perk and spells like unstable crystal, magic missile and such, but then couldn't land any shots because of the repulsion sector perk.
Swaglolson 17 Feb, 2021 @ 12:46pm 
It just nullifies the effect of PR field and sector
SyntaxAlpha  [author] 7 Jan, 2021 @ 1:20pm 
@cloudperson Enemy projectiles are entirely unaffected by this tweak. When testing this myself I find that enemy projectiles are behaving as the original, un-tweaked perk behaves.
shrine maiden 6 Jan, 2021 @ 9:53am 
I'm unsure if this works as it seems to weaken projectile repulsion perks to the point where they seemingly don't do anything against enemy projectiles.
THEBEANBOY 26 Dec, 2020 @ 7:51pm 
This is in Goki's things.
Alphaccca 13 Dec, 2020 @ 5:15pm 
@SystemAlpha thanks!
SyntaxAlpha  [author] 13 Dec, 2020 @ 7:35am 
@Alphaccca I have the modifications made to the perk, however, I currently do not have internet access so it will have to wait.
Alphaccca 8 Dec, 2020 @ 10:36pm 
can you do the same with projectile repulsion sector?
Act_One 7 Dec, 2020 @ 9:10am 
Yesssssss, finally!! You have no idea how annoying it is when i'm shooting slower projectiles or black holes, they just fly away and make the Gods mad at me. It's no use on having an accurate wand if the field has a constant dispersion from the center. This will be handy with the sharp discs, though, their bounce back is very annoying, as there is no immunity to them. Though, that adds to the challenge i guess.
Cornelius Finkleton 3 Dec, 2020 @ 5:35pm 
nice this should make my spells less chaotic when i pick up this perk