StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
146 stars 3 forks source link

Bug: Custom cubes revert on fizzle and quick load #1619

Open OrinjiNeko opened 7 months ago

OrinjiNeko commented 7 months ago

Describe the bug

Custom cubes (using Vscript to model swap) load fine in-game, but upon fizzling and quick save/load, they revert to the Portal 2 cube defined in the prop_weighted_cube entity parameters. The reason for using Vscript instead of cube type 6 is for reflective laser cubes.

Issue Map

Map with custom cube model swap using vscript. (can't really upload mine because of mod assets)

To Reproduce

  1. Create vscript file for model swap
  2. Set up custom prop_weighted_cube
  3. Fizzle it (it'll fizzle as the default p2 cube)
  4. Quick save then quick load
  5. It'll go back to the default cube

Operating System

No response