Garry's Mod

Garry's Mod

368 hodnocení
DREAMS module (v1.1)
2
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: Tool
Addon Tags: Cartoon, Scenic
Velikost souboru
Přidáno
Aktualizováno
5.691 MB
19. úno. v 19.31
15. čvn. v 16.19
Poznámky ke změnám (12) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
DREAMS module (v1.1)

V 1 kolekci od uživatele noskill
DREAMS
3 položek
Popis
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ární diskuze Zobrazit vše (1)
3
9. kvě. v 14.02
An idea for how this could be used.
Fox.Xd.
Počet komentářů: 80
noskill  [autor] 28. srp. v 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. srp. v 16.31 
This can be caused if there are brushes on the map that are not rotated at a right angle.
Chupacabr 27. srp. v 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. srp. v 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. srp. v 13.11 
Example: The SCP-096 nextbot throws you around in the "Dreams".
Hmmtric 4. srp. v 13.03 
I have noticed that npc's can push you around in "Dreams".
Hmmtric 3. srp. v 8.30 
This is a great mod, wish they were more of it:steamthumbsup:
Albino 2. srp. v 9.47 
Im excited for the backrooms
47_CORRUPT 3. čvc. v 16.36 
Oh, my bad, thank you for the reply
noskill  [autor] 3. čvc. v 15.57 
arccw and arc9 are incompatible, nothing I can do on my end afaik