ToxicFrog wrote: ↑Sat Oct 08, 2022 9:06 am
Dan_The_Noob wrote: ↑Thu Oct 06, 2022 5:38 am
is it possible to remove the pause/freeze function on the menu?
it de-syncs co-op but otherwise the mod works as intended. (up to that point, at least)
---EDIT---
turns out just getting an upgrade de-syncs co-op. not sure what can be done there.
So, I know very little about how co-op works, the mod has received no testing in multiplayer, and I'm not at all surprised that it breaks in MP. Multiplayer support is on my "nice to have, someday, if I can figure it out" list; I don't think it's impossible but this is very much a project where I'm learning as I go.
I
suspect that fixing this will involve reworking
NetworkProcess so that when a player picks an upgrade, that upgrade is given to them whether they're the consoleplayer or not? Maybe? At the moment there's a lot of "if the player receiving this event is not the consoleplayer do nothing" checks and I suspect that's what's breaking it.
oh i see.
well i can help with a few crash/de-sync causes i've found.
1. opening the upgrade/UI causes a de-sync.
2. attaining an upgrade (even if set to 1 choice/auto-pick) causes a de-sync.
3. not a crash but getting homing projectiles twice causes projectiles to go into the ground for seemingly no reason sometimes.
and a few idea for potential future upgrades/features.
Firstly, a separate identifier for the A_RailAttack or A_CustomRailgun types which removes stuff like "HE shots" (which doesn't work on railguns)
Secondly, some description for what stacking each perk affects.
Any
-Half ammo cost
-Double projectiles/shots/hits(melee)
-more painchance
-always gib (EXTREMEDEATH)
-ammo regen (or some other form of ammo sustain)
Hitscan
-gun becomes projectile weapon (custom generic projectile/fastprojectile? canceled out by hitscan specific picks)
-giant puffs + knockback (impact mod? same as projectile, transferrable)
-half fire-rate, double damage (multiplies with damage bonuses, unpickable if you get double fire-rate and viceversa)
-bullets become railgun shots
Projectile
-gun becomes hitscan weapon (projectile exclusive effects apply to puffs? cancelled out by homing/piercing etc.)
-bigger projectile + knockback (impact mod? same as hitscan, transferrable)
-double projectiles, half size, speed and damage.
Melee
-more reach/range
-explosive melee
-move speed up