Incendiary grenade entity has DesignerName "molotov_projectile"
This is what I get from printing all the properties of the incendiary entity received in the function OnEntitySpawnedHandler:
IsValid=True
EntityIndex=Entity Index 444
Index=444
DesignerName=molotov_projectile
PrivateVScripts=
Entity=CounterStrikeSharp.API.Core.CEntityIdentity
CScriptComponent=
VisibleinPVS=True
Handle=1635711260672
EntityHandle=Index = 444, Serial = 4330
Designer name should be "incendiary_projectile".
I believe this can be fixed by changing the class inherited by IncediaryGrenade to "BaseCSGrenade". Although, I am not sure if this is enough. I would appreciate some guidance on this.
Molotovs and Incendiary nades use same projectile entity with different models
These are generated from valves code directly, so if that is the designer name then it's correct, as @GamerXCZ mentions
Ok, I understand. Am I correct that the classes are being generated from the "cs2_schema.json" file? Since molotovs and incendiary are quite different now with different durations and spreads, its it possible that "cs2_schema.json" is outdated? Where can I find the script that generates this json, I can't seem to find it.
that's how it should work, using same entity to handle 2 different throwables