Lights Add-on for MTA:SA Map Editor
Download resource on GitHub >
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 by @Ren_712
dl_lightmanager by @Ren_712
Once you've installed the prerequisites, we can install this resource!
Download the latest release on GitHub
Put the resource inside your MTA San Andreas 1.5/server/mods/deathmatch/resources folder
Refresh resources by running refreshall in your server console
The add-on is ready for use!
How to use in map editor
Start the map editor resource (editor) or enter the Map Editor from the main menu
Click "definitions" from the top editor menu
Add "editor_addon_lights" to your definitions and press OK
"dl_lightmanager" resource should have been automatically started, if this is not the case, please start it manually
Hover on the buttons in the bottom-left corner, and scroll your mouse wheel once
Click the "Light" button to place a new light into the game world
Double-click the light to change its properties
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.
Download resource on GitHub >