Difference between revisions of "Talk:LOC.DAT"

From UFOpaedia
Jump to navigation Jump to search
Line 23: Line 23:
 
- [[User:NKF|NKF]] 04:41, 30 April 2010 (EDT)
 
- [[User:NKF|NKF]] 04:41, 30 April 2010 (EDT)
  
edit: Shot this idea down as soon as it came to me. Bases information is fairly static in loc.dat. I can only guess that the game randomly decides whether or not to create a supply ship each day at 00:00am, with the supply ship's being 'ping'ed by your radars at 00:30am. Had a few supply ships show up in the span of a few days in one game, then after reloading none appear until close to the end of the month. -[[User:NKF|NKF]] 05:16, 30 April 2010 (EDT)
+
edit: Shot this idea down as soon as it came to me. An alien base's information is fairly static in loc.dat. I can only guess that the game randomly decides whether or not to create a supply ship each day at 00:00am, with the supply ship's being 'ping'ed for the first time by your radars at 00:30am. Had a few supply ships show up in the span of a few days in one game, then after reloading none appeared until close to the end of the month. -[[User:NKF|NKF]] 05:16, 30 April 2010 (EDT)

Revision as of 09:31, 30 April 2010

Altitude

Shouldn't the altitude be set in this file as well? Probably one of the Unknown values, and XCOM and Alien Bases might have rubbish data in them. --Pi Masta 15:27, 8 February 2007 (PST)

Count Down

I have some doubts about offset 6-7. The page says that it is the horizontal destination, it looks more like the time left before crash/terror site will disappear (or maybe the offset has two usages depending on the type of the location?). It is reset to 3 for as long as there is a craft targeting the site. Seb76 10:45, 26 April 2008 (PDT)

As neither crash nor terror sites have meaningful destinations anyway (only start locations), there's no reason why these offsets can't be overloaded to mean something else in these cases. -- Zaimoni 14:32, 26 April 2008 (CDT)

Multiple interpretations

It turns out that LOC.DAT also contains/indexes key data for configuring alien bases. One of my attempts at manually constructing an alien base entry critically backfired.

For a Floater base, the Reapers are instantiated in a post-processing pass; they start out as Floaters at the *front* of the alien unit list. The game knew enough not to arm the would-be Reapers, but with key fields in LOC.DAT bungled the pass to convert would-be Reapers to Reapers did not execute. -- Zaimoni 21:34, 4 December 2008 (CDT)

Alien ranks higher than Soldier also are created in a post-processing pass; their equipment, however, was templated properly based on what their rank would have been from where the entries were in the file. The proto-Reapers did not have Soldier rank either. -- Zaimoni 21:51, 4 December 2008 (CDT)

Supply ship requests

Just to jot a thought down before I forget:

Since supply ships aren't scheduled to happen as such in ACTS.DAT/MISSIONS.DAT, and are instead requested directly by the alien base, would the base's loc.dat entry store a timer that counts down between the when it makes its next supply ship request? Or are supply ships just generated at fixed times during the month?

- NKF 04:41, 30 April 2010 (EDT)

edit: Shot this idea down as soon as it came to me. An alien base's information is fairly static in loc.dat. I can only guess that the game randomly decides whether or not to create a supply ship each day at 00:00am, with the supply ship's being 'ping'ed for the first time by your radars at 00:30am. Had a few supply ships show up in the span of a few days in one game, then after reloading none appeared until close to the end of the month. -NKF 05:16, 30 April 2010 (EDT)