NPC's on a path and Wave Overlays
Post Reply
Quote
Re: NPC's on a path and Wave Overlays
Posted by SmokersCough on Tue Dec 20th at 5:59pm 2005


Hi guys, I have been having a problem with a scripted NPC, i have used both path_corners and scripted sequences to move a character around the world. I have run into a problem though, it appears NPC's cannot walk through env_fire entites that are placed on the ground, they appear to get stuck on them. Has anyone else had this problem or found a work around? Also i know this is essenitally two questions in one but, i have been attempting to put the wave overlay's into my map, (based on a boat) unfrotunately the waves appear okay but the animated wave overlay disappears at the end of it's animation cycle and then appears again a few seconds later, is there a way to get it working correctly, please help. I will post a screenie of the map in a min hopefully this will spur people to reply <img src=" SRC="images/smiles/icon_wink.gif"> Thanks guys.



Quote
Re: NPC's on a path and Wave Overlays
Posted by HazardGameR^ on Tue Dec 20th at 6:31pm 2005


Try to put alyx on the other side of the fire

Don't get bothered by my stupid answer





Quote
Re: NPC's on a path and Wave Overlays
Posted by Carcase on Wed Dec 21st at 2:08am 2005


Well, i'm not quite sure what you're trying to do. Do you want someone to walk through a line of fire and look all dramatic? (Sephiroth, what a BAMF!) If so, i guess you could just use the plain old env_sprite and have him walk through those, along with a trigger_hurt brush, then set the sprite to animate and have an ambient_generic near it. I would guess that npc's don't like fire because it hurts them? As for your wave problem, i have no idea what you're talking about.



Quote
Re: NPC's on a path and Wave Overlays
Posted by SmokersCough on Wed Dec 21st at 12:38pm 2005


Okay never mind, i found a way around it, if you place the env_fire high in the air the NPC will be able to pass through it, but the fir still draws all the way to the ground. As for tehWave question, if you type in "wave" in the textures menu you are given twp wave textures (as in waves in water) Metastasis used them on the island. Now if you add an overlay on the water and use both those textures on two different overlays you see they are animated. Unfortunately the wave texture at the end of the animation disappears for a moment. and then returns at the beginning of the animation. I want to know if there is a way to stop it from disappearing. (Note: remember to select the water as the brush to apply the overlay too, this can be found in the overlay properties under the brush face section, simply select the water brush.) If anyone finds a way of doing this i will be very grateful.





Quote
Re: NPC's on a path and Wave Overlays
Posted by HazardGameR^ on Wed Dec 21st at 4:04pm 2005


Try to make 2 of them to make them play the animation double as quickly? May cause some lagg though...



Quote
Re: NPC's on a path and Wave Overlays
Posted by Campaignjunkie on Wed Dec 21st at 5:12pm 2005


Try actually using the material that is included with Metastasis. As long as you credit Adam Foster in your map's readme file, it'll be fine. The files are in materialstest, make sure you include them with your map or use bspzip.





Post Reply