User Tools

Site Tools


modtools:revieweditor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
modtools:revieweditor [2017/07/13 14:21] – [Review Categories] adminmodtools:revieweditor [2017/07/13 15:16] – [Examples] admin
Line 9: Line 9:
 ==== Files And How It Works ==== ==== Files And How It Works ====
  
 +Upon starting a new game, the reviews.xml file is saved into the save game file. When the player opens the in game magazine for the first time (that turn) the game will generate a new "issue" of the magazine, and populate the reviews and other data. 
  
-A base review is loaded from the Localization files (Word #???), then individual reviews segments for the 11 categories are loaded from the Reviews.xml file. See File Locations for location and file names.+review is made up of a base review text which is loaded from the Localization files (Word #???). Then individual reviews segments for the 11 categories are loaded from the save game file based on the ratings of the vehicle being reviewed.
  
 Each category has its own review segements, and these segments in turn have a value range in which the segment can be selected. If the rating for the specific category falls between the segment's values it will be eligible to be used in the review. The game will pick at random from the selection if more than one review segment are in range. Each category has its own review segements, and these segments in turn have a value range in which the segment can be selected. If the rating for the specific category falls between the segment's values it will be eligible to be used in the review. The game will pick at random from the selection if more than one review segment are in range.
  
-After the game has selected 11 reviews segments for each category, it will piece them together into a review.+After the game has selected 11 reviews segments for each category, it will piece them together into a review. It will use specific information about the vehicle and apply it to the review segment text based on the variables embedded into the review segments. The variables are called in the text with this symbol {#} where # is the number of the variable.
  
  
Line 132: Line 133:
 ==== Examples ==== ==== Examples ====
  
 +Videos coming some day.
 ==== Troubleshooting ==== ==== Troubleshooting ====
  
 +=== My New Review or Changes Are Not in the Game ===
 +Start a new save game. Reviews are stored inside the save game file, thus any changes require a new save game to go into effect.
 +
 +=== Game Crashes ===
 +
 +Most likely you are missing one of the required variables for a review segment. Double check the reviews segments. Each review segment must have the variables on the right of the editor at least once.
 +
 +=== Review doesn't generate ===
 +
 +Either you are missing one of the required variables for a review segment, or you did not escape a single quote character. ('), as of v1.22, reviews should have an escaped single quote character (two single quote characters) so that the information can be properly saved into the save game file. In future builds (hopefully v1.23) we will remove the character escaping requirements.
modtools/revieweditor.txt · Last modified: 2022/02/15 18:00 by 127.0.0.1