CCCP84 Posted September 21 Posted September 21 (edited) Full Day-Night Cycle with the ability to add alternating day and night Sounds! The duration of day and night can be easily configured in the [Events] section. Day-Night Cycle v1.2 - 60min.ini Day-Night Cycle v1.2 - 45min.ini Day-Night Cycle v1.2 - 30min.ini Day-Night Cycle v1.2 - TEST.ini - Hier light changing happens every tick. For tests. It can be copy-pasted into any map. Simply copy the text from the file and paste it into any empty space in your map file. Also, delete the old Lighting section from your map. You don't need to do anything else. Everything will work. If radiation was applied during a lighting change, post-radiation artifacts will appear. When the day comes, these are erased by an invisible lamp. If your map has lamps, they won't work properly. They should be removed. You need to take into account that in a real game the time will be longer due to lags. 60, 45, 30 minutes it is time with ideal conditions without any lags. I did this back in 2022 on - O C E A N I A - Now I've isolated the triggers that were previously mixed in with others. As far as I know, from 2022 until now, Oceania was the only publicly available map with such a cycle implemented. Now, I think there will be more ) We could also consider including this cycle as an option in the CNСNET client. If you mention me inside your map file with this line, I will be pleased: ; Day-Night Cycle by CCCP84 v1.2. Made in 2022. Updated in 2025 - - - ADDING SOUNDS - - - In order to use alternating night and day sounds in a cycle, invisible lamps are used; each lamp has sounds attached to it; Some lamps have a daytime sound that switches to a night sound at night and back to day; other lamps have either just a day or just a night sound and turn off the sound during non-working time. Just place the desired lamp on the map. [INREDLMP] WorkingSound=_Amb_BirdsTemperate1 ; multitude of birds in the grove NotWorkingSound=_Amb_CricketChirps ; periodic sound of a cricket [INGRNLMP] WorkingSound=_Amb_BirdsTemperate2 ; the same loud chirping NotWorkingSound=_Amb_CricketChirps ; periodic sound of a cricket [INBLULMP] WorkingSound=_Amb_BirdsPark ; classic bird calls NotWorkingSound=_Amb_CricketChirps ; periodic sound of a cricket [INYELWLAMP] WorkingSound=_Amb_BirdsJungle1 ; suitable as ordinary bird voices NotWorkingSound=_Amb_CricketChirps ; periodic sound of a cricket [INPURPLAMP] WorkingSound=_Amb_BirdsJungle2 ; characteristic jungle bird cries NotWorkingSound=_Amb_CricketChirps ; periodic sound of a cricket [SNOMORLAMP] WorkingSound=_Amb_DesertHawk ; desert hawk cry NotWorkingSound=_Amb_CricketChirps ; periodic sound of a cricket [INORANLAMP] NotWorkingSound=_Amb_CricketBed ; monotonous chirping of locusts [TEMDUSLAMP] NotWorkingSound=_Amb_CricketDesert ; constant pleasant trill of crickets [TEMNITLAMP] NotWorkingSound=_Amb_BirdsNightOwl ; different owl cries [TEMMORLAMP] NotWorkingSound=_Amb_BirdsMorning ; cry of a night bird [TEMDAYLAMP] WorkingSound=_Amb_BirdsBeach ; various periodic cries of seagulls [SNODAYLAMP] WorkingSound=_Amb_BirdsHarbor ; constant noise of seagulls After this, each lamp needs to be assigned a corresponding tag. I created a script that will do this automatically. Unzip the exe file, place it in the same folder with MAP file and run it. Tags will be assigned to the lamps automatically. CCCP84's Day-Night Cycle 1.2 Assigning Tags to Sound-Lamps (Put MAP file in same Folder).zip Or you can run a python script if you install python before or you already have it installed: CCCP84's Day-Night Cycle 1.2 Assigning Tags to Sound-Lamps (Put MAP file in same Folder)py.zip Also, the MAP file and the Python script must be in the same folder. Just run the python file by double clicking. When installing Python be sure to check the boxes: ✅ Add Python to PATH ✅ Add Python to environment variables ✅ Associate files with Python Other sounds such as wind, waves, river, etc. can be added using regular waypoints and triggers, as they don't need to be turned off at night or during the day. If you notice any errors, that something is not working correctly, please report it in this thread. Edited 3 hours ago by CCCP84
CCCP84 Posted September 21 Author Posted September 21 (edited) I did this when there was a war outside my window, I lived practically on the front line near Kharkov and did this during the breaks when the electricity was restored after shells had crumbled the wires on the poles into noodles ) Edited 6 hours ago by CCCP84
CCCP84 Posted 6 hours ago Author Posted 6 hours ago (edited) I have improved the cycle in such a way that it is possible to add night and day sounds to it. This creates additional immersion in the atmosphere of the night. I have already implemented this Сycle with Night Sounds on - O C E A N I A - , - BLACK SEA - and - S T O R M - These versions will be released along with the next CNCNET update. Edited 3 hours ago by CCCP84
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now