kz_a2_bhop_corruo_h button

Started by MALON
13/09/2008 05:12
Page 1 of 1
MALON13/09/2008 05:12

Why is it that the start button for corruo_h works until the top part of the button is lowered (it's triggered by touching it). After that, it fails to trigger my start function of my climbing plugin. What's unique about the start button?

Does triggering the top half change the entity name? Is there something special about the button and why it fails to work when I do this?

I know jack about maps, so I need to know why this happens. Thanks anyone!

--MALON

SadPuppy mapper13/09/2008 10:57

The func_button to start the timer points to the entities named GOGOGO, one of which is a changetarget to redirect the COUNTER_START_BUTTON from GOGOGO to SOME_NOOB so nothing happens if you press the start button again.

SOME_NOOB is a dummy GAME_COUNTER that counts up to 200 and fires (nothing) before resetting again.

When a start of round is detected the RESET_ALL among other things uses a changetarget setting the COUNTER_START_BUTTON to GOGOGO.

To properly reset each start of round Half-Life & the timer needs a few seconds before it is safe to touch the startbutton.

Hope this helps,

MALON14/09/2008 07:20

So, let me see if I understand this:

Basically, the button changes its name from GOGOGO to SOME_NOOB for 200 seconds, then resets back to GOGOGO. If that's it, I can handle that. My start button timer is based off of the 5 standard kz timer names and I just need to add SOME_NOOB to that list.

Please correct me if I'm wrong, as I'm still not 100% sure on it. If I'm right, I guess I'll find out when I code that in and it doesn't work. :P

Thanks :)

SadPuppy mapper14/09/2008 12:39

The button doesn't change name itself, just what it points to (the target). At first it points to GOGOGO and will activate that when pressed. When pressed it changes target to SOME_NOOB which is just that, some noob running in circles getting nothing done =)

Try adding the name COUNTER_START_BUTTON to the list and let me know if that works. =)

Cheers,

MALON15/09/2008 00:16

Unfortunately, it doesn't work :(

Any other suggestions? If I edit the map and take out the changing of the pointer, will people get "local map is not the same as server map" errors, or does editing entities not cause that error?

Thanks man,

--MALON

SadPuppy mapper15/09/2008 16:13

The name of the button is counter_start_button. It was just in capital letters for the documentation.
Try adding the name in normal letters ^__^

(And it is not a good idea to edit other peoples' maps, for several reasons.)

MALON15/09/2008 23:04

Yes, I tried both capital and lowercase. It doesn't register. :(

I know it's not a good idea, but the well known KZ Monkeys server edits theirs to resolve this issue, or at least the precache issue (the map is fricking ridiculous).

I may end up editing it, but I won't claim it's the original map or anything stupid, it's just so that it works well on a public server. Nothing fundamental will be changed, so I don't think the original author will be too disappointed. I'll try and contact him about this issue, see what he says. I understand why the mapping community hates it when people edit maps, but I'm running out of options.

ANYWAY, enough ranting. The capital letters and the lower case both fail, which sucks.

Thanks SadPuppy, you've been incredibly helpful!

:)

--MALON

Shizuka mapper15/09/2008 23:54

Originally posted by MALON
I know it's not a good idea, but the well known KZ Monkeys server edits theirs to resolve this issue, or at least the precache issue (the map is fricking ridiculous).

I may end up editing it, but I won't claim it's the original map or anything stupid, it's just so that it works well on a public server. Nothing fundamental will be changed, so I don't think the original author will be too disappointed. I'll try and contact him about this issue, see what he says. I understand why the mapping community hates it when people edit maps, but I'm running out of options.


Sry MALON but I just have to ask:

You do know who made that map and coded that timer right?

Pf0llz0r mapper16/09/2008 07:59

Originally posted by MALON
Yes, I tried both capital and lowercase. It doesn't register. :(

I know it's not a good idea, but the well known KZ Monkeys server edits theirs to resolve this issue, or at least the precache issue (the map is fricking ridiculous).

I may end up editing it, but I won't claim it's the original map or anything stupid, it's just so that it works well on a public server. Nothing fundamental will be changed, so I don't think the original author will be too disappointed. I'll try and contact him about this issue, see what he says. I understand why the mapping community hates it when people edit maps, but I'm running out of options.

ANYWAY, enough ranting. The capital letters and the lower case both fail, which sucks.

Thanks SadPuppy, you've been incredibly helpful!

:)

--MALON


haha ye try that :D

MALON18/09/2008 01:00(edited 18/09/2008 01:06)

Oh snap, I haven't looked, but I can tell by the responses, SadPuppy made the map. >_>. *goes to check map author*

*edit*

Um, so okay, hi SadPuppy. Now I know why you knew so much about that map :P. Anyway, I think I've come up with a solution for it. I'm just gonna use Climb Button Maker and place a 2nd start by your start button.

One question: Why did you make the start button point to a different entity after pushing it anyway?

Page 1 of 1

Please log in to post replies.