CCCP84 Posted September 21 Posted September 21 (edited) Full Day-Night Cycle with the ability to add alternating day and night Sounds! !Now the cycle can be integrated into the map with one click. Just unzip the file into the same folder where the map is located and run it. The cycle is integrated! ( How to add night sounds, read below ) !!!!! -> -> -> CCCP84's Day-Night Cycle 1.2. Integrate full Cycle into the Map (Put MAP file in same Folder).exe.zip <- <- <- !!!!! Or you can use Python Script if you have Python installed: -> -> -> CCCP84's Day-Night Cycle 1.2. Integrate full Cycle into the Map (Put MAP file in same Folder).py.zip <- <- <- ( If there are lamps on your map, you need to remove them first ) ________________________________________________________________________________________________________________________________________________________ You can also add this to the map file yourself: 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. The duration of day and night can be easily configured in the [Events] section. 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. The assignment of sounds to lamps has already been done inside the Cycle: [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. If you accidentally placed a regular lamp instead of an invisible one, it is convenient to simply replace all the names of regular lamps in the map file with the corresponding invisible one in [Structures] section. ( edit replace replace all REDLAMP -> INREDLMP ) You can also temporarily use country flags as lamp images; flags are visible during the game and in the Final Alert 2, which is convenient for distinguishing between different sounds. Also you will not mix up the invisible lamp with a regular one when placing it; then do not forget to delete the "Image=" lines: [INREDLMP] Image=CAUSFGL WorkingSound=_Amb_BirdsTemperate1 ; multitude of birds in the grove NotWorkingSound=_Amb_CricketChirps ; periodic sound of a cricket [INGRNLMP] Image=CARUFGL WorkingSound=_Amb_BirdsTemperate2 ; the same loud chirping NotWorkingSound=_Amb_CricketChirps ; periodic sound of a cricket [INBLULMP] Image=CAFRFGL WorkingSound=_Amb_BirdsPark ; classic bird calls NotWorkingSound=_Amb_CricketChirps ; periodic sound of a cricket [INYELWLAMP] Image=CAIRFGL WorkingSound=_Amb_BirdsJungle1 ; suitable as ordinary bird voices NotWorkingSound=_Amb_CricketChirps ; periodic sound of a cricket [INPURPLAMP] Image=CAUKFGL WorkingSound=_Amb_BirdsJungle2 ; characteristic jungle bird cries NotWorkingSound=_Amb_CricketChirps ; periodic sound of a cricket [SNOMORLAMP] Image=CAPOFGL WorkingSound=_Amb_DesertHawk ; desert hawk cry NotWorkingSound=_Amb_CricketChirps ; periodic sound of a cricket [TEMDUSLAMP] Image=CASKFGL NotWorkingSound=_Amb_CricketDesert ; constant pleasant trill of crickets [INORANLAMP] Image=CACUFGL NotWorkingSound=_Amb_CricketBed ; monotonous chirping of locusts [TEMNITLAMP] Image=CALBFGL NotWorkingSound=_Amb_BirdsNightOwl ; different owl cries [TEMMORLAMP] Image=CAGEFGL 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 Edited 37 minutes 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 Thursday at 09:52 PM by CCCP84
CCCP84 Posted Thursday at 09:16 PM Author Posted Thursday at 09:16 PM (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 yesterday at 12:02 AM by CCCP84
CCCP84 Posted 5 hours ago Author Posted 5 hours ago (edited) I made a file that automatically integrates the cycle into the map, nothing else needs to be done. Just unzip the file from the archive into the same folder where the map is located and run it : CCCP84's Day-Night Cycle 1.2. Integrate full Cycle into the Map (Put MAP file in same Folder).exe.zip Or run Pyton file if you have Pyton installed: CCCP84's Day-Night Cycle 1.2. Integrate full Cycle into the Map (Put MAP file in same Folder).py.zip ( If there are lamps on your map, you need to remove them first ) Edited 5 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