Garry's Mod

Garry's Mod

358 个评价
Gravity Hull Designator
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具, 特效
插件标签: 建筑, 快乐
文件大小
发表于
更新日期
163.507 KB
2014 年 3 月 18 日 上午 10:41
2014 年 3 月 20 日 下午 12:22
2 项改动说明 ( 查看 )

订阅以下载
Gravity Hull Designator

描述
I DID NOT MAKE THIS AND I TAKE NO CREDITS

Author: SuperLlama

Everything should work fine, a few things are fixed by me.
If you found a error please send the actual error and how you made it happen, not "It only gives errors".

Info from the author:

What defines the hull?
The interior of the hull is defined as the set of locations where there is a floor under you, and if the point's elevation from the floor exceeds the vertical protrusion factor, it also requires at least one non-floor (a wall or ceiling).

What this ISN'T:
• NOT a module, the mod is made entirely with lua and has no dependencies.
• NOT a reimplementation of source physics, it's a complex illusion that involves a room in the middle of nowhere.
• NOT a wall walking mod, though it can be used on something and then rotated 90 degrees so that down is now the wall.
• NOT a spherical planet mod. "Down" inside the ship is defined as the orientation gravity was pulling when the tool was first used. Spawn a dumpster, shoot it, flip it upside-down, and you're on the ceiling.
• NOT a way to stick to things. Again, down is only one direction internally and you cannot walk around the inside of a ring unless you make it out of multiple hulls, each with their own down. This might be made easier in the future.
• NOT a map entity. I might make a map entity later on that allows the effect to be present, but for now it's just something you build with.
• NOT a collision engine. This mod uses nothing more than source's built-in havok implementation, but it sure fools it a lot. Many shortcomings of havok are avoided by making it think something different is happening.

What this mod IS:
• a localized physics environment for any contraption, essentially behaving as if each hull was its own map.
• a tool that anyone can use on any set of welded props that has a clear interior and exterior.
• the first and only complete spazz protection for ships. Since the ghost doesn't move, entities inside cannot be thrown through the wall.
NOTE: In the future there will be a slider to control how much entities are thrown around by motion, but it will be applied in a backwards manner (negative velocity to the props, not positive velocity to the ghost) to avoid wallclipping, so even a 0% dampener will still stop spazz deaths even though it will throw things around just as much as before.
• a separate area with its own sense of "down." Gravity's internal direction is defined when you first designate your hull, and does not change relative to the ship's rotation.
• a stabilizer for pretty much any vehicle you can think of. Boats are especially interesting with the tool applied, because you actually rock back and forth in the water.
• linked with the outside world as seamlessly as possible-- the physgun behaves properly for the most part, and you can toolgun entities on the outside while you're inside a hull, as well as press buttons/get in chairs.
• an override of many built-in functions such as GetPos, so there is a chance that your favorite mod might work with it already without any changes.
• a very convincing illusion. You're not actually in your ship, but it sure looks like you are. For this reason a lot of things (manhack lights for example) might render in the wrong place. But hey, a video game is just an illusion too, so who cares.
• a simple change brought on by extremely non-simple code, that can revolutionize almost everything else that's already possible with the simple addition of walking in a moving object and gravity being affected by rotation.

FAQ
Q: My contraption isn't working, it says it was designated but it isn't!
A: Does it have walls or a ceiling? If not, you need to increase the Vertical Protrusion Factor.

Q: Does this work with spheres?
A: Not in the way you're asking.

Q: Does this work with <<SUBJECT ADDON HERE>>
A: Maybe; depends on what the addon does. There may or may not be conflicts and there's a decent chance it won't work inside the hull, but lots of mods do. It's a matter of overriding the right things and I plan to fix as many of these as I can.

Q: I just want to fly a spaceship, I don't want people running around climbing walls like spiderman.
A: They can't. The only way you can walk on a wall is by making a "ship" and rotating it so that its floor is on the wall (or designating the wall with hit surface defines floor checked)-- it's not just a "climb wherever you want" deal.
热门讨论 查看全部(7)
9
2015 年 7 月 17 日 下午 3:18
Viewmodels Disappearing
zamboni
1
2019 年 3 月 1 日 上午 8:26
Conflict with ALL weapon addons
flango
1
2015 年 8 月 9 日 下午 3:09
Physics breaking bug?
Pipedream
133 条留言
fishistix 21 小时以前 
Kibo are you telling me the original creator passed? That fucking sucks, I loved their mod. I remember watching the videos they made and being so excited to play with it. <33
kXtXklysm 2024 年 2 月 17 日 上午 6:03 
Is it just me or do the c_hands not appear when on a specified hull factor?
Shadow 2023 年 3 月 5 日 上午 9:26 
love messing around with this. putting gravity on LFS etc. i just wish that it worked with pac. that didnt hide someones pac when they enter/walk on the effected prop/vehicles.
Kibōchen 2022 年 11 月 2 日 下午 9:28 
May the original creator rest in peace <3
Baconexx28 2022 年 1 月 21 日 上午 4:15 
NPC??
Aperture Science Prototype XR7 2021 年 11 月 17 日 上午 10:21 
10/10, now I know which way is up while hurling through the stratosphere in an improvised rocket.
JiLou 2021 年 6 月 10 日 上午 5:49 
whats the different between this and that other official one?
Muchtoodog 2021 年 1 月 6 日 下午 2:15 
if you dont know what im talking about try wac with the original addon because it has this wierd glitch
Muchtoodog 2021 年 1 月 6 日 下午 2:11 
in this version did you fix the wac thing
AwesomeBlox 2020 年 11 月 8 日 上午 8:18 
make it so i can be spiderman