Garry's Mod

Garry's Mod

368 betyg
DREAMS module (v1.1)
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Tool
Addon Tags: Cartoon, Scenic
Filstorlek
Lades upp
Uppdaterades
5.691 MB
19 feb @ 19:31
15 jun @ 16:19
12 ändringsnotiser ( visa )

Abonnera för att ladda ner
DREAMS module (v1.1)

I 1 samling av noskill
DREAMS
3 artiklar
Beskrivning
This is a module! This will not do anything for your game in particular!

To fly around the example for funsies, put this in your console, and kill yourself to exit
lua_run player.GetAll()[1]:SetDream("example")
In short, this adds a custom player handler module that allows for clientside custom collisions. Dreams are built out of BSP-like solids (Think Hammer and VMFs)

Better documentation is coming soon on the Github Wiki
However, If you are a developer and looking to create mods using this module, you should really look over the code of it yourself to get a grasp on how it works. Its meant to be as customizable as possible while keeping a common interface for mods, sort of like the built in drive module but more complicated.

Github:
https://github.com/alexswad/dreams/tree/main/lua

Wiki (things on the wiki are most likely safe from changing during updates)
https://alexswad.github.io/dreams-wiki/

Example Room with available hooks:
https://github.com/alexswad/dreams/blob/main/lua/includes/dreams/example.lua

SCP 106 PD as an example
https://github.com/alexswad/gm-scp106-pd

please don't reupload or include this in your mod, add it as a required item instead
if you also make a mod let me know and I'll add it to the collection
Populära diskussioner Visa alla (1)
3
9 maj @ 14:02
An idea for how this could be used.
Fox.Xd.
80 kommentarer
noskill  [skapare] 28 aug @ 15:57 
Gonna push a fix, also I'm going to start working on the wiki again since people are trying to use this now
Chupacabr 27 aug @ 16:31 
This can be caused if there are brushes on the map that are not rotated at a right angle.
Chupacabr 27 aug @ 16:27 
I'm trying to convert my map
[dreams-main] addons/dreams-main/lua/dreams/lib/lib.lua:393: attempt to call global 'highest_mag' (a nil value)
1. calc_norm - addons/dreams-main/lua/dreams/lib/lib.lua:393
2. RotationMatrixFromNormals - addons/dreams-main/lua/dreams/lib/lib.lua:408
3. SolidToPhys - addons/dreams-main/lua/dreams/lib/vmf_convert.lua:342
4. ConvertFile - addons/dreams-main/lua/dreams/lib/vmf_convert.lua:448
5. unknown - addons/dreams-main/lua/dreams/lib/vmf_convert.lua:601
6. unknown - lua/includes/modules/concommand.lua:54
Zombiekill 17 aug @ 14:07 
Hey is it possible to render also the materials from the dat file when loading it into a dream because i have converted a map into dat but when i enter the dream with the given dat it only shows the debug or the blackness of hell when debug is disabled so is still in development this idea or is it an glitch from my side?
Hmmtric 4 aug @ 13:11 
Example: The SCP-096 nextbot throws you around in the "Dreams".
Hmmtric 4 aug @ 13:03 
I have noticed that npc's can push you around in "Dreams".
Hmmtric 3 aug @ 8:30 
This is a great mod, wish they were more of it:steamthumbsup:
Albino 2 aug @ 9:47 
Im excited for the backrooms
47_CORRUPT 3 jul @ 16:36 
Oh, my bad, thank you for the reply
noskill  [skapare] 3 jul @ 15:57 
arccw and arc9 are incompatible, nothing I can do on my end afaik