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 2009-07-14 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
July 14, 2009, 07:50:16 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Join the new Facebook Warcraft-Source.com Group! It has been currently opened!
Join!
Google  
  Home   Forum   Help Search Login Register   *
Pages: 1 [2] 3 4 ... 7   Go Down
  Print  
Current Topic Rating: ***** You have not rated this topic. Select a rating:
Author Topic: BlackGuard  (Read 3982 times)
cobaltflux
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 61



« Reply #15 on: June 04, 2008, 05:38:59 PM »

does it?  no,

Does it? No, not on my own personal computer with only myself and one bot. But will it on a heavily active 24+ slot multi mod server? That's why I asked, but I guess I'll try it. Thanks though.
Logged
caiozin08
Level 0 Beginner

Offline Offline

Brazil Brazil

Posts: 6



« Reply #16 on: June 04, 2008, 10:01:12 PM »

Holliday xDD i'm ur fan.. look i got little problem with this race.. i installed it just like samus race but this race isn't working.. samus is working fine and this one, when i press ultimate Says "Bind to +Ability2" to use.. when i bind "+ability" or +ability2 and hold Nothing Happen.. Can you help me?


Thanks for These Races... i Enjoy your work xD
Logged
=DR= king
Level 5 Trained Intermediate
*****
Offline Offline

Canada Canada

Posts: 113




JKING237
007king
« Reply #17 on: June 04, 2008, 10:16:10 PM »

Holliday xDD i'm ur fan.. look i got little problem with this race.. i installed it just like samus race but this race isn't working.. samus is working fine and this one, when i press ultimate Says "Bind to +Ability2" to use.. when i bind "+ability" or +ability2 and hold Nothing Happen.. Can you help me?


Thanks for These Races... i Enjoy your work xD

same thing happens to me
Logged
HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2172



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #18 on: June 05, 2008, 12:54:34 AM »

the mesage you get when you press ultimate is wrong, on my server its +ability2
because my gold script uses +ability, i guess i changes all the messages exept the one you get when you press ultimate
bind <key> +ability,press ultimate and choose a skill from the menu, hold +ability to activate the skill and release +ability to deactivate
Logged


mobsi
Level 6 Experienced
******
Offline Offline

Germany Germany

Posts: 211



« Reply #19 on: June 06, 2008, 02:08:12 PM »

well i wanna prevent players from using the shild through the whole round
Code
GeSHi (eventscripts):
block shieldloop
{
es_getcmduserid m3
es_xset +m3 0
es es_xkeygetvalue +m3 WCSuserdata server_var(m3) +m3
es es_xif (server_var(+m3) = 3) do
{
es_getcmduserid m3
es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(m3)
es_xmath wcs_z1 + 35
es est_effect 11 #a 0 sprites/strider_blackball.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) .5 1.5 255
}
}
 

and my question is
well how long does it take till the loop is run through 1 time?


ps: what do you think about temporary speed/gravity/invis  speed/invis without weapons Smiley
« Last Edit: June 06, 2008, 02:19:00 PM by mobsi » Logged

better the devil you know than the devil you don't
Stinkyfax
I <3 WCS
Watchdogs
Level 7 Master
*****
Offline Offline

United Kingdom

Posts: 1824



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« Reply #20 on: June 06, 2008, 02:59:57 PM »

to prevent from using what?
Logged



HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2172



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #21 on: June 06, 2008, 04:22:37 PM »

Quote
and my question is
well how long does it take till the loop is run through 1 time?

   .1 second

you want to disable the shield?
Logged


mobsi
Level 6 Experienced
******
Offline Offline

Germany Germany

Posts: 211



« Reply #22 on: June 06, 2008, 05:04:28 PM »

nah i dont wanna disable it Wink first i thought about replacing it but then i thought it would be better to give them perhaps 30 secs or so to use it and then they will be damaged  or the shild disables itself

so 1 per .1 sec = 10 per sec = 300 for 30 sec


Code
GeSHi (eventscripts):
this at the end of +rocket  shildactivation
es_keysetvalue WCSuserdata server_var(m3) check 0
 
block shieldloop
{
es_getcmduserid m3
es_xset +m3 0
es es_xkeygetvalue +m3 WCSuserdata server_var(m3) +m3
es es_xif (server_var(+m3) = 3) do
{
es_xsetinfo check 0
es_keygetvalue check WCSuserdata server_var(m3) check
es_keymath WCSuserdata server_var(m3) check + 1
es_getcmduserid m3
es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(m3)
es_xmath wcs_z1 + 35
es est_effect 11 #a 0 sprites/strider_blackball.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) .5 1.5
255
if (server_var(check) > 300) do
 {
 es damage server_var(m3) 1
 }
}
}
 
this at the end of releasing the key
es_keysetvalue WCSuserdata server_var(m3) check 0
 

so that was basicly what i imagined
what i wanna know now is if it will work Wink

greez mobsi
Logged

better the devil you know than the devil you don't
HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2172



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #23 on: June 06, 2008, 07:14:17 PM »

somthing like
es_xset loop_counter 300
es_xmathparse loop_counter "loop_counter - 10"
if (server_var(loop_counter) < 0) do
{
es est_healthadd server_var(m3) -1
}
Logged


mobsi
Level 6 Experienced
******
Offline Offline

Germany Germany

Posts: 211



« Reply #24 on: June 06, 2008, 07:31:40 PM »

somthing like
es_xset loop_counter 300
es_xmathparse loop_counter "loop_counter - 10"
if (server_var(loop_counter) < 0) do
{
es est_healthadd server_var(m3) -1
}

thats the basic idea the other way around ^^

but it is not -10 it is -1 cause if you have 300 -10 it ll take 30 repeats which equals 3 sec Wink


problem was that all is repeated so i cant just set the var 0 and then var = var + 1
thats why i used keyvalues
Logged

better the devil you know than the devil you don't
Stinkyfax
I <3 WCS
Watchdogs
Level 7 Master
*****
Offline Offline

United Kingdom

Posts: 1824



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« Reply #25 on: June 06, 2008, 08:23:35 PM »

looping without delay may cause huge lags according to my ES expirience.  :mrgreen:
Logged



mobsi
Level 6 Experienced
******
Offline Offline

Germany Germany

Posts: 211



« Reply #26 on: June 06, 2008, 08:49:02 PM »

well and how to create a delay in a loop?

es_delayed .5 do {} or how does that work?
Logged

better the devil you know than the devil you don't
HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2172



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #27 on: June 07, 2008, 12:06:46 AM »

not sure if it will lag without a delay
never thought to put a delay on a repeat loop

it should work just as i showed you there, just change 10 to 1

will it cause lag, i dont know...thats up to the server,
Logged


mobsi
Level 6 Experienced
******
Offline Offline

Germany Germany

Posts: 211



« Reply #28 on: June 07, 2008, 10:43:08 AM »

well where do i have to add that?
Logged

better the devil you know than the devil you don't
HOLLIDAY
<Race Maker>
Moderator
Level 7 Master
*****
Offline Offline

Posts: 2172



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #29 on: June 07, 2008, 12:19:22 PM »

at the bottom of the loop,  just like you had but with that code
Logged


Pages: 1 [2] 3 4 ... 7   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 03:34:59 AM
what you mean.
are you adding it to your C&P race ?
Today at 02:05:00 AM
i cant get the [Oddity] Ninja race's first skill to work. the one where you go faster,slower,faster,slower.
someone help me? Smiley
Today at 01:55:13 AM
And i dont wanna test on my own server.
thats not fun.
Cheesy
July 13, 2009, 10:42:55 PM
I wanna Test My race but cant add you.
add me.
nichosv
July 13, 2009, 10:05:49 PM
let me know if u guys want ur race tested on a server and you dont have one and ill put it up 8.6.76.177:27015
thts my server ip just let me know or add me on steam $$$$NJO$$$$ Dashi
July 13, 2009, 09:36:34 AM
and good mornin
July 12, 2009, 01:05:12 PM
Bye Bye
Recent
[Today at 05:50:38 AM]

[Today at 03:36:18 AM]

[Today at 12:37:38 AM]

[Today at 12:28:05 AM]

[July 13, 2009, 11:53:20 PM]

[July 13, 2009, 11:51:56 PM]

[July 13, 2009, 11:19:28 PM]

[July 13, 2009, 10:52:14 PM]

by maze
[July 13, 2009, 10:04:15 PM]

[July 13, 2009, 08:07:39 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.188 seconds with 25 queries.