Mapping for CS GO

Mapping for CS GO

Hammer Mapping — Page [1]
Mate de Vita

2008 Oct 4 • 2453
159 ₧
So I recently tried to port a map of mine from CS 1.6 to Global Offensive, and I've found out the Source SDK stuff is a mess. The current problem I'm facing is that math_counter apparently does not save its state between rounds, which means you can't do stuff like doors that only open every 3rd round any more (which was a part of said map).

I tried setting up an env_global to do this, but first off there was no env_global in the csgo.fgd (even though the base class for it exists in base.fgd) so I had to copy it from the HL2 fgd file, and now I found out that while it has a Counter property, it isn't actually functional. The wiki page says "There is an aliasing problem for this keyvalue. To make it work, simply change its name in the source code DEFINE_OUTPUT declaration."

Is there actually a way to access the source code to change an entity's hard-coded keyvalues?
Or if not, is there maybe a way to work around this to make a counter of any sort that would keep its state between rounds (is it possible for example to implement your own code into a cs go map)?

EDIT: added atn for superjer just cause I can.
...and that's the bottom line because Mate de Vita said so.
2013 Dec 21 at 15:04 PST — Ed. 2013 Dec 22 at 14:49 PST
Rocket Man

2007 Nov 6 • 2525
601 ₧
Superjer in some of his maps claims he uses doors to do that stuff, like they have some extremely complex interaction where people are tp'd through them and trigger multiplied
Free Steam Games
2013 Dec 21 at 17:22 PST
Mate de Vita

2008 Oct 4 • 2453
159 ₧
You can use doors in CS 1.6 to trigger events when a new round starts because doors always close at the start of a round (or something to that effect). Doors are what you use to trigger the round counter.

In Source SDK you have logic_auto for that - an entity specifically designed to trigger stuff at the beginning of a round.
...and that's the bottom line because Mate de Vita said so.
2013 Dec 22 at 08:35 PST — Ed. 2013 Dec 22 at 08:35 PST

2005 Mar 20 • 6132
It is a lot harder to get info between rounds after 1.6.

I'm not sure if it is impossible. I feel like I have a working example somewhere. I'll see if I can dig it up.

There's no way you can alter or add any code with a map. That's definitely not possible.
2013 Dec 22 at 23:19 PST
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5485
57,583 ₧
At this stage, it might be worth messaging the developers directly, or perhaps posting on the Global Offensive subreddit?
2013 Dec 28 at 09:24 PST
Page [1]