Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2010-04-12 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: [Q]Portals in surf maps not working after a player got freezed..  (Read 261 times)

Offline kakashirock

  • Level 0 Beginner
  • Posts: 10
  • I am a copy/paste race maker =)
[Q]Portals in surf maps not working after a player got freezed..
« on: November 19, 2007, 02:48:46 PM »
hmmm... anyone can help? XD
[Q]Portals in surf maps not working after a player got freezed..

Offline Angel?

  • Level 7 Expert
  • *****
  • Posts: 334
Re: [Q]Portals in surf maps not working after a player got freezed..
« Reply #1 on: November 21, 2007, 07:27:01 AM »
what do you mean were they by the portal?
what Froze them?
and do you have to reload the map?
"Death is just the first step"

~AJ

Offline kakashirock

  • Level 0 Beginner
  • Posts: 10
  • I am a copy/paste race maker =)
Re: [Q]Portals in surf maps not working after a player got freezed..
« Reply #2 on: November 21, 2007, 01:40:47 PM »
uh... lets say theres a teleport in the map. After u got freezed by a skill from any race, you cant use the teleport in the map. =)

Offline Angel?

  • Level 7 Expert
  • *****
  • Posts: 334
Re: [Q]Portals in surf maps not working after a player got freezed..
« Reply #3 on: November 29, 2007, 03:53:13 AM »
are any of them in the teleporter when there frozen?
"Death is just the first step"

~AJ

Offline Frodo

  • Level 7 Expert
  • *****
  • Posts: 855
  • Actinosphaerium eichhorni
    • Belgium Force!
Re: [Q]Portals in surf maps not working after a player got freezed..
« Reply #4 on: November 29, 2007, 08:50:52 PM »
Try replacing est_freeze with est_speed <userid> 0. Will set user's speed to 0 so he won't move, too  :mrgreen:

Actually I found it as best Bux ever. Everything's automated!

Offline kratos

  • Level 1 Trained Beginner
  • *
  • Posts: 28
Re: [Q]Portals in surf maps not working after a player got freezed..
« Reply #5 on: August 01, 2009, 07:05:39 AM »
Is there any other ways to fix this?  Yes the problem is lets say the human has bash as a skill, he shoots a zombie and the zombie can no longer go through teleports in the map.

Zawmbee

  • Guest
Re: [Q]Portals in surf maps not working after a player got freezed..
« Reply #6 on: August 01, 2009, 01:51:14 PM »
Use this code....

Code: [Select]
    "skill2_setting"      "es_xrand wcs_rand 1 30;es_set wcs_freezetime 2.5|es_xrand wcs_rand 1 25;es_set wcs_freezetime 3|es_xrand wcs_rand 1 20;es_set wcs_freezetime 3.5|es_xrand wcs_rand 1 16;es_set wcs_freezetime 4|es_xrand wcs_rand 1 14;es_set wcs_freezetime 4.5"
    "racealias_ha3"        "es wcs_setfx speed event_var(userid) 0 server_var(wcs_freezetime);es est_csay event_var(userid) got frozen by event_var(es_attackername);es est_csay event_var(attacker) froze event_var(es_username)"
    "skill2_cmd"          "es es_xif (server_var(wcs_rand) <= 10) then est_IsAlive wcs_alive event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then es_xif (server_var(wcs_alive) = 1) then racealias_ha3"
    "skill2_sfx"          "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then est_effect 11 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1 2.3 90"

Alternative to freeze using a speed change...

Offline kratos

  • Level 1 Trained Beginner
  • *
  • Posts: 28
Re: [Q]Portals in surf maps not working after a player got freezed..
« Reply #7 on: August 02, 2009, 03:50:34 AM »
Use this code....

Code: [Select]
    "skill2_setting"      "es_xrand wcs_rand 1 30;es_set wcs_freezetime 2.5|es_xrand wcs_rand 1 25;es_set wcs_freezetime 3|es_xrand wcs_rand 1 20;es_set wcs_freezetime 3.5|es_xrand wcs_rand 1 16;es_set wcs_freezetime 4|es_xrand wcs_rand 1 14;es_set wcs_freezetime 4.5"
    "racealias_ha3"        "es wcs_setfx speed event_var(userid) 0 server_var(wcs_freezetime);es est_csay event_var(userid) got frozen by event_var(es_attackername);es est_csay event_var(attacker) froze event_var(es_username)"
    "skill2_cmd"          "es es_xif (server_var(wcs_rand) <= 10) then est_IsAlive wcs_alive event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then es_xif (server_var(wcs_alive) = 1) then racealias_ha3"
    "skill2_sfx"          "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then est_effect 11 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1 2.3 90"

Alternative to freeze using a speed change...



I tried that Zawmbee, and it still freezes. 

Zawmbee

  • Guest
Re: [Q]Portals in surf maps not working after a player got freezed..
« Reply #8 on: August 02, 2009, 03:53:40 AM »
I know, but does it keep someone from going through a portal?  Cause that would mean the map has a problem cause basically I just changed how fast a person moves...

Offline kratos

  • Level 1 Trained Beginner
  • *
  • Posts: 28
Re: [Q]Portals in surf maps not working after a player got freezed..
« Reply #9 on: August 02, 2009, 07:47:23 AM »
I know, but does it keep someone from going through a portal?  Cause that would mean the map has a problem cause basically I just changed how fast a person moves...


Yeah this still stop the teleport from working for people that have been frozen.  It still shows up when you shoot someone that you froze them.  Somehow its still freezing them, not changing their speed to 0.

Offline CA.Berettonawak

  • Le renomm� m�connu...
  • Watchdogs
  • Level 7 Expert
  • *****
  • Posts: 3057
  • Big Berettonawak is watching you...
    • Coding-Alliance.Com : A bunch of coders? Why not a bunch of players? :P
Re: [Q]Portals in surf maps not working after a player got freezed..
« Reply #10 on: August 08, 2009, 10:55:27 PM »
Then you modified the wrong skill.
I don't know about the wcs_setfx syntax, but this worked well when i used est_speed.
Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.

Quote from: myself
i love tuna juice :D

Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD

Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed