New features to Map Editor

未关闭
#388 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
lua
领域
game-dev

调研方向

The request covers several Map Editor additions: vehicle lights, object properties and scaling, game brightness, coronas, effects, and sun and moon size. Start by locating the Map Editor resource and its existing editing panels and feature implementations; compare each requested capability with what the editor already supports. Done means defining and implementing the requested features across the editor, with behavior that can be edited in game.

由索引模型根据 Issue 内容生成。

描述

enhancement resource:editor

I suggest you add a few features in the map editor that we will be able to edit in the game without creating Lua files. We will be able to use the features using F3 or double click after clicking an element (vehicles, objects, peds, etc.) in the panel.

setVehicleOverrideLights: It will allow us to set vehicle lights to turn on or off (I am not talking about the vehicle sirens)

setObjectProperty: This feature will let us change the property of the specified object. So we will be able to change an object's property using editor F3 Panel.
"mass" - float
"turn_mass" - float
"air_resistance" - float
"elasticity" - float
"center_of_mass" - Vector3D - (x, y, z)
"buoyancy" - float

Advanced Re-scale the object: Editor already has a rescale feature but it will be more advanced so will be able to scale the object from x, y, z, separated. We will be able to create tiny, large or long objects

setGameBrightness: I think we will be able to create more atmospheric, creepy, and mystery scenes using this feature. And It will be so good if it can be smooth instead linear Brightness changing

AdvancedCoronas: I know we can edit coronas and even their colors but this feature will be different; Finally we will be able to create blinking lights! because the current coronas are boring

createEffect: We will be able to create effects like:

"blood_heli", "boat_prop", "camflash", "carwashspray", "cement", "cloudfast", "coke_puff", "coke_trail", "cigarette_smoke",
"explosion_barrel", "explosion_crate", "explosion_door", "exhale", "explosion_fuel_car", "explosion_large", "explosion_medium",

setMoonSize: This feature sets the moon size.

setSunSize: This feature sets the sun size.

Note: these features may already suggested by someone I don't know but I'll be so glad if it's possible to add these features to map editor. :)

I've tested the current features in the Map Editor
MTA Version: 1.5.9-9.21241.0)

主要语言
Lua
星标
185
派生
180
平均合并
5 天 13 小时
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

multitheftauto/mtasa-resources 的其他 Issue

查看 multitheftauto/mtasa-resources 的全部 Issue

相似的 Issue

更多 Lua Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。