Garry's Mod

Garry's Mod

[TTT] Orbital Custom Beam
14 Comments
CynCeyd  [author] 10 Jul, 2019 @ 12:14am 
Möglich sicher irgendwie, aber was willst du damit erreichen? Man müsste theoretisch den Quellcode dahingehend anpassen, dass er die Kopien als zusätzliche Instanzen erkennt. Das Plugin in seinem aktuellen Zustand zu kopieren würde nichts bringen, da im Quellcode immer auf den Custom Beam verwiesen wird. Man kann (vermutlich, ohne das jetzt näher geprüft zu haben) versuchen, den Namen des Custom Beams in allen Kopien anzupassen. Das setzt aber voraus, dass sowohl der Server als auch alle Clients die Kopien besitzen.

Am einfachsten wäre vermutlich ein Update dieses Plugins. Beschreibe mir gerne mehr von deiner Idee, dann kann ich sie vielleicht umsetzen.
☽ ・ Anniways ・🌓➳ 9 Jul, 2019 @ 11:10am 
Jetzt muss ich ganz blöd Fragen:
Wäre es irgendwie möglich das Addon zu duplizieren? Also dass du Ingame nicht nur einen Custom Friendship Beam hast, sondern mehrere? Wenn ja, wie genau stell ich das an?

Short Question:
Would it be possible somehow to add more than one custom Friendship Beam to a game?
And if it's possible how could I do this?
CynCeyd  [author] 22 Jun, 2019 @ 10:11am 
Durchaus möglich. Ich habe immer die Sounddateien immer über FastDL zugänglich gemacht, da wir auch schon bei einer normalen Verbindung (also nicht peer-to-peer) immer Probleme hatten. Die Dateien wurden dann auch nie (vollständig) heruntergeladen. Über FastDL hat es aber bisher immer funktioniert.
robthew 22 Jun, 2019 @ 6:59am 
Ich habe eine Wav Datei verwendet. Diese wird auch beim connecten von meinen Mitspielern gedownloadet. Allerdings hören ich und meine Freunde den Soundeffekt nicht. Die Sound Datei an sich funktioniert. Liegt es vielleicht daran, dass wir über eine Peer to Peer Verbindung spielen und nicht über nen normalen Server?
CynCeyd  [author] 14 Jul, 2017 @ 8:59am 
Well, I have to admit that I have not implemented exception handling, resulting in such cryptic messages. To play a sound file, the plugin scans the ocb folder located in "garrysmod/sound/ocb" for any sound files. The file names are concatenated with a shortened version of the ocb sound folder. The error message means that the second part (the file name of the sound file) is nil (nothing). So basically there was no sound file found. Does this occur as a client on a dedicated server? If yes, it is possible, that you (as the client) are simply missing the sound files. Unfortunately the integrated download mechanism is pretty buggy, so if that is acutally the problem, I would recommend using FastDL. I use that on my server and it works like a charm.
F1rekin 14 Jul, 2017 @ 6:47am 
Hey guys, I'm currently running into an issue with this addon - i've installed it and created a folder for the sound so the path looks like this
...\Steam CMD\steamapps\common\GarrysModDS\garrysmod\sound\ocb\new.wav
so when i use the Orbital Beam ingame an error in the console pops up that reads the following:
[Orbital Custom Beam] gamemodes/terrortown/entities/weapons/weapon_ttt_ocb/shared.lua:6: attempt to concatenate local 'snd' (a nil value)
1. GetSound - gamemodes/terrortown/entities/weapons/weapon_ttt_ocb/shared.lua:6
2. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_ocb/shared.lua:230
and no sound is played.
Any help is appreciated :)
CodyProductions 28 Jun, 2017 @ 10:07am 
Could you make one for sandbox?
Mr.Timbaba 29 May, 2017 @ 11:55am 
Ok Danke :)
CynCeyd  [author] 28 May, 2017 @ 1:01pm 
Theoretisch kann das vermutlich angepasst werden - ich habe aber auch nur den Friendship Beam geforkt und entsprechend die Möglichkeit eingebunden eigene Dateien zu benutzen. So tief stecke ich leider nicht in dem Plugin, deswegen wird das von meiner Seite aus vermutlich eher schwer umzusetzen. Du kannst das sonst ja dem Pluginautor vom Friendship Beam als ConVar vorschlagen (also ein Config-Befehl) der das Ruckeln aktiviert bzw. deaktiviert. Dementsprechend könnte ich dann das Plugin auch für den Custom Beam anpassen.
Mr.Timbaba 28 May, 2017 @ 12:10pm 
If you place the beam in a place with (for example) tables and weapons, my server is lagging until the beam is gone. Can I fix this? I think it comes from wiggling and perhaps destroying everything? Perhaps it would be enough if the beam has only an animation and only harms the people nearby. PS: I like this and I have the same problem with the Friendship Orbitalbeam. - Sorry for my english ^^
ultragreenyellow56 18 Apr, 2017 @ 6:23pm 
will it work outside of TTT?
echo1000 9 Feb, 2017 @ 10:40am 
Hey I put the sound file in gmod13/garrysmod/sound/ocb. Its wav 44.1 khz and still doesnt work... pls help
Boernatore 9 Feb, 2017 @ 7:05am 
Fellow Traitors,
this mod is the best mod god (Cynceyd) ever created. It makes TTT great again. It's true. With this mod, you can have all the nice sounds, all the nice sounds you ever wanted to hear when you are killing people. You can create your best orbital beam. Completely by yourself. By liking and subscribing to this mod, you will be the winner. All players without this mod are losers.An of course, all other mods failed. Total desasters. Trust me, its hilarious, you gonna love it, absolutely love it, its true.
ZeroBeans 8 Feb, 2017 @ 3:26am 
Very Very NICE !!!!!!!!!!!!!:steamhappy: this mod is so delicious like a warm pie