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-11 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
July 11, 2009, 10:53:47 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Please obey the rules, to achieve a pleasent order in our community.
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: [Oddity]Stim Pack ~{shopmenu}~  (Read 345 times)
[Oddity]TeacherCreature
Moderator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« on: October 07, 2007, 11:00:15 PM »

Adrenaline Shot - Pretty straight forward code. Cheaper than boots + sock of feather, and it takes up one slot... but at a cost


Boost Speed and Boost Jump Ability but Lower Health



Code:
"oddity.counter-strike.com"
  {
  "name"        "[Oddity] Stim Pack"
  "description" "Adrenaline Shot at a cost +speed +jump -HP"
  "category"    "4"
  "cost"        "4000"
  "level"       "2"
  "dab"         "1"
  "duration"    "0"
  "maxamount"   "1"
  "itemconfig"  "player_spawn"
  "cmdbuy"      "es es_xkeygetvalue wcs_speed WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_speed) = 0) then es_xsetinfo wcs_speed 1.0;es es_xif (server_var(wcs_speed) <= 1.4) then es_xmath wcs_speed + 0.2;es es_xif (server_var(wcs_speed) <= 1.6) then est_speed event_var(userid) server_var(wcs_speed);es es_xif (server_var(wcs_speed) <= 1.6) then es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es es_xkeygetvalue wcs_gravity WCSuserdata event_var(userid) gravity;es es_xif (server_var(wcs_gravity) = 0) then es_xsetinfo wcs_gravity 1.0;es es_xif (server_var(wcs_gravity) > 0.5) then est_setgravity event_var(userid) 0.5;es es_xif (server_var(wcs_gravity) > 0.5) then es_xkeysetvalue WCSuserdata event_var(userid) gravity 0.5;es est_Health event_var(userid) - 30"
  "cmdactivate" "es es_xkeygetvalue wcs_speed WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_speed) = 0) then es_xsetinfo wcs_speed 1.0;es es_xif (server_var(wcs_speed) <= 1.4) then es_xmath wcs_speed + 0.2;es es_xif (server_var(wcs_speed) <= 1.6) then est_speed event_var(userid) server_var(wcs_speed);es es_xif (server_var(wcs_speed) <= 1.6) then es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es es_xkeygetvalue wcs_gravity WCSuserdata event_var(userid) gravity;es es_xif (server_var(wcs_gravity) = 0) then es_xsetinfo wcs_gravity 1.0;es es_xif (server_var(wcs_gravity) > 0.5) then est_setgravity event_var(userid) 0.5;es es_xif (server_var(wcs_gravity) > 0.5) then es_xkeysetvalue WCSuserdata event_var(userid) gravity 0.5;es est_Health event_var(userid) - 30"
 }
« Last Edit: October 07, 2007, 11:02:25 PM by [Oddity]TeacherCreature » Logged

=[LSS]= Soldier
Level 7 Master
*******
Offline Offline

United States United States

Posts: 538



WWW
Soldier62994
« Reply #1 on: October 08, 2007, 12:37:07 AM »

Nice, now make a Steroids one and give it +damage but at the cost of blurred vision, and you got yourself an illegal drugged up server
Logged


=[LSS]= NEW Wc3 Server
[Oddity]TeacherCreature
Moderator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« Reply #2 on: October 08, 2007, 12:43:02 AM »

I am trying to make a Jetpack one and I am trying to trigger it by pressing CTRL or JUMP but I am having trouble.
Logged

=[LSS]= Soldier
Level 7 Master
*******
Offline Offline

United States United States

Posts: 538



WWW
Soldier62994
« Reply #3 on: October 08, 2007, 12:51:41 AM »

well, I think the only way would be to make a say command...cause if you do make it Ctrl then what if they have a key binded to that?
Logged


=[LSS]= NEW Wc3 Server
[Oddity]TeacherCreature
Moderator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« Reply #4 on: October 08, 2007, 01:02:51 AM »

There is an item with silent walk and when you press CTRL it activates and when you press jump it unactivates...
I am going to adapt that I am just not good with flags.
Logged

chrishot
Level 6 Experienced
******
Offline Offline

United Kingdom

Posts: 165




chrishot
« Reply #5 on: October 08, 2007, 01:56:30 PM »

u mean the cat amulet thingy i find that so annoying lol try something simpler
Logged
c6464
Guest
« Reply #6 on: October 08, 2007, 07:22:08 PM »

use jump jump or something  :mrgreen:
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 06:57:11 AM
is there anyplace i can get help with maps? ive made a map recently but its crashin css everytime a person trys to load it
July 10, 2009, 02:22:30 PM
go in a forum; go into a topic; down below youll find a reply button
July 10, 2009, 02:15:52 PM
can anyone help me i dont know how to post posts.
July 10, 2009, 02:15:40 PM
sup fellas
July 10, 2009, 01:39:30 PM
dashi619 read pm i send you
July 10, 2009, 12:48:28 PM
help?
July 10, 2009, 10:22:56 AM
ME Tongue
Recent
[Today at 10:51:38 PM]

[Today at 10:39:32 PM]

[Today at 10:13:01 PM]

[Today at 09:25:35 PM]

[Today at 09:18:30 PM]

by M.R.
[Today at 05:16:58 PM]

[Today at 05:05:18 PM]

[Today at 05:04:31 PM]

[Today at 03:13:53 PM]

[Today at 08:29:32 AM]
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.07 seconds with 25 queries.