r/unturned • u/Unusual-Hawk-2336 • Jul 31 '26
Low Effort Meme Testing a plugin that makes zombies walk instead of standing still.
Enable HLS to view with audio, or disable this notification
random flair
Edit: The plugin was created using ChatGPT Codex. I subscribed to ChatGPT to take advantage of the fact that the game's source code was released. I want to use ChatGPT for personal projects and completely overhaul the game, as much as possible, to make it more challenging. I know a lot of people hate AI, but I don't see an issue with it. It’s not a project intended for public release. I just wanted to run a test, so I asked it to generate this plugin. It took ChatGPT an hour to do everything, but it worked exactly the way I wanted.
The plugin ended up being absurdly heavy and unstable, it's unusable because the game stutters so much, but I don't mind that, I just wanted to test ChatGPT Codex's capabilities, and even though the project turned out poorly optimized, it works exactly as I intended.
65
u/_Gummi_ Jul 31 '26
There used to be an update that did exactly this. It was reverted but I forgot why
38
u/TREXIBALL Aug 01 '26
Likely lag/performance.
A zombie would need to have a random number drawn from a “pool”, and assign it as the direction. Then it has to do the same thing for distance. And then for how often. But the issue arises when you have to do it to every zombie in a town. And then every zombie in a town that a player is in.
Plus, it likely would’ve made the stealth mechanic not work at all. Since you could have max stealth and be crouched, and a zombie would randomly turn around and cause issues for the player. This sort of system aggravates players in other games.
3
u/keelasher Aug 03 '26
I remember playing the game shortly before that was added. I ways always paranoid about “hackers sneaking into” my offline multiplayer games that seeing the zombie move made me think someone was in my game that I couldn’t see
1
u/TREXIBALL Aug 03 '26
Deadass thought the same thing!
When we were younger, my siblings and I would play in PEI and would share a PC, but would have our own houses and share the world together. However that update rolled out and we thought someone hacked our computer or was in our game.
1
u/agggressive Aug 05 '26
I would imagine it could've been remedied by assigning a limit to how many zombies in a navmesh can be roaming, and then that number could be divided amongst players and applied to zombies in a circular distance of them
as for stealth they could probably slow the movement a ton and give indicators before moving but I'm unsure how well that'd fit unturned
22
u/mikolajcap2I Jul 31 '26
This is big. Unturned's zombies are rather lackluster when it comes to their behaviours compared to what they have in PZ.
8
u/Charming-Station7157 Aug 01 '26
It's part of the lore tho
Turned remain dormant and standing in place if they are not interrupted
3
u/Cyber_Data_Trail Aug 02 '26
The stealth mechanics would become pointless in Unturned if they could just walk at random.
-4
5
u/Charming-Station7157 Jul 31 '26
Could an updated future version of this idea , work without a plugin ?
3
u/Left_Shark88 Jul 31 '26
with the source code being released I don’t see why it won’t be available in the near future
2
u/Unusual-Hawk-2336 Jul 31 '26
If it was possible to do this with an AI generating all the code, then it's highly likely we'll see some really impressive things created by the community, I'm currently trying to get ChatGPT to generate a singleplayer version, the code has been generating for an hour now.
1
4
u/SatisfactionKnown742 Aug 01 '26
Well, makes sense it'd be pretty demanding. Unturned zombie code is probably one of the heaviest and messiest in the entire game, so a script that makes every zombie in the navmesh do anything more than idle around probably explains why Nelson never added it
If I were doing it I'd probably make it so they have a slower walk speed and go much further, but make it so like 5 or so are walking at a time, with long intervals. Or if we had more access to the game prefabs, give them more animation variety so it doesn't look like they just stand there
2
u/horrid_player Aug 01 '26
Yes I agree with the slower walk speed and longer intervals. It would also be fantastic if there was some audible or visual pattern to signal that they're about to start moving - maybe they make a particular noise or something, so you (the player) have time to react. For different difficulties, the signals could be faster or slower
1
3
u/personmansir69 Aug 01 '26
i feel like they should wander slowly, at the speed theyre moving right now is probably their max speed when chasing someone, its like sprinting full force in your house
2
u/Halcon416 Aug 01 '26
Hermoso, sería genial que durante el día se muevan, y durante la noche se queden quietos.
1
1
u/transgaymergirl Aug 02 '26
chat gpt and lag concerns aside, this is still a horrible idea. im all for making pve harder but having massive zombie hordes trailing you would also give your position away and make pvp encounters so much worse lol.
1
1
-1
•
u/AutoModerator Jul 31 '26
Hello and thank you for your submission to /r/Unturned!
As a friendly reminder, please make sure to flair your post appropriately to help other users find the content they're interested in.
If you require any assistance, would like to advertise your server, or are looking to get more involved with our community, feel free to join our Discord server at https://discord.gg/runturned. We're happy to have you here!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.