Garry's Mod

Garry's Mod

64 个评价
[PHOENIX] LVS Parts
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 载具
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
22.900 KB
2023 年 4 月 3 日 下午 6:37
2023 年 5 月 15 日 下午 1:15
2 项改动说明 ( 查看 )

订阅以下载
[PHOENIX] LVS Parts

描述
A New, easy to use, and modular parts system compatible with LVS Planes

This unofficial expansion to LVS adds custom entities and functions using PHOENIX, a new work in progress LVS base.

The addon allows creators to use custom models for destructible parts on their planes, and uses a slightly modified Fighter Base for ease of use in making new planes.

Current features:
  • Destructible parts
  • Animated flap entities
  • Custom part entities
  • Damage based on collisions
  • Parts effect flight
  • Optional propeller

Planned features:
  • Gear Support
  • 3rd person camera ignores parts
  • Canards
  • Rudder-vators
  • Improved propeller animation


FAQ (read before commenting please)

Q: Why not spend more time working on the addon until all the planned features are done?
A: I'm going into surgery tomorrow as off this addon's initial creation, so I don't want to risk forgetting everything and not being able to get SOMETHING out

Q: Will Neuromicro get updated with this?
A: Yes, Neuromicro will be ported to LVS with this parts sytstem in the coming months (probably maybe less time)

Q: What projects are going to happen next?
A: After I update Neuromicro I hope to begin work on Neuromicro Naval in some capacity while I wait for LVS Tank or something

Q: Why is this so janky
A: Im still learning GLua... hopefully this addon doesn't hurt too much

Q: Can you make [something]
A: I'm not taking any suggestions currently (unless its feedback about this addon), and my commissions will be inactive while I'm recovering from surgery


*plane not included

How to use LVS Parts in your own planes

I first assume that your plane already as the parts models. The parts you need are
  1. Main Body
  2. Left Wing
  3. Left Aileron
  4. Right Wing
  5. Right Aileron
  6. Tail
  7. Elevator
  8. Rudder
  9. Propeller (OPTIONAL)

You'll also need a skeleton in the main body of the aircraft that will be used to animate the flaps, and be able to spawn them in the correct position. the names of the bones don't matter, the positions of them do as they control where the flaps are spawned. (The propeller is considered a flap aswell)

The wings and tail need to have their offset already in the model, like this[cdn.discordapp.com]

The flaps will be spawned using attachments, and need to not be offset unlike the wings. The attachments need to be in a specific order for them to work:

$attachment "laileron" "bonename" x y z rotate x y z $attachment "raileron" "bonename" x y z rotate x y z $attachment "rudder" "bonename" x y z rotate x y z $attachment "elevator" "bonename" x y z rotate x y z $attachment "propeller" "bonename" x y z rotate x y z
(propeller is optional)

They have to be the first attachments, otherwise the code will put a nil model where your part was meant to go.

Once the model has been compiled like this, the code should handle everything from here. You can get a modified version of Luna's fighter base here[github.com].

You only need to add the models for the parts into shared.lua, and everything else is handled by the code. The flight turn rates currently cannot be modified to anything other than 1, but I am going to work on fixing that when I'm recovered from surgery.
热门讨论 查看全部(1)
7
2023 年 4 月 7 日 上午 5:56
置顶: BUG REPORTS
jon bastard
18 条留言
Neko Damian 2023 年 5 月 12 日 上午 11:18 
Regarding land vehicles it appears LVS comes with Land vehicles in the Star Wars Pack might ask Luna about that.
jon bastard  [作者] 2023 年 4 月 22 日 上午 11:32 
@AdiVitto Gredwitch's planes are actually older than this, and it was directly inspired by it. I am currently working on a plane pack for it yes (i said it in the FAQ)
AdiVitto2k3 2023 年 4 月 22 日 上午 11:27 
Any planes that use it so far? cuz the only ones I know of are the old LFS gredwitch FW-190's and that's it.
Dr. Ford 2023 年 4 月 19 日 下午 7:20 
Yes.. I've been getting into developing and I haven't used anything like this before
jon bastard  [作者] 2023 年 4 月 19 日 上午 6:17 
@Pondering_Death it's not for normal players to use it's for developers to add to their planes
Dr. Ford 2023 年 4 月 18 日 下午 9:29 
This is really complex, I seriously don't understand how to use this at all
67 Mustard Blud 2023 年 4 月 12 日 上午 6:51 
thats cool. hope you get well sool
jon bastard  [作者] 2023 年 4 月 10 日 上午 6:26 
@Eric yeah i said in the FAQ im gonna update Neuromicro to LVS. I'm recovering from surgery at the moment so I can't be bothered to start
67 Mustard Blud 2023 年 4 月 10 日 上午 5:37 
you should make micro planes/helis for lvs like you did for lfs. i used to love the micro planes i and probably a lot more people would highly appreciate it.
jon bastard  [作者] 2023 年 4 月 8 日 上午 9:50 
@AdiVitto2k3 not yet