SA-MP Forums

Go Back   SA-MP Forums > SA-MP DL Edition > SA-MP 0.3.DL

 
 
Thread Tools Display Modes
Old 03/11/2019, 06:51 PM   #1
Cr0heart
Little Clucker
 
Cr0heart's Avatar
 
Join Date: Oct 2019
Location: Croatia, Zagreb Money: 999,999,999$
Posts: 28
Reputation: 29
Default [SA:MP] How to create custom lights

How to create custom lights in SA:MP?

First of all, get modding tools. You can find a lot of informations here and here. This tutorial is for 3ds Max. Really important is to install Kam's scripts (attached here).


Make an object that will display light. It can be something new, or you can export an original lamp post. If you have exported original lamp post, make sure you delete it's light before you add it's custom. In my case, I exported original lamp post so I will be deleting existing lights.



Select this to open object selection window.



Hold CTRL while clicking to select both.



Click OK and press DEL to delete it. Okay now you deleted existing lights. You don't need to do this if your object is made from scratch.


Creating omni light.

Select omni light here. Now click somewhere in the scene to create it.





Once you have created it, position it where you want it to be.






Connecting the light with lamp post.




When this expand, focus thing pops up, close it >




Drag the Omni1 below your object so it looks like this:



Now choose this option >

Click and drag a line. Start of the line must be from the Omni1!




Light color.

Now go to GTA tools and open 2dfx settings. Click "Get" and then edit the color as you like. Once you have done it, click "Set to selected Lights".




Light settings.

You can choose the behaviour of the light. In my case I will select "m Lamp Post" to make light static. You could use different options, flashing etc. Flashing is enabled under "Show mode" - "L_ANIM_SPD".



Click "Set to selected lights".


Exporting.

Do the usual process, export dff, import in kdff, make col, save new dff file. Base object ID doesn't matter in artconfig.


In-game preview:

Cr0heart is offline  
Old 03/11/2019, 07:56 PM   #2
REYO
Big Clucker
 
REYO's Avatar
 
Join Date: Jun 2014
Location: Somewhere
Posts: 148
Reputation: 231
Default Re: [SA:MP] How to create custom lights

This is sick, really useful!
REYO is offline  
Old 03/11/2019, 08:42 PM   #3
Proxus
Huge Clucker
 
Proxus's Avatar
 
Join Date: May 2018
Location: United Kingdom
Posts: 364
Reputation: 17
Default Re: [SA:MP] How to create custom lights

Yet another amazing tutorial!
Thank you.
__________________
Developer @ Trucknation
Administrator & Developer @ Lost Legacy
"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity"


IMPORTANT LINKS
Proxus is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create these lights? Sinner Scripting Help 6 11/11/2012 03:14 PM
How to make custom lights pattern on ELM v 9.1? Zach7 Everything and Nothing 0 28/07/2012 01:56 AM
[Map] [Help] How can I create a custom interior? InsaniManES Maps 7 24/03/2011 08:50 AM
Custom Po Po lights problem austin070 Help Archive 4 17/03/2011 06:14 AM


All times are GMT. The time now is 07:47 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.