Garry's Mod Addon - Clientside tank tracks https://steamcommunity.com/sharedfiles/filedetails/?id=737640184
Go to file
shadowscion 265e4e6245
Merge pull request #17 from dvdvideo1234/desc-lab
Added: Labels for the track functions
2024-01-30 11:50:20 -06:00
lua Fixed: Argument of tanktracktoolSetValue are correct 2023-12-11 21:35:20 +02:00
materials fix beam disable input, add chain material 2023-02-02 08:39:39 -06:00
models/tanktracktool remove strut for now 2023-01-27 09:37:51 -06:00
addon.json Update addon.json 2020-08-26 06:33:26 -05:00
README.md Updated: Readme the same as WS page 2024-01-30 09:17:59 +02:00

Description

With tanks being such a popular thing to build in gmod, it is sad indeed to know that realistic tank tracks are nearly impossible. This tool aims to, mostly, solve that issue. Please post pictures so I can add them to the images!

Concept

  • Wheels are defined
  • A spline is generated around these wheels
  • Models are rendered around this spline
  • An animated scrolling texture is dynamically scaled to fit these models
  • Tank tracks!

Features:

  • Easy to use; spawn, select wheels, edit with context menu, and go!
  • A lot of options so far, and probably more in the future.
  • 100% Clientside (apart from the networked editable options); no more laggy e2 tracks, or, god forbid, physical ones!

Credits:

  • MrWhite; textures
  • DatAmazingCheese; textures
  • Metamist; icon
  • Waxx; server testing
  • Thebutheads; ideas
  • Karbine; ideas
  • dvd_video; wiremod api update and readme

Use the workshop version!

Wiremod API

              Extensions                Out   Description 
image:tanktracktoolCopyValues(image) image Copies the track values from one entity to another
image:tanktracktoolGetLinkNames(image) image Returns an array containing the link names
image:tanktracktoolResetValues(image) image Resets the entity internal track values
image:tanktracktoolSetLinks(image) image Updates the entity links from the table passed
image:tanktracktoolSetValue(image,image) image Updates the values under the specified index
        General functions           Out   Description 
tanktracktoolCanUseValue(image) image Checks the calm down whenever a value can be used
tanktracktoolCreate(image,image,image,image,image) image Create an entity with given class by request