Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Mar 19, 2024 4:38 am
All times are UTC + 0
Proper use of lightposts in maps (**)
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Thu Dec 13, 2012 8:46 am    Post subject:  Proper use of lightposts in maps (**) Reply with quote  Mark this post and the followings unread

TitanMarkII wrote:

Author: Me!

This tutorial is rated 2 (**) stars, not because it isn't easy, but because it requires some time to get used to and not everybody thinks it's that easy.

Lightposts, this is just something I'd like to bring to public attention: lighting. Lots of maps these days feature custom lighting, which is great. In the old days, most mappers made online maps without lighting or amateur maps and the maker tried to use the lighting... But it didn't work out that well... The only problem is that few people actually know what to do with it, even now. TS maps can be disco fever à la 2007, or they can have a nice atmosphere to them, loyal to the FMV's. this is why I always advise people to edit lightposts in maps. Well, many people already know this, yes I'm posting the obvious, but that's the case with many other tutorials.

Lightposts have several attributes:

LightRedTint=  0.001 - 0.45 ; the amount of red lighting the lightpost should emit
LightBlueTint=  0.001 - 0.65 ; the amount of blue lighting the lightpost should emit
LightGreenTint= 0.001 - 0.55 ; the amount of green lighting the lightpost should emit
LightIntensity=  0.005 - 0.025 ; the brightness of the light
LightVisibility=  500 - 7500 ; the radius in which the light should be emitted

Explanation and general information about the tags:

- If both the red and blue tint tags read 0.001 or something low like that, and the green tint is something like 0.45, the lightpost emits green light. if Both blue and red read 0.10 and green reads 0.001, then the lightpost emits a faint purple light. Just to make this idiot-proof.

- I advise you to keep your values in the range I noted. Then again, these are guidelines and a little bit more may be required sometimes.

- Keep the visibility high, but the intensity low. This is to prevent separate cell colouring. This means that if you give it a very strong light effect, but only a small radius, the light looks blocky over the tiles and we don't want this.

Some separate tips:

- Always place at least some small (weak?) invisible lighting sources around tiberium spawners, but not fields without a blossom tree or blue tiberium spawning crystal close by (no matter how big they are). What if a player harvests it all? No more tiberium but loads of lighting. And no, that is not residual radiation, that's merely a false excuse.

- Tiberium mold (the green and blue goo) and algae (swampy stuff on water) are all persistant and will remain on the map forever. Adjust your lighting when placing them down. It counts as tiberium.

- Fona is destroyable, so if you have fona without persistant stuff (tiberium spawning tree or crystal or mold), then don't place down any lightposts.

- Around green tiberium mold ( goo/sludge ) place down an invisible lightpost, no colors, not even yellow, just 'au naturel'  Wink , it's green enough.

-Around blue tiberium mold, place down an invisible blue lightpost and an 'au naturel' one.

-During an ion storm, all colored lighting reverts to colorless lighting, this is what makes tiberium fields light up when the weather anomaly is raging. The overall ion storm ambient lighting settings determine the tint of the lighting on the entire map, so be sure to treat that normally as well.

- Negative light posts should never be placed in tiberium rich areas, because tiberium always emits a slight bit of light. The light can only become more intense, it will not lessen.

- Keep everything normal. In cities there will never be giant colored lightposts, this is not Las vegas x 1000.

- This is TS, look at the FMV's for clues about nice atmospheres, or invent your own. Just keep this in mind: nothing should be extreme, too much of something good is always baaaaad.

- Always edit lightposts, the vanilla settings for the lighting are ridiculous and just like we're back in the 80's. The only lightpost that is slightly okay is the normal invisible and visible light post (colorless lighting)

- Never ever look at Westwood's standard maps for lighting advice, most of WW's maps were made with a RMG (random map generator) of which we can still find a downgraded version in TS nowadays. Their maps were also horrible when it came to atmosphere.

- Water itself doesn't emit light, it merely reflects some of it, so you can place down colored lightposts that slightly edit the atmosphere around it, but never make it emit light (unless there are some algae colonies). I'd also avoid yellow lighting over water. Blue is okay, though and actually advised. However, if the general color of your map's ambient lighting (in non-ionstorm mode) is nothing like blue, or forms an uneasy and unwanted contrast when you have blue lighting on your map, don't place down anything on the water. Negative lightposts are okay on water, just know that water does not absorb all lighting.


Hope this helped the new mappers a bit.  Smile


This tutorial is sponsored by tibweb.


Key Words: #Tutorials #Modding #Mapping #TiberianSun #Firestorm #Rules.INI 

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Thu Dec 10, 2020 8:08 am    Post subject: Need Help In Editing Light Post Reply with quote  Mark this post and the followings unread

This tutorial is great at explaining how the principles of the lighting works.
However,  it doesn't explain HOW to start editing the lights I placed on the map:cry:

I opened the map in notepad and did a search forLightRedTint but nothing was found and there is nothing in FA to edit the individual light posts as this is only found in the rules.

So how do I go about editing the light posts ?

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Thu Dec 10, 2020 8:42 am    Post subject: Reply with quote  Mark this post and the followings unread

-place a light post
-see/remember the [ID] of the building
-open the map in a text editor
-create the section e.g.
[INVRED]
add here the lighting keys and edit them
-save the map

voila your map has a custom set lightpost
repeat for all the different lightpost types you used

open rules.ini parallel to your map and check out the defaults for the various lightposts (to find via the building [ID])

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Thu Dec 10, 2020 3:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Lin it worked.
I bought down the brightness of 2 of the lamps but I ran into a problem.

I decided to make a new lamp to light up 3 objects in the game but with different intensities.

So I made a new lamp and inserted the code in the map.

I used the invisible blue light post code but when I open FA and pick my new lamp, it's using the image of the allied power plant and when I start the game, not only does the lamp not work, but also the power plant is there instead of the invisible one.

Yet the code is pointing the game to use the GALITE image, which is different from the allied powerplant.

Code:
;CUSTOM LIGHT POSTS

[BuildingTypes]
408=INCUSTOMBLUELAMP

; Invisible Custom Blue Lamp
[INCUSTOMBLUELAMP]
Name=Invisible Custom Blue Lamp
Selectable=no
InvisibleInGame=yes
Insignificant=yes
Image=GALITE
Strength=6000
Armor=wood
TechLevel=-1
Nominal=yes
Sight=0
Points=30
Power=0
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
LightVisibility=1000
LightIntensity=0.01
LightRedTint=0.01
LightGreenTint=0,01
LightBlueTint=0.7
DamageParticleSystems=SparkSys,LGSparkSys
Powered=true

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Fri Dec 11, 2020 1:18 am    Post subject: Reply with quote  Mark this post and the followings unread

You should be able to do that in FinalSun, but FA2 has problems with buildings. Easy way is to remove the building from the map and put it in rulesmd.ini. Then finish the map with that lamp and then remove it from rules and put it back in the map.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1579s ][ Queries: 11 (0.0079s) ][ Debug on ]