Changes between Version 2 and Version 3 of PlanningWiki/PlayerKnowledge


Ignore:
Timestamp:
01/30/14 08:01:55 (6 years ago)
Author:
nckmccnnll
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PlanningWiki/PlayerKnowledge

    v2 v3  
    77 * This is pivotal to ID, knowledge screens, monster memory, and so on - data structures need careful thought and clarity (Nick) 
    88 
     9'''The Plan''' 
     10This seemed like a perfect solution.  The idea was to have game and player versions of  
     11 * The cave struct (so all monster, object, terrain etc information) 
     12 * The player's inventory 
     13 * The home inventory 
     14and ID would just mean copying relevant info from game version to player version.   
     15It also has the ability to solve problems like the player 'seeing' doors being opened out of LoS. 
     16It is a blowout in memory use and savefile size, but twice zero is zero, right? 
     17 
     18'''The Problem''' 
     19It doesn't distinguish between 'player doesn't know if object has this flag' and 'object does not have this flag'. 
     20 
     21'''The Resolution''' 
     22There are a few possibilities, but essentially it comes down to 'add the known/unknown info'.  The simplest way to do this  
     23is to have a third (possibly partial) copy, with 1 for known, 0 for unknown everywhere. 
     24 
     25I would be delighted to hear more complete or more efficient solutions. 
     26 
    927=== Post-restructure ===