Forum posts

Posted 16 years ago2008-07-06 11:30:58 UTC
in Some questions about sounds Post #252154
Better late then never to reply is what I thought.

1. If you want to use env_soundscape with a custom sound, you'll have to make yourself a soundscape-file. If you have done that you can use it on your map by naming it soundscapes_MAPNAME.txt and placing it in your hl/scripts-folder. You could also use a ambient_generic which is in my opinion easier to handle. You don't have to make a mini-mod for this.

2. You can change soundeffects by placing sound-files which have the same name and location as the normal sounds in your sounds-folder. Best way to know what name and location a sound has is by seeking it in the GCF-file of your map by using GCFScape which you can find at nem's tools on the mighty internet.
Posted 16 years ago2008-07-05 12:13:18 UTC
in animated texture which you can toggle Post #252143
Hi,

I'm trying to make a video play in hl2. I made an animated texture by extracting all the frames and compiling those in a vtf. I've made multiple vmt-files by now trying to get it to work. I have one for toggling, one animated. I also had one which both the toggle and animationsettings in it, but only the first one was read so I had once again a toggletexture or a animationtexture.

Then I tried using a logic_timer to toggle the toggletexture, but then it always reseted after 300-500 frames and the total amount of frames is 1100.

The next thing I tried was making a func_brush with the animationtexture applied to it. Then I used a trigger to enable and disable that brush. But it didn't start with the first frame.

I also tried using a material_modify_control to set the frame back to 0 for the animated texture, I used as 'material variable to control' frame and $frame but both didn't work.

If anyone has an idea on how to make it work after all, it would be greatly appreciated
Posted 17 years ago2007-08-03 13:55:59 UTC
in Counting players at roundstart Post #231158
Hi,

I want to make a map that get's bigger if there are more people on it. This means I have to count the players at roundstart in some way and when there are enough players, I will let that trigger a door so u can access another part of the map. I tried this with this setup:

an unreachable game_zone_player which had setting "counter for OUT players: door1counter" and a game_counter called door1counter which triggered door1. But that didn't work. I also tried to just target the game_counter by the game_zone_player.

I also tried a counter which had as name "game_playerspawn" so it was triggered when someone spawns but that also needs a reset at the end of the map, and I didn't get that to work either.

Anyone a suggestion how get my idea to work?
Posted 17 years ago2007-06-20 15:41:45 UTC
in Door keeps on opening Post #225860
found the problem, it was the texture i used for the trigger but many thanks to you kc8kjp
Posted 17 years ago2007-06-20 15:26:20 UTC
in Door keeps on opening Post #225858
I want the door to open and close when i go near it, then wait untill someone comes to it again and then it should open and close again. With the toggle it just opened and then it wouldn't close anymore and the delay before trigger didn't change anything to it. Does it matter which texture u use for the trigger_multiple because I used a normal texture (which is showing a door for recognising it) but I saw that in the tutorial it was the aaatrigger?
Posted 17 years ago2007-06-20 14:51:31 UTC
in Door keeps on opening Post #225855
It didn't work, maybe I should change something to my trigger_multiple?
settings for it are now:
target: door1
style: 32
delay before trigger: 0
delay before reset: 4
All the others are blank and I didn't set any flags
Posted 17 years ago2007-06-20 14:39:44 UTC
in Door keeps on opening Post #225852
I'll try right now
tnx allready
Posted 17 years ago2007-06-20 14:24:09 UTC
in Door keeps on opening Post #225849
I made a door with 2 windows in it using the tutorial and then i putted a trigger multiple over it. But the problem is once I triggered it, it keeps on opening and closing. How do I get it to just open and close once?