Please or Register to create posts and topics.

[SOLVED]Is it possible to make flashes?

Page 1 of 2Next

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? :blah:

This... sentence... is... false.... dontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutit
MLIA
Thanks in advance :thumbup:

Best option would be particle effetcs.

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.)

When life gives you lemons, make apple juice and have everyone wonder how you did it.
Musical website Moddb

Thanks!

This... sentence... is... false.... dontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutit
MLIA
Thanks in advance :thumbup:

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?

This... sentence... is... false.... dontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutit
MLIA
Thanks in advance :thumbup:

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.

When life gives you lemons, make apple juice and have everyone wonder how you did it.
Musical website Moddb

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.

My stuff:
[spoiler]- BEE2 Addons | (BEE2)
- Hammer Addons
Maps:
- Crushed Gel
- Gel is Not Always Helpful[/spoiler]

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)

This... sentence... is... false.... dontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutit
MLIA
Thanks in advance :thumbup:

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.

My stuff:
[spoiler]- BEE2 Addons | (BEE2)
- Hammer Addons
Maps:
- Crushed Gel
- Gel is Not Always Helpful[/spoiler]

I know that, but what if the player were to move the cube, before it was activated.

This... sentence... is... false.... dontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutit
MLIA
Thanks in advance :thumbup:
Page 1 of 2Next