Garry's Mod

Garry's Mod

Replicator Melons Legacy
sharktemplar 15 Feb, 2017 @ 4:59pm
A plea for even more convars
This is one of those very special addons that has stood the test of time and is still incredibly fun a long time after it was made, but I feel like there's a few things that could make it even better and wouldn't be too difficult to do.
If you still check this workshop item, peg, I really hope you see this.

Can we please get convars that do the following or at least something similar to the idea?:

(1) Distance priority for all three target types.
This would allow players to customize whether or not replicator melons prefer the player over npc or prop targets based on how close each target type is. I for one don't exactly like that replicator melons will ALWAYS prefer a player target over a much much closer npc/prop target.

(2) Replicator Melon horde-collision toggle.
Let's be honest, the most fun this addon can provide is when replicator melons are used in bulk.
This would hopefully act as a means to combat lag with replicator melon swarms that go higher than 45, resulting in replicator melons only colliding with the world and targets, but not each other. Perhaps give slight randomization to push speeds OR push delays for each melon to try and avoid multiple melons all ending up exactly inside of each other the majority of the time, assuming that proves to be an extremely common occurrence?

(3) Stuck failsafe options.
Replicator Melons get stuck regularly in certain levels, bigcity and megacity as good examples.
A solution could be to add convars where if replicator melons have not made significant positional progress when attempting to get to a target in a configurable amount of time, they change targets, possibly to targets that are at least 120+ degrees in a different direction to ensure they are removed from the stuck area. If no other targets are available, replicator melons could revert to wandering for a specified amount of time (see #4).

(4) Wandering behavior.
It's quite fun to use these little suckers as though they were a sort of zombie apocalypse; placing them somewhere in the map, and then stumbling across them at a different time and in a different place. Wander behavior would be perfect to give to replicator melons that do not currently see a target to aim for, and instead will have the melons rolling continuously in single, randomized directions idly, and if they get stuck on a wall or other obstacle, a similar direction-change failsafe can trigger. Perhaps to keep this as cheap as possible, make it so that during idle behavior, if the melon entity's speed is brought below a minimum number for longer than a couple seconds, it can be assumed the melon has hit an obstacle and will automatically change to a randomly chosen new direction?

(5) Melon speed.
I'm a little surprised this was never included to begin with, but I really feel like a convar to set the speed at which a melon can move should be added, as well as convars to determine exactly how much this number is multiplied by with each new melon added to a swarm, assuming the grouping feature is enabled.

(6) Impact sound configuration.
With enough replicator melons in a swarm, the squishy sounds can be terrifying. Perhaps a simple convar to change which sound is used might be fun? Adjustable audible distance as well if that's plausible.

(7) Queen melon concept.
It could be fun to make the concept of a swarm of replicator melons a bit more optionally intricate. Perhaps if a swarm becomes large enough, a random melon in that swarm is chosen to be the queen, and is given a purple coloring and a boosted configurable health. All other melons in that swarm will then group around that one melon (or possibly stick to it upon touching it or another melon connected to the group to avoid obvious lag issues) and turn into a big nightmare-ish blob of melons that behave as a single entity, or maybe a different route to still have an interesting 'leader' element to swarms; if the queen melon takes damage, all other melons in that group immediately swarm around her and stop, or move at a significantly reduced speed to try and protect the queen, giving players a specific target to aim for if trying to outrun a horde of replicator melons, which, let's be honest, is literally impossible as it stands if the group is larger than 4 or 5...


Whatever ends up being added though, I think most of us that use this addon can agree there's room for some really fantastic improvement. This is definitely one of my favorite addons by far, and a few more convars to fix a few of the more common issues with Replicator Melon would make it that much more malleable to players.
< >
Showing 1-7 of 7 comments
小スライム  [developer] 24 Jul, 2019 @ 1:36pm 
ive improved a lot in programming and despite this posts age i think a lot of this stuff could be great to see. i might just come back and work on it :)

only thing is, the melons are fairly laggy (this is why they have such a low default limit), i'll have to optimize their ai a fair bit methinks
小スライム  [developer] 24 Jul, 2019 @ 7:15pm 
Reading this again, I think you might be able to expect an update in the future.
sharktemplar 24 Jul, 2019 @ 7:25pm 
I'm so pleased you came back to read my post! I still love this addon a whole bunch, it's in my top 5s despite its simplicity. If you do take this project back in to tinker with and improve it, I'm sure there'd be a big audience to appreciate your work, but be sure to make an entirely new workshop post that this old one links to, so that your new work has the chance to be seen on the workshop Most Relevant front page, and get a whole slew of new upvotes as a result. Updating this addon by itself would have it go mostly unnoticed I think.
小スライム  [developer] 24 Jul, 2019 @ 9:05pm 
Fair points. Working on it now.
sharktemplar 26 Jul, 2019 @ 11:20pm 
Originally posted by nikki:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1816395429 I sincerely hope you enjoy.
Oh my, you really went and did it! I'm so excited. I'll need to play with it a whoooole bunch before I can give fair and detailed feedback. Thank you so much for blessing the gmod community with such a lovely gemstone!
小スライム  [developer] 26 Jul, 2019 @ 11:23pm 
i literally did nothing but develop it for the past three days lol, hope you like it
< >
Showing 1-7 of 7 comments
Per page: 1530 50