aliens

Author Topic: Forced Day/Night for missions  (Read 2845 times)

Offline Iron_Drakon

  • Squaddie
  • *
  • Posts: 8
    • View Profile
Forced Day/Night for missions
« on: April 11, 2018, 09:16:53 am »
So I'm trying to work on a pair of small submods for Piratez, to force a day only or night only mode for battlescape missions, but can't figure out how to force time on the battlescape to be independent of what the geoscape time on a location is. Is there something that needs to modified other than the shade value, or does Piratez use a different number set for what equates to full day or night?

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 685
    • View Profile
Re: Forced Day/Night for missions
« Reply #1 on: April 20, 2018, 02:12:06 pm »
if i´m not mistaken


alienDeployments:
  - type: STR_YOUR_MISSION_NAME
    shade: 15

Shade of the map (0-15, where 0 is full daytime and 15 is full nighttime). This is not used for UFO sites where the shade comes from the Geoscape.

from https://www.ufopaedia.org/index.php?title=Ruleset_Reference_Nightly_(OpenXcom)#Alien_Deployments

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
Re: Forced Day/Night for missions
« Reply #2 on: April 20, 2018, 10:04:46 pm »
An alternative method is to put in lights on the map, preventing night from getting dark. The lights are easily set as invisible positions that simply emit light. I don't know a way to reverse this and force darkness. Probably bulletdesigner's solution is best overall.