TankTrackTool/README.md

66 lines
4.2 KiB
Markdown
Raw Permalink Normal View History

2024-01-30 02:17:43 -05: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][ref-ws]!
# Wiremod API
|<7C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> Extensions<6E> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>|<7C>Out<75>|<7C>Description<6F>|
|:---------------------------------------------|:---:|:------------|
|![image][ref-e]:`tanktracktoolCopyValues`(![image][ref-e])|![image][ref-xxx]|Copies the track values from one entity to another|
|![image][ref-e]:`tanktracktoolGetLinkNames`(![image][ref-xxx])|![image][ref-r]|Returns an array containing the link names|
|![image][ref-e]:`tanktracktoolResetValues`(![image][ref-xxx])|![image][ref-xxx]|Resets the entity internal track values|
|![image][ref-e]:`tanktracktoolSetLinks`(![image][ref-t])|![image][ref-xxx]|Updates the entity links from the table passed|
|![image][ref-e]:`tanktracktoolSetValue`(![image][ref-s],![image][ref-...])|![image][ref-xxx]|Updates the values under the specified index|
|<7C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>General<61>functions<6E><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>|<7C>Out<75>|<7C>Description<6F>|
|:---------------------------------|:---:|:------------|
|`tanktracktoolCanUseValue`(![image][ref-xxx])|![image][ref-n]|Checks the calm down whenever a value can be used|
|`tanktracktoolCreate`(![image][ref-n],![image][ref-s],![image][ref-s],![image][ref-v],![image][ref-a])|![image][ref-e]|Create an entity with given class by request|
[ref-ws]: http://steamcommunity.com/sharedfiles/filedetails/?id=737640184
2024-01-30 12:52:23 -05:00
[ref-a]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-a.png
[ref-b]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-b.png
[ref-c]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-c.png
[ref-e]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-e.png
[ref-xm2]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-xm2.png
[ref-m]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-m.png
[ref-xm4]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-xm4.png
[ref-n]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-n.png
[ref-q]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-q.png
[ref-r]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-r.png
[ref-s]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-s.png
[ref-t]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-t.png
[ref-xv2]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-xv2.png
[ref-v]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-v.png
[ref-xv4]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-xv4.png
[ref-xrd]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-xrd.png
[ref-xwl]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-xwl.png
[ref-xft]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-xft.png
[ref-xsc]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-xsc.png
[ref-xxx]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-xxx.png
[ref-...]: https://raw.githubusercontent.com/shadowscion/shadowscion/main/wirewiki/types/type-....png