July 16, 2019, 07:23:34 AM

Author Topic: Solid Snake.... WITH CARDBOARD BOX...Recoded with time limit!!  (Read 7685 times)

Offline Kal-El

  • Level 7 Expert
  • *****
  • Posts: 228
Solid Snake.... WITH CARDBOARD BOX...Recoded with time limit!!
« on: September 08, 2007, 07:19:43 AM »
Edited: I coded in a 10 second time limit that works, alos increased the ultimate breaker to 99 percent chance at max. Enjoy, thanks for the help in balencing this ^_^



Heres what you need to do first :

Change your  Downloadlist.txt file to add these lines :

      "box1"   "models/player/cardboard_box01.mdl"
      "box2"   "models/player/cardboard_box01.phy"
      "box3"   "models/player/cardboard_box01.vvd"
      "box4"   "models/player/cardboard_box01.dx90.vtx"

Copy/paste those listed files from the cs_office props file into models/player.

Then add this race. WOOT


"49"
  {
    "name"              "Solid Snake"
    "author"            "soundn3ko"
    "shortdescription"  "You can become the infamous CARDBOARD BOX!"
    "required_level"    "400"
    "allow_only"        "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es_xkeysetvalue WCSuserdata event_var(userid) restricted <glock><p228><elite><fiveseven><m3><xm1014><mp5navy><tmp><p90><mac10><ump45><galil><fasmas><ak47><sg552><m4a1><aug><scout><awp><g3sg1><sg550><m429>;es es_xdelayed 0.8 est_removeweapon event_var(userid) 2;es es_xdelayed 0.8 est_removeweapon event_var(userid) 2;es es_xdelayed 1.0 est_RestrictAll event_var(userid);es es_xdelayed 1.4 est_unrestrict event_var(userid) knife;es es_xdelayed 1.6 est_give event_var(userid) weapon_knife;es es_xdelayed 1.4 est_unrestrict event_var(userid) usp;es es_xdelayed 1.6 est_give event_var(userid) weapon_usp"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "5"
    "numberoflevels"    "4"
    "skillnames"        "Master of Arms|Combat Master|Prototype Cloak|CQC Master |CARDBOARD BOX!"
    "skilldescr"        "Increase usp damage|Ultimate Immunities|Your invis phases in and out|Knife damages and freezes|Enter your box to hide from the enemies, also gain health."
    "skillcfg"          "player_attacker|player_spawn|player_spawn|player_attacker|player_ultimate"

    "skill1_setting"    "es_xrand wcs_rand 1 30;es_xrand wcs_dmg 1 5|es_xrand wcs_rand 1 25;es_xrand wcs_dmg 1 10|es_xrand wcs_rand 1 20;es_xrand wcs_dmg 1 15|es_xrand wcs_rand 1 14;es_xrand wcs_dmg 1 20"
    "racealias_ss1"     "es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg);es est_csay event_var(attacker) + server_var(wcs_dmg) damage;es est_csay event_var(userid) got server_var(wcs_dmg) additional damage"
    "skill1_cmd"        "es es_xif (event_var(weapon) = usp) then 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_ss1"
    "skill1_sfx"        ""

"skill2_setting" "es_xsetinfo wcs_chance 50|es_xsetinfo wcs_chance 55|es_xsetinfo wcs_chance 60|es_xsetinfo wcs_chance 65|es_xsetinfo wcs_chance 99"
"skill2_cmd" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xkeysetvalue WCSuserdata event_var(userid) ulti_immunity 1;wcs_getlanguage wcs_lng wcs_lng_r_ultiimmunity;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xtell event_var(userid) #multi server_var(wcs_lng)"
"skill2_sfx" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 40 2 10 10 1 0 255 100 255 1"

"skill3_setting" "es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 32|es_xsetinfo wcs_chance 34|es_xsetinfo wcs_chance 99"
"skill3_cmd" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es ma_render_fx event_var(userid) 24;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 11 #a 0 editor/phys_ballsocket.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2 5 100"
"skill3_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 40;es est_effect 10 #a 0 effects/strider_pinch_dudv_dx60.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 950 190 3 150 100 0 155 115 100 200 1"

     "skill4_setting"    "es_xsetinfo wcs_multiplier 0.5|es_xsetinfo wcs_multiplier 0.75|es_xsetinfo wcs_multiplier 0.9|es_xsetinfo wcs_multiplier 1.1"
    "racealias_ss4"  "es es_xsetinfo wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es es_xmath wcs_dmg * server_var(wcs_multiplier);es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg);es ma_freeze event_var(userid) 1;es es_xdelayed 2 wcs_removefx freeze event_var(userid);wcs_getlanguage wcs_lng wcs_lng_r_knifedmg;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_attackername) server_var(wcs_dmg) event_var(es_username);es es_xtell event_var(attacker) #multi CqC attack successfull;es es_xtell event_var(userid) #multi You were hit by a CqC attack!"
    "skill4_cmd"        "es es_xif (event_var(weapon) in server_var(wcs_wpn_knives)) then racealias_ss4"
    "skill4_sfx"        ""
   
    "skill5_setting" "es_xsetinfo wcs_addhealth 15|es_xsetinfo wcs_addhealth 25|es_xsetinfo wcs_addhealth 40|es_xsetinfo wcs_addhealth 50"
    "skill5_cmd"        "es est_setmodel server_var(wcs_userid) player/cardboard_box01;es est_Health event_var(userid) + server_var(wcs_addhealth);es es_xtell server_var(wcs_userid) : You have hidden in your box for 10 seconds!;es es_xdelayed 10 es_xif (server_var(wcs_team) = 2) then es est_SetModel server_var(wcs_userid) player/T_phoenix;es es_xdelayed 10 es_xif (server_var(wcs_team) = 3) then es est_SetModel server_var(wcs_userid) player/ct_gign;es es_xdelayed 10 es_xtell server_var(wcs_userid) : You have been spotted!! Abandoning the box!"
    "skill5_sfx"        "0"
    "ultimate_cooldown" "30"
  }
« Last Edit: September 12, 2007, 07:14:10 AM by Kal-El »
<--- [Panda] : OHHHHHHHHH YEAAAAAAH!

Offline Wodahskcin

  • Level 0 Beginner
  • Posts: 1
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #1 on: September 08, 2007, 07:29:59 AM »
here are some pics of the race in box and out









second pic you cant really see but it flickers invis then back to normal

Offline Kal-El

  • Level 7 Expert
  • *****
  • Posts: 228
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #2 on: September 08, 2007, 07:37:14 AM »
Tyvm wood, good to have helpful clan members ^_^
<--- [Panda] : OHHHHHHHHH YEAAAAAAH!

Offline NovaKiller

  • <WCS coder>
  • Level 7 Expert
  • *****
  • Posts: 783
  • Loves WCS. Loves to make races. Loves to play WCS
    • |UbEr MiCrO ReVoLuTiOn|UMR|
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #3 on: September 08, 2007, 07:42:55 AM »
That looks like a nice and funny race. Should you mayby try set a delay so it goes back to normal? Anyway good race.

Offline Frodo

  • Level 7 Expert
  • *****
  • Posts: 857
  • Actinosphaerium eichhorni
    • Belgium Force!
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #4 on: September 08, 2007, 12:28:20 PM »
"im trying to do shit, you both kicked" rofl

wtf "Sanshi" or "Swashi" race is?

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

Offline AgentMatt-a

  • Level 0 Beginner
  • Posts: 6
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #5 on: September 08, 2007, 05:54:06 PM »
When i switch to the cardboard box I get an error that looks like this.
Code: [Select]
The instruction at "0x6f207473" referenced memory at "0x6f207437". The memory could not be "read"

Offline Kal-El

  • Level 7 Expert
  • *****
  • Posts: 228
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #6 on: September 09, 2007, 04:21:33 AM »
Senshi, ak47 race. Fairly basic in its design, just carries a variation of my exploding bullet code.


And yea the damn guys were told not to shot the guys in ct spawn so i could get the screenshots.

As for the error, no idea...my server has no issues with switching to the box
<--- [Panda] : OHHHHHHHHH YEAAAAAAH!

Offline =[LSS]= Soldier

  • Level 7 Expert
  • *****
  • Posts: 538
    • Last Standing Soldier Homepage
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #7 on: September 09, 2007, 01:07:50 PM »
He probably has a DoD server

=[LSS]= NEW Wc3 Server

c6464

  • Guest
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #8 on: September 09, 2007, 01:10:12 PM »
I do not think so, ever tried hnS? (hide and seek) Its a mod which use es and est, and it gots alot of theese things, even vending machines

Offline =[LSS]= Soldier

  • Level 7 Expert
  • *****
  • Posts: 538
    • Last Standing Soldier Homepage
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #9 on: September 09, 2007, 06:48:22 PM »
Phones, boxes, vending machines, couches, tvs, bushes, plant pots, tvs, chairs, cars, ect.

I've played it  :D

=[LSS]= NEW Wc3 Server

Offline Kal-El

  • Level 7 Expert
  • *****
  • Posts: 228
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #10 on: September 09, 2007, 08:30:25 PM »
hns is what finally made me realize I could make the SS race. I always wanted to but I refused to make one till I could make the box lol
<--- [Panda] : OHHHHHHHHH YEAAAAAAH!

Offline Kal-El

  • Level 7 Expert
  • *****
  • Posts: 228
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #11 on: September 09, 2007, 08:32:16 PM »
Also my server has not crashed once with this box active. Shooting, knfing, nades, powers, wards you name it and the kills dont crash my  server.


Seriously this server is light years better than my last server, I highly reccomend counter-strike.com servers
<--- [Panda] : OHHHHHHHHH YEAAAAAAH!

Offline Stinkyfax

  • I <3 WCS
  • Level 7 Expert
  • *****
  • Posts: 2113
  • Country: 00
  • WoW mod
    • World of Warcraft mod Servers
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #12 on: September 09, 2007, 08:33:37 PM »
Maybe it depens on server perfomance. When i used custom skins with no animations i had random crashes, so i don't use skins like boxes :(.



Offline Kal-El

  • Level 7 Expert
  • *****
  • Posts: 228
Re: Solid Snake.... WITH CARDBOARD BOX
« Reply #13 on: September 09, 2007, 08:44:18 PM »
Id agree with that, my last server crashed left and right with half the things i tried.
<--- [Panda] : OHHHHHHHHH YEAAAAAAH!

Offline Kal-El

  • Level 7 Expert
  • *****
  • Posts: 228
Re: Solid Snake.... WITH CARDBOARD BOX...Recoded with time limit!!
« Reply #14 on: September 09, 2007, 10:07:53 PM »
recoded with a time limit on box that also changes player models back with no error models!
<--- [Panda] : OHHHHHHHHH YEAAAAAAH!