Changes between Version 1 and Version 2 of Ticket #2204


Ignore:
Timestamp:
Oct 14, 2013, 11:48:06 AM (11 years ago)
Author:
sanderd17
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2204 – Description

    v1 v2  
    11For fields, it would be nice if the actor present on it could variate randomly. But there are several problems for this.
    22
    3 First of all the for loop around line 520 in ObjectBase.cpp checks if some variation for that actor has been chosen before. Of course, this loop should be removed to have randomness.
     3First of all the for loop around line 520 in ObjectBase.cpp checks if some variation for that actor has been chosen before. Of course, this loop should be removed to have randomness, or adapted to work with links with the prop point name (as explained later).
    44
    55But a bigger problem is explained around line 560. Namely that only the variation name is remembered. So if you have 20 times bush a, b or c. It's quite certain the list will always contain a, b and c, and as a result, the same variation will always be chosen. A better way to store it would be something linked. A simple concatenation of the prop point name and the variation would work, but it would be better to have a proper link.