Check out Half-Life Re-imagined competition results!
Check out Skewing textures in Hammer, our newest tutorial!
Say hello to Daedle, our newest member!

logo

Site Stuff

Reference

Maps

Community

ShoutBOX

Poll

Feeling Blue

What's your favourite shade of blue?

Azure

11

Cobalt

24

Turquoise

7

Cyan

9

Royal

5

Teal

3

Onliners

36 secs

rufee

3 mins

James Luke

6 mins

Unq

8 mins

Striker

8 mins

SourceSkyBoxer

9 mins

Screamernail

12 mins

ZikShadow

Affiliates

A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

round-reset flooding

Map Vault > Completed Maps

map screenshot

Ratings Disabled

[More Screenshots]

Avatar

By Captain Terror (See more)
2nd June, 2015

Counter-Strike
624.07KB - RMF
703 views
140 downloads
5 comments

Last edited: 15th June, 2015

download

One possible solution to reset water flooding each round for this problem map, using teleports, changetargets, and Schlumpf1404's method to reset CS 1.6 entities each round.

More Images

T and CT spawns are surrounded by a teleport, sending them to the first room at beginning of the round. There, a trigger_once activates a trigger_changetarget which alters the spawn destination to a new room for next round(and repeat for each round). Schlump's above method resets one trigger_hurt and weaponstrip, which all the rooms share.

Notes
- Added trigger_hurt and increased the water speed, so you can see the effect faster.
- There are 5 rooms(00-04) that cover the first 5 rounds; copy and paste additional rooms for more rounds.
- Load the map by using New Game from the CS menu. (WILL NOT WORK loading straight from the console)
- The text primitives MAY NOT compile correctly without a HLFix-enabled Hammer, or using Sledge, since I also scaled and skewed them afterwards..

Comments

avatar DiscoStu says: 2nd June 2015, 21:38 PM
Also known as how to make five maps to stand in for the same map within the same map.
avatar Captain Terror says: 3rd June 2015, 02:29 AM
Yeah this is not really a feasible solution ;p

Originally tried to use trigger_relays to reset the flooding water brush, but I couldn't make them work. If it was a fixed round time, it would be easy to sync the water to match..

Stu, do you know of anyway to kill or reset them properly with a trigger_relay or something else?
avatar DiscoStu says: 3rd June 2015, 02:41 AM
Well trigger_relays can remove entities from the map, so you could in theory have water1 on the first round, then remove it and changetarget to use the until-now inactive water2 for the second round, and so on.

The problem is that you can't create entities in-game, so water1, water2, etc. will have to be previously crafted in. And the problem with that is that since you don't know how many rounds the server will have for this map, theoretically you might need to create infinite entities that will be removed one by one each round or risk having a number of rounds without water at all after the predefined ones ran out.

This plays against the entity limit but at least you wouldn't have to make a copy of the whole map for each round (this also counts for n times the total number of entities which is worse, and n times fixing bugs and errors), instead just copies of the one brush.
avatar Captain Terror says: 3rd June 2015, 03:58 AM
Yeah i tried the 'kill' feature on the water entites, but it didn't seem to have any effect, not that I guess it would help much as you stated =P
avatar DiscoStu says: 3rd June 2015, 05:59 AM
Maybe it doesn't work on water. Too bad, it would have been better (or less bad) to have n copies of 1 entity than having n copies of every single entity in the map. So I suppose your way wins :P
You must be logged in to comment.