Skip to content

v16.0.0

Latest
Compare
Choose a tag to compare
@EvenTorset EvenTorset released this 13 Sep 21:38
13d45e6
  • Named and documented action 800: ParticleForceCollision. This enables collision with the full 3D environment for regular particles, but also causes the game to crash if a particle despawns. It is most likely an unfinished action, and it only exists in AC6, where it's used just once, in an effect that also causes the game to crash. It seems very stable as long as the particles don't despawn, though.
  • The valueAt method on properties should now give the correct value for sequence properties and component sequence properties with keyframes that are out of order. These properties can be considered invalid in some sense, but they are still functional in-game, and this method should now reflect that.
    • Any keyframes that are out of order, i.e. their position is less than the position of the previous keyframe, are now ignored entirely, unless the property does not loop and the given argument is greater than the duration of the property, in which case the last keyframe's value is always returned, no matter what its position is.
  • Sequence properties and component sequence properties no longer automatically sort their keyframes.
    • This allows these properties to be written with their keyframes out of order, which means that reading and then writing an FXR file with such a property no longer has a chance to break that property because of the different keyframe order.
    • Sorting the keyframes can still be done using the sortKeyframes and sortComponentKeyframes methods on sequence properties and component sequence properties respectively, and these methods have been changed to return the property they were called on to make them more convenient.
  • Fixed the brightness of point lights when converted to or from DS3. Hopefully it's actually fixed this time...
  • Renamed unk_ac6_f1_1 in actions 10008 and 10009 to unk_ac6_f1_2. The old name did not match the field's index.
  • Fixed the argument for some properties:
    • color3 in PointSprite is now ParticleAge (was EffectAge)
    • lengthMultiplier in Line is now ParticleAge (was EffectAge)
    • lengthMultiplier in QuadLine is now ParticleAge (was EffectAge)
    • widthMultiplier in QuadLine is now ParticleAge (was EffectAge)
    • This was just a documentation error and should not affect any functionality.
  • Updated the description for the DataAction class. It was very out of date.
  • Updated the description for most color properties to mention if the values are clamped or not.