zturtleman/spearmint

Some cfg commands don't seem to work

Riccardoman opened this issue · 4 comments

seta cg_kickScale "0"
seta cg_ScreenDamageAlpha "0"
seta cg_ScreenDamageAlpha_Team "0"

Hi, those cvars aren't working because they simply do not exist.
Since you are talking about game cvars (not engine cvars), here are the cvars that do exist for mint-arena: https://github.com/zturtleman/mint-arena/blob/master/code/cgame/cg_local.h#L1321 and https://github.com/zturtleman/mint-arena/blob/master/code/game/g_local.h#L766
Note, 'cg' named cvars are refering to the cgame module and NOT the Spearmint engine.

com_blood 0 will disable screen damage blood (and all other blood effects). I don't think there is a way to disable damage kick.

Yeah, wasn't there a gentity flag or something like FL_NO_KNOCKBACK or so? Iirc this was also disabling damage kick, correct me if I'm wrong. I think I didn't even test those flags.

FL_NO_KNOCKBACK disables moving entity when hit or such. cg_kickScale would probably be implemented here by kick *= cg_kickScale.value; — just guessing from cvar name.