[SOLVED]Is it possible to make flashes?
Posted Apr 27, 2014
Would it be possible to create white flashes (in a small area, not on the player/player's screen) and then replace whatever is inside the flash. For example, say there is a companion cube, a white flash occurs around it, and during that flash, it becomes a regular cube? Would that be remotely possible?
Registered users don’t see ads!
Register now!
Posted Apr 27, 2014
Replied
5 minutes
later
Best option would be particle effetcs.
Posted Apr 27, 2014
Replied
7 minutes
later
You could put an env_sprite over the cube, and quickly turn it on and off. When you do that , that's when you could switch the cube. You could also crete a custom particle system and do that. (I have no idea how though.)
Posted Apr 27, 2014
Replied
6 minutes
later
Thanks!
Posted Apr 27, 2014
Replied
45 minutes
later
Followup question: The only way I could get this to work is with templates and env_entity_maker (i believe it is), and those don't have parenting features, neither does the cube I am using as a template. Would it be possible to keep them together somehow?
Posted Apr 27, 2014
Replied
43 minutes
later
You may be able to use a phys_cpnstraint attached to both cubes, and somehow make one visible and one not. It may be a tad unstable, but you MAY be able to do the same with env_entity_makers.
Posted Apr 27, 2014
Replied
10 minutes
later
Env_entity_makers can be parented (point_templates can't). What you should probably do is turn on the sprite/particle effect, ClearParent the env_entity_maker, Kill the first cube then ForceSpawn the second and then Kill the env_entity_maker (with a 0.01s delay between each). Finally turn off the particle effect so the player can see the new cube.
Posted Apr 27, 2014
Replied
1 hour
later
I believe I still need the point template, and when it is not in the same area of the cube, the entity that is created is in the void (I assume)
Posted Apr 27, 2014
Replied
54 minutes
later
You want to have a point_template (not in the void to stop it leaking), just put it in the middle of the cube you are using as a template.
Posted Apr 27, 2014
Replied
2 minutes
later
I know that, but what if the player were to move the cube, before it was activated.
Posted Apr 27, 2014
Replied
2 hours
later
That would be okay. As Teamspen said, env_entity_makers can be parented.
Posted Apr 28, 2014
Replied
10 hours
later
CamBen wrote:
As Felix said...
Sorry for coming here just to call you out, but it was actually TeamSpen.
On topic, yeah, parenting an env_entity_maker is easily done and will work for what you want.
Registered users don’t see ads!
Register now!
Posted Apr 28, 2014
Replied
3 hours
later
srs bsnss wrote:
CamBen wrote:As Felix said...
Sorry for coming here just to call you out, but it was actually TeamSpen.
On topic, yeah, parenting an env_entity_maker is easily done and will work for what you want.
Whoops, read that wrong. Fixing it.