11 Months Ago
A bit faster optional argument handling Also nicer code internally Rework killicon library New argument for killicon.GetSize - bool dontEqualizeHeight, set to true to return the actual height of a killicon killicon.Add can now use .pngs Added killicon.AddTexCoord - subrect killicons on a single texture (Community Contribution) Added killicon.Render - draws the killicon without weird vertical offsets, also has dontEqualizeHeight argument to draw unscaled killicon Changed base gamemode deathnotice to use killicon.Render to have better killicon alignment Fix targetID being jumpy player manager cleanups Merged pull request Add sequential parameter to net.Read/WriteTable Update gm_construct.nav Added walkable drop down only areas to elevated areas, such as roofs of certain buildings Added some navarea functions Added CNavArea.GetIncomingConnectionDistances Added CNavArea.GetAdjacentAreaDistances Both have optional arguments to limit output to a certain navDir, and return the precalculated distances to the returned areas. OnEntityCreated is now also called for clientside only entities Add .gma to file.Write whitelist Support Vector / Vector Merged pull requests * Clean up DOF_Ents table on DOF_Kill * Use Brackets for keys in PrintTable to avoid confusion with trailing/leading whitespace RecalculateLineBreaks before firing OnTextChanged Fix Panel:GetNumLines not being up to date within that hook. CNavArea:MarkAs(Un)Blocked first argument is now optional Fixed clientside ragdolls creating unnecessary bonemanip entities This is a regression fix Added classnames to "C_BaseEntity::UnlinkFromHierarchy" warning Made NPC:SetUnforgettable 2nd argument default to true And also made it actually work, whoopsie Fix CNavArea.MarkAsDamaging 2nd argument reading from the first Simplify some code Safe guard against invalid vector input to PhysObj functions OnScreenSizeChanged hooks get 2 new params - new sizes Fix airboat attachment name Fix seemingly incorrect calculation of vehicle wheel total height for rear axle Read settings/users.txt from MOD search path Added optional filter option to both EmitSound functions Added new RichText panel methods Added GetLineHeight Added SetLineHeight - values below zero mean no override Added AppendTextWithURLs Added model file types to file.Write whitelist Reduce .gma whitelist for data_static/ folder Only allow txt, dat, json, xml and csv - the other stuff can be stored in models/, materials/, etc. Clean ups Added navmesh.FindInBox