UFO: Alien Invasion Issue Tracker
Please log in to bookmark issues
OPEN  Bug report #5415  -  comment in worldspawn settings crashes game
Posted Jan 27, 2015 - updated Jan 27, 2015
Issue details
  • Type of issue
    Bug report
  • Status
  • Assigned to
    Not assigned to anyone
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
  • Resolution
    Not determined
  • Priority
    Not determined
  • Reproducability
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Trivial
  • Platform
    icon_customdatatype.png Windows
  • Architecture
    icon_customdatatype.png x86
Issue description
When using the option to set the worldspawn properties within the .ump file, putting a comment line in there results in freezing the game while loading the map. The console shows > 2015/01/27 10:32:28 ERROR: Game Error: ED_ParseEntity: EOF without closing brace
Writing a comment after the key/value pair works, but not starting the line with '//'.
As this is a place where poeple are free to mod the game by changing values, adding new ones e.t.c., it would be good if the game would correctly recognize a comment.
Steps to reproduce this issue
worldspawn {
"light_day" "0 0 0" // it is underground, thus no sunlight
"light_night" "0 0 0" // it is underground, thus no moonlight
"ambient_day" "0.1 0.2 0.1"
"ambient_night" "0.1 0.2 0.1"
// "_color" "0.37 0.59 0.37" <------------- this breaks parsing the settings