You are viewing a potentially older version of this package. View all versions.
Team036-DamageDisplay-1.0.3 icon

DamageDisplay

Display your damage and kills like Apex.

By Team036
Date uploaded 4 years ago
Version 1.0.3
Download link Team036-DamageDisplay-1.0.3.zip
Downloads 171
Dependency string Team036-DamageDisplay-1.0.3

README

What this mod brings

This will show the damage and kill in your upper right like apex.

New callbacks

AddCallback_DamageFlyout( void functionref( float, vector, entity, bool, bool ) )

AddCallback_DamageFlyout( UpdateDamage )

void function UpdateDamage(float damage, vector damagePosition, entity victim, bool isCrit, bool isIneffective)

Mod.json

Convars

	"ConVars": [
		{
			// Position.Left top 0 0 0.Right Bottom 1 1 0.Use Space to separate.
			"Name": "damage_display_position",
			"DefaultValue": "0.86 0.08 0.0"
		},
		{
			// RGB
			"Name": "damage_display_color",
			"DefaultValue": "240 248 255"
		},
		{
			"Name": "damage_display_alpha",
			"DefaultValue": "1.0"
		},
		// Text size
		{
			"Name": "damage_display_size",
			"DefaultValue": "24.0"
		},
		// Format string, custom your display style here. Use \n to start a new line.
		{
			"Name": "damage_display_format",
			"DefaultValue": "DMG: {DAMAGE} KILL: {KILL}"
		},
		// The damage can be float. If false, the damage will show as integer.
		{
			"Name": "damage_display_usefloat",
			"DefaultValue": "false"
		}
	]

Files

|   mod.json
|
\---mod
    \---scripts
        \---vscripts
            |   l1nexus_damage_display.nut
            |
            \---client
                |   cl_player.gnut
                |
                \---rui
                        cl_hud.gnut

Further updates

  • Use some image in the display.

Update log

v0.0.1

  • Upload

v1.0.2

  • Update Convars.

v1.0.3

  • Fix crush to main menu with titan. Now it works normally with titan cockpit.