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 2008-05-08 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
May 08, 2008, 11:14:56 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: WCS Tournament being opened for applications!

Post here for signups!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: 2 new skills neer see,i want know if its possible  (Read 124 times)
akasasori
Level 4 Intermediate
****
Offline Offline

France France

Posts: 94



« on: March 29, 2008, 08:18:32 AM »

Ok,my first new skill is

Code:
"skill3_setting"    "es_xsetinfo wcs_msp 2|es_xsetinfo wcs_msp 5|es_xsetinfo wcs_msp 10|es_xsetinfo wcs_msp 15|es_xsetinfo wcs_msp 17|es_xsetinfo wcs_msp 20"
    "skill3_cmd"        "( est_speed event_var(userid) = ((est_health event_var(userid)  + server_var(wcs_msp) ) / 100 ))
    "skill3_sfx"        "0"

The speed = (the life +X) /100
I have put it on player_spawn but i want know if at each time than i became hurt,my speed is more low?or i must put it in player_victim?

Second:I want to create an original skill:At each time than a player die,you gain 5 HP.
I have start with player_death but after,i dont know where i need to put the #a
thx to answer me :/

and 3:To put the wallhack to a player (when he have the wallhack he can use only the knife),how i can make this?
« Last Edit: March 31, 2008, 06:36:18 AM by akasasori » Logged
Rotgutts
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 234


Krechure Feature



b0n3s212
Merzlin
« Reply #1 on: March 29, 2008, 11:07:32 PM »

For number 3, its a little more complicated. You have to have sv_cheats 1 on, then you can turn on Wire frame models for wall hack. Sorry, all I could help =/
Logged


If you would like a Private race, just Pm me with the info, I would be more than happy to make you one
Berettonawak
Level 7 Expert
*****
Offline Offline

France France

Posts: 462


Big Berettonawak is watching you...


WWW
Berettonawak
Berettonawak

myServer 81.93.59.99:30000
(Warning: click connects through Steam)
« Reply #2 on: March 29, 2008, 11:22:18 PM »

The third skill needs a cexec, but es cexec doesnt accept that command and i think mani cexec doesnt work.
And you're wrong in your speed skill :
you told health = speed + ms
instead of speed = helath + ms
Logged

French Warcraft Coder and Famas Owner...
Petru
Level 5 Trained Intermediate
*****
Offline Offline

Denmark Denmark

Posts: 101


I'm Poor :( buy me a beer :D :D


« Reply #3 on: April 02, 2008, 07:29:51 PM »

nr 3 is my idea but it wont work ;S
Logged

HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 1585



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 72.249.51.26:27015
(Warning: click connects through Steam)
« Reply #4 on: April 03, 2008, 02:16:52 AM »

just give the other players an sfx that can be seen throu walls
Logged

KaBoom
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 67



« Reply #5 on: April 30, 2008, 12:32:45 AM »

That reminds me of the Thermal Goggles addon for ESP. The model they use is "effects/strider_bulge_dudv_dx50.vmt". Is it possible to use something like wcs_dalias to continually loop checking if enemies are close enough and make new sprites at their locations. If so, how?

Edit: I just tried this and it didn't quite work. It is meant to be at player_spawn. If anyone could let me know what went wrong or point me in the right direction feel free. 

Code:
        "skill4_setting"    "es_xset wcs_tmp3 500|es_xset wcs_tmp3 750|es_xset wcs_tmp3 1000|es_xset wcs_tmp3 1500|es_xset wcs_tmp3 2000"
"skill4_cmd"        "es es_cexec server_var(wcs_userid) r_screenoverlay effects/combine_binocoverlay.vmt;es_xsetinfo wcs_round 0;es_keysetvalue WCSUserdata event_var(userid) aura_round server_var(wcs_roundcounter);es_setinfo wcs_tmp2 event_var(userid);racealias_uas41"
"racealias_uas41"   "es_keygetvalue wcs_round WCSuserdata server_var(wcs_tmp2) aura_round;if (server_var(wcs_roundcounter) = server_var(wcs_round)) then es_xdelayed 0.5 wcs_dalias racealias_uas42 server_var(wcs_tmp2) server_var(wcs_tmp3)"
"racealias_uas42"   "es_getplayerprop wcs_dead server_var(wcs_tmp2) CCSPlayer.baseclass.pl.deadflag;if (server_var(wcs_dead) = 0) then racealias_uas43"
"racealias_uas43"   "es_getplayerteam wcs_team server_var(wcs_tmp2);if (server_var(wcs_team) = 2) then es_xsetinfo wcs_team #c!d;if (server_var(wcs_team) = 3) then es_xsetinfo wcs_team #t!d;es est_Near wcs_targetid server_var(wcs_team) server_var(wcs_tmp3) server_var(wcs_tmp2) racealias_uas44;racealias_uas41"
"racealias_uas44"   "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_targetid);es est_effect 11 server_var(wcs_tmp2) effects/strider_bulge_dudv_dx60.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 0.5 1 255"
"skill4_sfx"        "0"
  ^ ^ ^ Something I put together in less than 10 minutes lol ^ ^ ^
« Last Edit: April 30, 2008, 12:43:25 AM by KaBoom » Logged
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 1585



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 72.249.51.26:27015
(Warning: click connects through Steam)
« Reply #6 on: May 01, 2008, 05:56:24 AM »

i just seen that one in the newest scripts,
you wont need wcs_dalias  just creat a loop that gets the players location and makes the sfx

 the Thermal Goggles is a nice script, you need to install JoeyCMDs 
i really dont understand what thats for or what the need for it is
Logged

[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Online Online

United States United States

Posts: 588



WWW

myServer 208.167.243.228:27015
(Warning: click connects through Steam)
« Reply #7 on: Today at 03:52:15 PM »

to go slower as u get hit should be a player victim.

Each player dying should be player_Attacker if event_var(userid) health = 0  then add 5 HP

Thirs skill require wirefram with knife and will need sv_cheats =1 that is a really BAD idea.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 10:29:10 PM
Teacher keep your ignorant crap to yourself please: http://warcraft-source.com/board/index.php/topic,3571.0.html

~J3ff
Today at 09:04:10 PM
plz help how do i instal the wcs mod where do i put it and how do i start it??? plz help
Today at 08:23:49 PM
Can you please ditch the wcsP movement so that the community doesnt get divided !
Today at 07:50:19 PM
Yes player_hurt not working is a EST/ES bug (the commands don't like each other) and I said I would look into the other one... as a whole WCSP is well over 90% functional. (And currently running on over 20 servers)

~J3ff
May 07, 2008, 01:58:34 PM
Hmm, from what you said, either prep_hurt or player_hurt doesn't work. Also, GetViewPlayer doesn't work.
May 07, 2008, 06:05:25 AM
Whats wrong with WCSP frodo? No one has posted any error/bugs for me to fix homie.

~J3ff
May 06, 2008, 08:26:27 PM
Jeff, are you going to fix WCSP or it is going to stay bugged? Same thing goes to my race
Recent
by Jeff
[Today at 11:10:35 PM]

[Today at 11:04:53 PM]

by Jeff
[Today at 10:58:35 PM]

[Today at 10:49:15 PM]

[Today at 09:10:31 PM]

[Today at 09:02:32 PM]

[Today at 08:33:53 PM]

by Jeff
[Today at 08:32:50 PM]

[Today at 07:41:30 PM]

[Today at 06:46:10 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.047 seconds with 29 queries.