Details

Last Updated
last year
First Uploaded
last year
Downloads
1.2K
Likes
0
Size
20KB
Dependency string
Team036-ClientMinimapCallbacks-1.0.2
Dependants

Categories

This mod provides some useful functions on minimap in client.

You should not install this until you are told.

Functions

cl_minimap.gnut

void function Minimap_SetZoomScale( float scale )
void function Minimap_SetSizeScale( float scale )

// Return rui created. Its a variant of AddMinimapObject. Use it carefully.
var function AddMinimapObjectAlter( entity ent, string className,int customState,int zOrder) 
var function ClientCodeCallback_MinimapEntitySpawnedAlter( entity ent , string className,int customState,int zOrder)


void function RemoveMinimapOtherRui(var rui)

// Remember to redraw after scaling.
void function Minimap_RedrawSizeScaleAll()
void function Minimap_RedrawZoomScaleAll()

// The file is the current state of client minimap.
MinimapFile function Minimap_GetFile()

// Obtain the zoom/size scale with convar.
GetConVarFloat( "mp_minimap_zoom" )
GetConVarFloat( "mp_minimap_size" )

sh_minimap.gnut

The client minimap use classname&enum to tell the asset. This custom enum was used to test. Keep it.

global enum eMinimapObject_custom
{
	GRENADE
	COUNT
}

Examples

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.