Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
This repository was archived by the owner on Jul 3, 2025. It is now read-only.

Please adjust the NPC duping to be based on spawnname instead of classname #90

@SligWolf

Description

@SligWolf

The last GMod update from March 2024 fixed npcs being spawned and duped by their classname instead of their spawnname. It made it more elegant to have them apply all their properties that are supported by default via list.Get("NPC") without addional dupe code.

firefox_Oj2fTPkwtn
https://gmod.facepunch.com/changelist/3976

Unfortunately ADV Dupe 1 does not support this change yet. So please adjust it to work similary to ADV Dupe 2 and Garry's Dupe which supports this new behavour. For example ADV Dupe 1 does not handle Health, MaxHealth and other properties that might come later.

This was the relvant change in GMod:
Facepunch/garrysmod@9fe82bc?diff=unified&w=0#diff-b7a357bf1c9ee1f589fa300430bf6c5c1331cb4fcb1ddc81d7a9bca0b36fbd8bR595-R597

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions