Garry's Mod

Garry's Mod

169 avaliações
Echolocation
   
Premiar
+ favoritos
Nos favoritos
- favoritos
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Cartoon, Fun
Tamanho
Publicado em
415.514 KB
2/jan./2014 às 4:46
1 nota de atualização (ver)

Inscreva-se para baixar
Echolocation

Descrição
-What is this addon-
It includes a level and some code. The level is completely dark with a custom material on the walls for effect.
By binding a key to the command "wt_echo" you can fire out an invisible beam that makes light when it hits the wall. The invisible beam (your 'echo') can bounce up to 3 times. Each player only sees their own echo lights.

-Why?-
See the video for what it's like and to get an idea of what could be done with it. I am releasing the code for anyone to learn from (even though it's somewhat messy and all in one file (not a good idea for writing a proper gamemode)). 'Echolocation' is an interesting concept for use in a game and I wanted to see what I could get working in Garrysmod.

-The code + map source-
Download the zip file from here https://www.dropbox.com/s/jhie73xkiwvbdji/wt_echolocation.zip
Unpack to your addons folder
(If you have this in your addons folder you should disable the workshop version)

-Misc Details-
The code will only run when on a map with a matching name ( starting with wt_el_ ), so it won't interfere with standard gameplay. In this addon it includes a simple bar on the hud showing your 'power level' which limits how often you can shoot out echo beams; the hud and the power limit can be turned off easily within the code, but not in the workshop version. (Hud only shows when the addon is active, when on the correct level).
Each player only sees their own echo lights, this can also be easily changed in one line in the code.
I encourage you to try and play around with the code, even though it's not the best, it's very simple.

-Other-
How do I bind a key?
. - Open the console (default key is ~ (beside 1 on most keyboards))
. - Enter the following command: bind "F" wt_echo but replace F with the key you want to use
21 comentário(s)
RaysurZ 2/jan./2024 às 18:00 
same, any help
HRL 14/set./2023 às 18:33 
Hey, i don't know where to find any maps that can work with this. Any help?
Etch-A-Sketch Notebook 5/out./2022 às 10:32 
figure be like
chickenshrimpramen 10/jun./2022 às 23:05 
Hey the file on dropbox was deleted, is there any way I can get it? Thanks
⠉⠇⠕⠺⠝⠃⠕⠍⠃ 25/jun./2016 às 16:36 
I used the box vis on this map holy hell its cool looking
CocoaMoloko 21/nov./2015 às 20:04 
i kinda like this more than the flashlight. can you make this work for every map?
Lieutenant Kara Thrace 5/jun./2015 às 12:09 
What exaclty is this? some kind of SONAR?
AviatorSam 2/mai./2015 às 19:18 
@TheChickenDude wt_el_room2
The Bloke Slayer 4/mar./2015 às 4:04 
whats the name of the added map?
weaver 3/jun./2014 às 14:18 
Maybe make it a toggleable option in the options menu to set whether or not you are blind, if regular echo (echolocate every 'x' seconds) is on and what variable x is, and radius and strength options. I've been looking for something like this so thank you innovative man!