https://github.com/patrikjuvonen/editor_addon_lights
(Beta) You want to add lights inside the MTA:SA Map Editor? You've come to the right place. This resource is still a beta release and under construction. Use at your own peril.
https://github.com/patrikjuvonen/editor_addon_lights
lua mtasa mtasa-edf mtasa-lua mtasa-resource multi-theft-auto scripting
Last synced: 2 months ago
JSON representation
(Beta) You want to add lights inside the MTA:SA Map Editor? You've come to the right place. This resource is still a beta release and under construction. Use at your own peril.
- Host: GitHub
- URL: https://github.com/patrikjuvonen/editor_addon_lights
- Owner: patrikjuvonen
- License: mit
- Archived: true
- Created: 2021-08-15T22:19:24.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-22T12:17:05.000Z (over 3 years ago)
- Last Synced: 2025-03-11T03:42:59.183Z (2 months ago)
- Topics: lua, mtasa, mtasa-edf, mtasa-lua, mtasa-resource, multi-theft-auto, scripting
- Language: Lua
- Homepage: https://community.multitheftauto.com/index.php?p=resources&s=details&id=18531
- Size: 263 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- awesome-mta-sa - editor_addon_lights - Add Ren712 lights using a default map editor. (Libs and utils)
README
# Lights Add-on for MTA:SA Map Editor
This resource is still a beta release and under construction. Use at your own peril.
You want to add lights inside the MTA:SA Map Editor? You've come to the right place.

## Installation
You must download and install the following resources to use this resource:
* [dl_core](https://community.multitheftauto.com/index.php?p=resources&s=details&id=18510) by Ren712
* [dl_lightmanager](https://community.multitheftauto.com/index.php?p=resources&s=details&id=18512) by Ren712Once you've installed the prerequisities, we can install this resource!
1. Download the latest release
2. Put the resource inside your `MTA San Andreas 1.5/server/mods/deathmatch/resources` folder
3. Refresh resources by running `refreshall` in your server console
4. The add-on is ready for use!## How to use in map editor
1. Start the map editor resource (`editor`) or enter the Map Editor from the main menu
2. Click "definitions" from the top editor menu
3. Add "editor_addon_lights" to your definitions and press OK
4. `dl_lightmanager` resource should have been automatically started, if this is not the case, please start it manually
5. Hover on the buttons in the bottom-left corner, and scroll your mouse wheel once
6. Click the "Light" button to place a new light into the game world
7. Double-click the light to change its properties
8. Once you've finished with your map, save the map in a resource## How to use with a saved map
Start your map resource **together** with this `editor_addon_lights` resource, and you should be able to see the lights placed in the game world using your defined settings!
## License
MIT License
Copyright (c) 2021 patrikjuvonen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.