yoshimtu Posted June 15, 2010 Content Count: 64 Joined: 06/02/10 Status: Offline Share Posted June 15, 2010 Couldn't find a good spot to put this in so I decided here.. Anyways would it be possible to do this on a map... A. Have T's respawn without CT's respawning.. (T's = NPC) B. Create something like in TD maps (where the enemys/creeps are made out of glass and breakable) Have a gun and shoot at you? Or anyway to get how there are many enemies in a MW2 level. Thats why I was thinking T's could respawn. And I could add teles to bring them to certain locations? Thanks for the help.. Link to comment
Revenga Posted June 15, 2010 Content Count: 2504 Joined: 04/13/09 Status: Offline Share Posted June 15, 2010 It would be interesting... Link to comment
Lucid Posted June 15, 2010 Content Count: 2284 Joined: 09/27/09 Status: Offline Share Posted June 15, 2010 Couldn't find a good spot to put this in so I decided here.. Anyways would it be possible to do this on a map... A. Have T's respawn without CT's respawning.. (T's = NPC) B. Create something like in TD maps (where the enemys/creeps are made out of glass and breakable) Have a gun and shoot at you? Or anyway to get how there are many enemies in a MW2 level. Thats why I was thinking T's could respawn. And I could add teles to bring them to certain locations? Thanks for the help.. You should get a better response in this forum. http://www.steam-gamers.net/forum/forumdisplay.php?f=41 Link to comment
Bob Loblaw Posted June 16, 2010 Content Count: 3697 Joined: 01/07/09 Status: Offline Share Posted June 16, 2010 Not possible to do respawns without a script. Technically you could have a script set up to run only on your map, but it can't be done in hammer, and getting server managers to run special scripts for just your map might not seem worth it to them. :\ As for them holding guns and shooting at the humans, not possible I don't think. Only way would be to have bots set up. :\ Link to comment
Prez Posted June 16, 2010 Content Count: 8758 Joined: 07/27/09 Status: Offline Share Posted June 16, 2010 Not possible to do respawns without a script. Technically you could have a script set up to run only on your map, but it can't be done in hammer, and getting server managers to run special scripts for just your map might not seem worth it to them. :\ As for them holding guns and shooting at the humans, not possible I don't think. Only way would be to have bots set up. :\ Well, if they were killed, or "broke" as you insinuate, saying that they're made of glass or whatever, you can have it respawn via a point_template, assuming this is a brush model. If it's an NPC, no. Link to comment
Bob Loblaw Posted June 16, 2010 Content Count: 3697 Joined: 01/07/09 Status: Offline Share Posted June 16, 2010 Yeah but brush models can't fire guns, so if he did want them to be firing guns, he would need bots :\ Link to comment
Prez Posted June 16, 2010 Content Count: 8758 Joined: 07/27/09 Status: Offline Share Posted June 16, 2010 Yeah but brush models can't fire guns, so if he did want them to be firing guns, he would need bots :\ Well, he could do some crazy complicated thing, where a machine gun prop_dynamic_ornament is parented to said bot, and there is a trigger that runs in a square around the bot. Assuming the bots are attacking, when the trigger is activated, an env_gunfire entity activates, and the para changes the pointing direction to whatever trigger was triggered (if you make multiple triggers). Here, I think a picture can help best: When one of the triggers is activated, the gun repositions itself towards the trigger, and shoots. To do damage, since env_gunfire does not do damage on itself, a trigger_hurt is parented to said env_gunfire. But, assuming that it's defending, you can have the same set up, but lower the damage and make it so the triggers are in the right spot. But, this is really complicated, so its out of the question. I guess there isn't a way Link to comment
yoshimtu Posted June 16, 2010 Content Count: 64 Joined: 06/02/10 Status: Offline Share Posted June 16, 2010 That was confusing Artimus.. I'm actually new to mapping. I used to map along time ago but I stopped. And forgot everything. So I guess it would be impossible for bots to respawn. Or even everybody? I was trying to create a co-op storyish map. And so far it seems like hell xD Link to comment
Prez Posted June 16, 2010 Content Count: 8758 Joined: 07/27/09 Status: Offline Share Posted June 16, 2010 Yeah, you'd need a script for that. Link to comment
Bob Loblaw Posted June 16, 2010 Content Count: 3697 Joined: 01/07/09 Status: Offline Share Posted June 16, 2010 (edited) I actually thought about, and tried that twice or so before, but I never found a way to set the destination to whatever is being triggered. Like I never found something similar to "OnStartTouch Bot SetAimingDirection !activator" Just couldn't find anything that would get them to aim even in the direction of. Maybe I just missed it though? If you do find a way, I am interested, because one of the things I wanted it for is something I'm working on now, but I just worked around it because I was pretty sure there was no way to set their next destination to the !activator of a trigger. Actually one more thing I can try. If it doesn't work I'm out of guesses. Didn't work If you do do some testing with this and find a way or already know a way let me know I'd be interested to find out. Edited June 16, 2010 by Bob Loblaw Link to comment
Recommended Posts
Reply to Thread
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now