Garry's Mod

Garry's Mod

368 vurderinger
DREAMS module (v1.1)
2
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: Tool
Addon Tags: Cartoon, Scenic
Filstørrelse:
Offentliggjort:
Opdateret:
5.691 MB
19. feb. kl. 19:31
15. juni kl. 16:19
12 ændringsbemærkninger ( vis )

Abonner for at downloade
DREAMS module (v1.1)

I 1 samling af noskill
DREAMS
3 genstande
Beskrivelse
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ære diskussioner Vis alle (1)
3
9. maj kl. 14:02
An idea for how this could be used.
Fox.Xd.
80 kommentarer
noskill  [ophavsmand] 28. aug. kl. 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. kl. 16:31 
This can be caused if there are brushes on the map that are not rotated at a right angle.
Chupacabr 27. aug. kl. 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. kl. 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. kl. 13:11 
Example: The SCP-096 nextbot throws you around in the "Dreams".
Hmmtric 4. aug. kl. 13:03 
I have noticed that npc's can push you around in "Dreams".
Hmmtric 3. aug. kl. 8:30 
This is a great mod, wish they were more of it:steamthumbsup:
Albino 2. aug. kl. 9:47 
Im excited for the backrooms
47_CORRUPT 3. juli kl. 16:36 
Oh, my bad, thank you for the reply
noskill  [ophavsmand] 3. juli kl. 15:57 
arccw and arc9 are incompatible, nothing I can do on my end afaik