Floating Headcrabs and flashing sprites Created 17 years ago2007-04-20 11:14:36 UTC by Alabastor_Twob Alabastor_Twob

Created 17 years ago2007-04-20 11:14:36 UTC by Alabastor_Twob Alabastor_Twob

Posted 17 years ago2007-04-20 11:14:36 UTC Post #219593
I wanted to make A level set in space, where you start off in a small spaceship coming towards a space station that has a red light on the top and a green one one the bottom. I made these with sprites, but I want them flashing, with the green one turning on when the red one turns off, and vice versa. Also, is there a way to have an explosion an have dead Headcrabs and Vortigaunts floating around outside?
Alabastor_Twob Alabastor_Twobformerly TJB
Posted 17 years ago2007-04-20 11:29:59 UTC Post #219595
Place an env_sprite.
Name: spr_red_green
Flags:
Start On: checked

Place another env_sprite
Name: spr_red_green
Flags:
Start On: unchecked

Place a multimanager
Name: spr_red_green_toggle

Turn off SmartEdit. Click add.

Key: spr_red_green
Value: 0

Click Ok.
Click add again.

Key: spr_red_green_toggle
Value: 0.5 (this is the delay between the flashes, in seconds)

Flags:
Multithreaded: checked

To make an explosion, use an env_explosion (doh), or use a func_breakable with an explosion magnitude value.
To make aliens float around, use a trigger_push, and cover everything where you want to have zero gravity. Then just place monsters. This may not work very well, since monster are not able to move when in mid air.
Posted 17 years ago2007-04-20 12:33:19 UTC Post #219597
:D Thanks! (I Already knew how to make an explosion)
But not how to make stuff float.
Alabastor_Twob Alabastor_Twobformerly TJB
Posted 17 years ago2007-04-23 12:06:04 UTC Post #219882
Um i tried something like that with lights but the multimanagers in my hammer dont have a multithreaded flag what do I do ?
Posted 17 years ago2007-04-25 07:15:44 UTC Post #220088
I tried muzzleflash's method but it doesn't work, one light stays on and the other stays off, and there isn't a multithreaded flag on my editor either. :aggrieved:
Alabastor_Twob Alabastor_Twobformerly TJB
Posted 17 years ago2007-04-25 23:29:09 UTC Post #220160
What version of the FGD are you using?
AJ AJGlorious Overlord
Posted 17 years ago2007-04-26 11:03:25 UTC Post #220183
The one that came with Hammer
Alabastor_Twob Alabastor_Twobformerly TJB
Posted 17 years ago2007-04-26 15:21:09 UTC Post #220193
I just updated to half life .fgd 3x and now I have a multi-threaded flag for my multi-manager, just go to the entity guide and there is a link there just download that :lol:
Posted 17 years ago2007-04-26 15:37:28 UTC Post #220194
You're doing something wrong, that entity setup i posted above works fine.
Posted 17 years ago2007-04-27 11:09:56 UTC Post #220252
I did everything that you said, but it still doesn't work :aggrieved:
Alabastor_Twob Alabastor_Twobformerly TJB
Posted 17 years ago2007-04-27 11:32:35 UTC Post #220258
Oops.
I just noticed that i made a mistake in that entity setup. I've fixed it, so you should try it again. I've just tested that setup and it works.
Posted 17 years ago2007-04-27 11:37:14 UTC Post #220259
OK :glad:
Alabastor_Twob Alabastor_Twobformerly TJB
You must be logged in to post a response.