Garry's Mod

Garry's Mod

724 个评价
gm_spacetrain v1
5
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 地图
插件标签: 快乐, 风景
文件大小
发表于
更新日期
34.216 MB
2024 年 6 月 27 日 上午 4:51
2024 年 8 月 23 日 下午 2:19
12 项改动说明 ( 查看 )

订阅以下载
gm_spacetrain v1

描述
Introduction
Have you ever wanted to ride a train through space well now you can thanks to the space train. The space train is a one-of-a-kind train with huge protected storage areas, a kitchen, a bar, plenty of sleeping quarters, outside loading bays, and a small garden with invisible oxygen fields around them and there's a gravity field around the whole train.

A list of all the train cars
  • storage area x2
  • kitchen x2 and securtity and small lounge
  • passenger quarters x2 over two floors
  • garden and garden staircase based passage
  • bar and kitchen
  • security, engines and stearing

AI nodes
get this addon made by KBarni1019 for AI nodes: https://steamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3277166580
also thanks for saving me the work KBarni1019

Notes
  • YOU ONLY NEED CSS THAT IS COUTER STIKE SOURCE not csgo or cs2
  • The train and train windows are a lot bigger than they first appear.
  • Opening the storage areas mid-transpot is not a good idea as it will cause a momentary vacume which will take some time for the oxygen field to work around.
  • Falling off the train is not a good idea.
  • Touching lasers that are there for your safety is not a good idea.
  • space skybox from here: https://gamebanana.com/mods/7195
231 条留言
StrawWagen 11 月 5 日 下午 8:10 
bruh
ilikecreepers  [作者] 11 月 5 日 下午 4:25 
@StrawWagen the gravity related stuff is used by other maps tho so putting a restriction in it is most likely bad
StrawWagen 11 月 5 日 下午 1:56 
Ok sure but your map's lua should not run on other maps haha
♥♥♥♥ happens and it's best practice for custom maps that add lua, to never work off of that map.

All u need to do is put
if game.GetMap() ~= "gm_spacetrain" then return end
at the top of ur autorun file lol
ilikecreepers  [作者] 11 月 5 日 下午 12:49 
StrawWagen the cause of your issues is ents.GetAll() is returning non entity data which GetClass is then trying to get the class of. This is most likely due to some addon overriding the ents.GetAll function on startup so I suggest u find which addon is doing that and then stop using it
StrawWagen 11 月 4 日 下午 8:54 
That entire autorun folder needs an
"if game.GetMap() ~= "gm_spacetrain" then return end"
at the top of it, honestly.
You've got some seriously laggy logic running in there.
StrawWagen 11 月 4 日 下午 8:47 
Map's lua completely broke for me, leaving all the players on my server as "sempers"

[gm_spacetrain v1] lua/autorun/mapgrav.lua:16: attempt to call method 'GetClass' (a nil value)
1. fn - lua/autorun/mapgrav.lua:16
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109

[gm_spacetrain v1] lua/autorun/mapgrav.lua:16: attempt to index local 'v' (a number value)
1. fn - lua/autorun/mapgrav.lua:16
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109

This was on a completely different map too
ilikecreepers  [作者] 8 月 14 日 下午 2:03 
in the png format :)
ilikecreepers  [作者] 8 月 14 日 下午 2:02 
a photo