Garry's Mod

Garry's Mod

292 ratings
[DRG]Scene NPC v2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Movie, Scenic, Realism
File Size
Posted
Updated
92.630 MB
7 Jul @ 1:57am
7 Jul @ 2:29am
3 Change Notes ( view )

Subscribe to download
[DRG]Scene NPC v2

Description
enhanced scene npc, conflict with v1 scene npc

fix bugs later

Postal 2: Petition
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2802133674

Popular Discussions View All (3)
7
14 Jul @ 4:02pm
error with Postal 2: Petition
tiasoto0
6
12 Jul @ 6:21am
how do i use this addon?
ModestShoducks
1
9 Jul @ 3:31pm
option blocks me out
1LLINOIS47
60 Comments
Non Typical Typical German 27 Jul @ 7:54am 
10/10 caused my first bluescreen due to me making a teletubbie version on "No russians" :JosephJoestar:
Matador 22 Jul @ 1:23am 
now I can recreate "No Russian"
YongLi  [author] 19 Jul @ 8:54am 
@AceOfSpades subscribe required items, make sure they are enabled, find them in npc lists
AceOfSpades 19 Jul @ 8:48am 
I still don't know how to spawn the NPCs :steamsad:
StickerdoodIe 17 Jul @ 1:57pm 
There should be an option to choose between random genders. Overall, great mod
YongLi  [author] 17 Jul @ 11:43am 
yeah have a good day
Arlo Ecloc 17 Jul @ 11:40am 
otherwise, yeah i understand that badcoderz can drive out some addon creators but you do also have to remember these types of addons are used for roleplaying and cinematics so performance is a key factor in some areas.

have a good day now! :> hope you might be able to optimise some functions to make it run more smooth in future.

(2/2)
Arlo Ecloc 17 Jul @ 11:40am 
ah okay! thank you for elaborating on it.

and badcoderz catches "code smells" which basically means it sniffs out what addons are requesting things from glua code. it's fairly good at catching addons that make a lot of requests or use heavy functions that it deems to be excessive. i've been able to get my fps from 50 to 140+ consistantly because of badcoderz catching unoptimised addons. not saying that yours is a part of that, just explaining its function.

one issue that still remains is the fact that this addon seems to be calling the client to request GM:PostDrawOpaqueRenderables even though no Scene NPCs are currently being drawn and rendered, it could be something you could run a check for or have a spawn script run when one of the NPCs are spawned rather than running constantly, maybe?

(1/2)
YongLi  [author] 17 Jul @ 11:24am 
and it's gmod, BadCoderz kind of stuff only drives out more addon creators
YongLi  [author] 17 Jul @ 11:21am 
@Arlo Ecloc the addon does have bad optimization for various reasons, and yes GM:PostDrawOpaqueRenderables does function every frame, but it will terminate on the second line if it's not in the right condition, that for cpu is literally nothing. i don't know about BadCoderz scan, but checking whether if an addon's optimization is good or bad depends on lot of stuff and just a simple scan won't find that