From 9e9e596c91e28c2fca4a7c04eb7d309adba959ad Mon Sep 17 00:00:00 2001 From: Deyan Dobromirov Date: Fri, 3 Nov 2023 14:13:11 +0200 Subject: [PATCH] Updated: Readme markdown include WS information Updated: Switch places for active radius render --- lua/autorun/trackassembly_init.lua | 2 +- lua/weapons/gmod_tool/stools/trackassembly.lua | 2 +- readme.md | 13 ++++++++++--- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/lua/autorun/trackassembly_init.lua b/lua/autorun/trackassembly_init.lua index 08351741..1d164b60 100644 --- a/lua/autorun/trackassembly_init.lua +++ b/lua/autorun/trackassembly_init.lua @@ -85,7 +85,7 @@ local asmlib = trackasmlib; if(not asmlib) then -- Module present ------------ CONFIGURE ASMLIB ------------ asmlib.InitBase("track","assembly") -asmlib.SetOpVar("TOOL_VERSION","8.730") +asmlib.SetOpVar("TOOL_VERSION","8.731") asmlib.SetIndexes("V" ,1,2,3) asmlib.SetIndexes("A" ,1,2,3) asmlib.SetIndexes("WV",1,2,3) diff --git a/lua/weapons/gmod_tool/stools/trackassembly.lua b/lua/weapons/gmod_tool/stools/trackassembly.lua index f537ed07..63edf1de 100644 --- a/lua/weapons/gmod_tool/stools/trackassembly.lua +++ b/lua/weapons/gmod_tool/stools/trackassembly.lua @@ -2266,8 +2266,8 @@ function TOOL:DrawToolScreen(w, h) .." >> "..(pointid or gsNoID) .. " (" ..(pnextid or gsNoID) ..") [" ..(hdRec.Size or gsNoID).."]","g") - scrTool:DrawText("CurAR: "..(trRLen or gsNoAV),"y") scrTool:DrawText("MaxCL: "..actrad.." < ["..maxrad.."]","c") + scrTool:DrawText("CurAR: "..(trRLen or gsNoAV),"y") local txW, txH = scrTool:GetTextStScreen() local txsX, txsY = scrTool:GetTextStLast() local nRad = mathClamp(h - txH - (txsY / 2),0,h) / 2 diff --git a/readme.md b/readme.md index ded52bdd..62fb5a2e 100644 --- a/readme.md +++ b/readme.md @@ -2,12 +2,14 @@ --- -# Copyright 2015 [ME](http://steamcommunity.com/profiles/76561197988124141) ! +# Copyright 2015 [ME][ref-me] ! ## IF YOU HAPPEN TO FIND REUPLOADS WITH DIFFERENT ORIGIN REPORT THEM TO ME IMMIDEATELY !!! ![TrackAssemblyTool][ref-screenshot] +[![][ref-ws-down]][ref-workshop] [![][ref-ws-date]][ref-ws-updt] + ## Description This script can give you the ability to connect prop-segmented track pieces fast. @@ -23,8 +25,7 @@ created it. But since my lack of time for playing gmod has been drastically incr people asked me if I accept donations, here is [the link to my PayPal](https://www.paypal.me/DeyanVasilev). #### How can I install this? -You can subscribe to it in the workshop [here](http://steamcommunity.com/sharedfiles/filedetails/?id=287012681) -or download the latest stable release from [here](https://github.com/dvdvideo1234/TrackAssemblyTool/releases). +You can subscribe to it in the workshop [here][ref-workshop] or download the latest stable release from [here][ref-release]. After downloading the release extracting it in `../GarrysMod/garrysmod/addons` and you are practically done. #### Why did you consider making this thing ? @@ -493,3 +494,9 @@ avoiding any version mismatches and confusions. So please don't upload the scrip [ref-work-turn]: https://www.youtube.com/watch?v=_qcol4_-_ZQ [ref-user-mbones]: https://steamcommunity.com/profiles/76561198348454446 [ref-node-intersect]: https://www.youtube.com/watch?v=2MCagAUCU_M +[ref-me]: http://steamcommunity.com/profiles/76561197988124141 +[ref-ws-down]: https://img.shields.io/steam/downloads/287012681 +[ref-workshop]: https://steamcommunity.com/sharedfiles/filedetails/?id=287012681 +[ref-ws-date]: https://img.shields.io/steam/update-date/287012681 +[ref-ws-updt]: https://steamcommunity.com/sharedfiles/filedetails/changelog/287012681 +[ref-release]: https://github.com/dvdvideo1234/TrackAssemblyTool/releases