StrataSource / Engine

Issue tracker for Strata Source
47 stars 2 forks source link

Bug: info_particle_system is broken when spawned with vscript #648

Open TheEnderek0 opened 1 year ago

TheEnderek0 commented 1 year ago

Describe the bug

It seems that it isn't possible to spawn an info_particle_system entity dynamically in game using CreateByClassname. Trying this will cause the entity to render the error particle effect or not render anything at all.

To Reproduce

  1. Open the test map, and put the linked script in p2ce/scripts/vscripts
  2. Compile.
  3. Write these commands into the console: script_execute test ent_text test_particle ent_fire test_particle start
  4. Observe

Issue Map

script map

Expected Behavior

It would be cool if you could spawn info_particle_systems using vscript.

Operating System

No response

ozxybox commented 1 year ago

Sounds like a precaching issue?

TheEnderek0 commented 1 year ago

Probably yeah, since spawning with point_template works fine