Garry's Mod

Garry's Mod

396 个评价
DREAMS module (v1.1)
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 卡通, 风景
文件大小
发表于
更新日期
5.693 MB
2 月 19 日 下午 7:31
9 月 1 日 下午 6:39
13 项改动说明 ( 查看 )

订阅以下载
DREAMS module (v1.1)

在 noskill 的 1 个合集中
DREAMS
3 件物品
描述
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
热门讨论 查看全部(1)
4
9 月 28 日 上午 12:17
An idea for how this could be used.
Fox.Xd.
80 条留言
noskill  [作者] 8 月 28 日 下午 3: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 8 月 27 日 下午 4:31 
This can be caused if there are brushes on the map that are not rotated at a right angle.
Chupacabr 8 月 27 日 下午 4: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 8 月 17 日 下午 2: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 8 月 4 日 下午 1:11 
Example: The SCP-096 nextbot throws you around in the "Dreams".
Hmmtric 8 月 4 日 下午 1:03 
I have noticed that npc's can push you around in "Dreams".
Hmmtric 8 月 3 日 上午 8:30 
This is a great mod, wish they were more of it:steamthumbsup:
Albino 8 月 2 日 上午 9:47 
Im excited for the backrooms
47_CORRUPT 7 月 3 日 下午 4:36 
Oh, my bad, thank you for the reply
noskill  [作者] 7 月 3 日 下午 3:57 
arccw and arc9 are incompatible, nothing I can do on my end afaik