February 19, 2019, 11:15:52 PM

Author Topic: Hide and Seek  (Read 6214 times)

Offline Berettonawak

  • French
  • Level 7 Expert
  • *****
  • Posts: 3147
  • Country: 00
  • Big Berettonawak is watching you...
    • Coding-Alliance.Com : A bunch of coders? Why not a bunch of players? :P
Hide and Seek
« on: February 27, 2008, 09:35:51 AM »
Here's the 1.0 version.
I think there's no bugs.
If there's tell me and i'll try to fix them!
Ok so the ultimate block :
Code: [Select]
block wcs_ulti_skinmenu
{
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_skinmenu start
popup create hnsmenu
popup addline hnsmenu "Choose your skin"
popup addline hnsmenu "->1. Sofa"
popup addline hnsmenu "->2. Vending Machine"
popup addline hnsmenu "->3. Camera"
popup addline hnsmenu "->4. Oil Drum"
popup addline hnsmenu "->5. Trash can"
popup addline hnsmenu "->6. Plasma screen"
popup addline hnsmenu "->7. Computer monitor"
popup addline hnsmenu "->8. back"
popup addline hnsmenu "->9. next"
popup addline hnsmenu "->0. exit"
popup timeout hnsmenu view 0
es popup send hnsmenu server_var(wcs_userid)
popup select hnsmenu 1 wcs/WCSultimates/sofa1
popup select hnsmenu 2 wcs/WCSultimates/vendingmachine1
popup select hnsmenu 3 wcs/WCSultimates/camera1
popup select hnsmenu 4 wcs/WCSultimates/oildrum1
popup select hnsmenu 5 wcs/WCSultimates/trash1
popup select hnsmenu 6 wcs/WCSultimates/plasma_screen1
popup select hnsmenu 7 wcs/WCSultimates/computer_monitor1
popup select hnsmenu 8 wcs/WCSultimates/wcs_ulti_skinmenu3
popup select hnsmenu 9 wcs/WCSultimates/wcs_ulti_skinmenu2
}
block wcs_ulti_skinmenu2
{
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_skinmenu2 start
popup create hnsmenu2
popup addline hnsmenu2 "Choose your skin 2"
popup addline hnsmenu2 "->1. Box"
popup addline hnsmenu2 "->2. Explosive barrel"
popup addline hnsmenu2 "->3. Nostop"
popup addline hnsmenu2 "->4. Projector"
popup addline hnsmenu2 "->5. Plant"
popup addline hnsmenu2 "->6. Radio"
popup addline hnsmenu2 "->7. Buggy"
popup addline hnsmenu2 "->8. back"
popup addline hnsmenu2 "->9. next"
popup addline hnsmenu2 "->0. exit"
popup timeout hnsmenu2 view 0
es popup send hnsmenu2 server_var(wcs_userid)
popup select hnsmenu2 1 wcs/WCSultimates/box1
popup select hnsmenu2 2 wcs/WCSultimates/barrel1
popup select hnsmenu2 3 wcs/WCSultimates/nostop1
popup select hnsmenu2 4 wcs/WCSultimates/projector1
popup select hnsmenu2 5 wcs/WCSultimates/plant1
popup select hnsmenu2 6 wcs/WCSultimates/radio1
popup select hnsmenu2 7 wcs/WCSultimates/buggyhns
popup select hnsmenu2 8 wcs/WCSultimates/wcs_ulti_skinmenu
popup select hnsmenu2 9 wcs/WCSultimates/wcs_ulti_skinmenu3
}
block wcs_ulti_skinmenu3
{
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_skinmenu3 start
popup create hnsmenu3
popup addline hnsmenu3 "Choose your skin 3"
popup addline hnsmenu3 "->1. Rocket launcher"
popup addline hnsmenu3 "->2. Disguisement"
popup addline hnsmenu3 "->3. Helicopter"
popup addline hnsmenu3 "->4. Phone"
popup addline hnsmenu3 "->5. Keyboard"
popup addline hnsmenu3 "->6. Cactus"
popup addline hnsmenu3 "->7. Planted c4"
popup addline hnsmenu3 "->8. back"
popup addline hnsmenu3 "->9. next"
popup addline hnsmenu3 "->0. exit"
popup timeout hnsmenu3 view 0
es popup send hnsmenu3 server_var(wcs_userid)
popup select hnsmenu3 1 wcs/WCSultimates/rocket_launcher_model1
popup select hnsmenu3 2 wcs/WCSultimates/disguisement1
popup select hnsmenu3 3 wcs/WCSultimates/helicopter_model1
popup select hnsmenu3 4 wcs/WCSultimates/phone1
popup select hnsmenu3 5 wcs/WCSultimates/keyboard1
popup select hnsmenu3 6 wcs/WCSultimates/cactus1
popup select hnsmenu3 7 wcs/WCSultimates/plantedc4
popup select hnsmenu3 8 wcs/WCSultimates/wcs_ulti_skinmenu2
popup select hnsmenu3 9 wcs/WCSultimates/wcs_ulti_skinmenu
}
block wcs_ulti_keepdisguisement
{
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_keepdisguisement start
popup create keepdisguisement
popup addline keepdisguisement "Do you want to keep your disguisement?"
popup addline keepdisguisement "->1. Yes"
popup addline keepdisguisement "->2. No"
popup timeout keepdisguisement view 0
es popup send keepdisguisement server_var(wcs_userid)
popup select keepdisguisement 1 wcs/WCSultimates/keepdisguisement
popup select keepdisguisement 2 wcs/WCSultimates/removedisguisement
}
block wcs_ulti_keepbarrel
{
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_keepbarrel start
popup create keepbarrel
popup addline keepbarrel "Do you want to stay a barrel?"
popup addline keepbarrel "->1. Yes"
popup addline keepbarrel "->2. No"
popup timeout keepbarrel view 0
es popup send keepbarrel server_var(wcs_userid)
popup select keepbarrel 1 wcs/WCSultimates/keepbarrel
popup select keepbarrel 2 wcs/WCSultimates/removebarrel
}
block sofa1
{
es es_xdelayed 0.1 est_SetModel server_var(wcs_userid) props/cs_office/sofa;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a sofa.
}
block vendingmachine1
{
es es_xdelayed 0.1  est_SetModel server_var(wcs_userid) props/cs_office/Vending_machine;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a vending machine.
}
block box1
{
es es_xdelayed 0.1  est_SetModel server_var(wcs_userid) props/cs_office/cardboard_box01;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a box.;es est_sethealth server_var(wcs_userid) 15
}
block oildrum1
{
es es_xdelayed 0.1  est_SetModel server_var(wcs_userid) props_c17/oildrum001;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a oil drum.
}
block trash1
{
es es_xdelayed 0.1  est_SetModel server_var(wcs_userid) props/cs_office/trash_can;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a trash can.
}
block plasma_screen1
{
es es_xdelayed 0.1 est_SetModel server_var(wcs_userid) props/cs_office/tv_plasma;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a plasma screen.
}
block computer_monitor1
{
es es_xdelayed 0.1  est_SetModel server_var(wcs_userid) props/cs_office/computer_monitor;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a computer monitor.
}
block phone1
{
es es_xdelayed 0.1  est_SetModel server_var(wcs_userid) props/cs_office/phone;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a phone.;es est_speed server_var(wcs_userid) 2;es est_sethealth server_var(wcs_userid) 15
}
block keyboard1
{
es es_xdelayed 0.1  est_SetModel server_var(wcs_userid) props/cs_office/computer_keyboard;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a keyboard.;es es_xkeysetvalue WCSuserdata event_var(userid) longjump 2.5;es est_sethealth server_var(wcs_userid) 15
}
block cactus1
{
es es_xdelayed 0.1 est_setmodel server_var(wcs_userid) props/de_inferno/cactus;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a cactus.;es est_sethealth server_var(wcs_userid) 40
}
block projector1
{
es es_xdelayed 0.1 est_setmodel server_var(wcs_userid) props/cs_office/projector;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a projector.
}
block plant1
{
es es_xdelayed 0.1 est_setmodel server_var(wcs_userid) props/cs_office/plant01;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a plant.
}
block radio1
{
es es_xdelayed 0.1 est_setmodel server_var(wcs_userid) props/cs_office/radio;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a radio.
}
block plantedc4
{
es es_xdelayed 0.1 est_setmodel server_var(wcs_userid) weapons/w_c4_planted;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a planted c4.;es est_god server_var(wcs_userid) 1;es est_removeweapon server_var(wcs_userid) 3
}
block rocket_launcher_model1
{
es es_xdelayed 0.1 est_setmodel server_var(wcs_userid) weapons/w_rocket_launcher;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a rocket launcher.;es est_god server_var(wcs_userid) 1;es es_xdelayed 1 est_rocket server_var(wcs_userid);es es_xdelayed 1.1 est_god server_var(wcs_userid) 0
}
block helicopter_model1
{
es es_xdelayed 0.1 est_setmodel server_var(wcs_userid) combine_helicopter;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now an helicopter.;es est_jetpack server_var(wcs_userid) 1;es es_xdelayed 3 es_tell server_var(wcs_userid) #multi #red Warning : if you press ultimate, you will stop flying.
}
block barrel1
{
es es_xdelayed 0.1 est_setmodel server_var(wcs_userid) props_c17/oildrum001_explosive;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now an explosive barrel.Warning you will explode in 10 seconds.;es es_xdelayed 10 es_xdoblock wcs/WCSultimates/wcs_ulti_keepbarrel
}
block keepbarrel
{
es est_slay server_var(wcs_userid);es es_xdoblock wcs/WCSultimates/wcs_ulti_suicide;es es_xdelayed 1 est_spawn server_var(wcs_userid);es es_xdelayed 0.5 es_tell server_var(wcs_userid) #multi #green You exploded.;es es_xdelayed 1 es_tell server_var(wcs_userid) #multi #green You found the solution. You just respawned.
}
block removebarrel
{
es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 3) then est_SetModel server_var(wcs_userid) player/ct_sas;es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 2) then est_SetModel server_var(wcs_userid) player/t_guerilla;es es_tell server_var(wcs_userid) #multi #green You didn't explode. You are now a player.
}
block nostop1
{
es es_xdelayed 0.1 est_setmodel server_var(wcs_userid) props/cs_assault/NoStopsSign;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a master interface.
}
block camera1
{
es es_xdelayed 0.1 est_setmodel server_var(wcs_userid) props/cs_assault/camera;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a camera.
}
block buggyhns
{
es es_xdelayed 0.1 est_setmodel server_var(wcs_userid) buggy;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdelayed 0.2 es_tell event_var(userid) #multi #green You are now a airboat.
}
block disguisement1
{
es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 3) then est_SetModel server_var(wcs_userid) player/t_guerilla;es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 2) then est_SetModel server_var(wcs_userid) player/ct_sas;es es_xdelayed 10 es_xdoblock wcs/WCSultimates/wcs_ulti_keepdisguisement;es es_xdoblock wcs/WCSultimates/disguisement_tell
}
block keepdisguisement
{
es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 3) then est_SetModel server_var(wcs_userid) player/t_guerilla;es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 2) then est_SetModel server_var(wcs_userid) player/ct_sas
}
block removedisguisement
{
es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 3) then est_SetModel server_var(wcs_userid) player/ct_sas;es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 2) then est_SetModel server_var(wcs_userid) player/t_guerilla
}
block disguiseweapons
{
es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 3) then es_give server_var(wcs_userid) weapon_ak47;es es_xdelayed es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 2) then es_give server_var(wcs_userid) weapon_m4a1
}
block disguisement_unrestrict
{
es est_unrestrictall server_var(wcs_userid);es es_xdoblock wcs/WCSultimates/disguiseweapons
}
block disguisement_tell
{
es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 3) then es_tell server_var(wcs_userid) #multi #green You are now a Terrorist.;es es_xif(server_var(wcs_game) = server_var(wcs_game_css)) then es_xif (event_var(es_userteam) = 2) then es_tell server_var (wcs_userid) #multi #green You are now a Counter Terrorist.;es es_xdoblock wcs/WCSultimates/disguisement_unrestrict
}
block hnsnormal
{
es est_speed server_var(wcs_userid) 1;es_xkeysetvalue WCSuserdata event_var(userid) longjump 1;es est_god server_var(wcs_userid) 0;es est_give server_var(wcs_userid) weapon_knife;es est_removeweapon server_var(wcs_userid) 1;es est_removeweapon server_var(wcs_userid) 2;es est_restrictall server_var(wcs_userid);es est_jetpack server_var(wcs_userid) 0;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 255;es es_xdoblock wcs/WCSultimates/hnsnormal2
}
block hnsnormal2
{
es est_unrestrict server_var(wcs_userid) weapon_knife
}

Copy and paste that ultimate block at the end of your cstrike/addons/eventscripts/wcs/wcsultimates/es_wcsultimate.txt.

And now the code of the race :

Code: [Select]
  "?"
   {
    "name"              "Hide and Seek"
    "author"            "Berettonawak/Pietro"
    "shortdescription"  "Hideexec"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "2"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "racealias_hnseffects;racealias_hnsweapons"
    "racealias_hnseffects"  "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es est_effect 10 #a 0 glow07.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 40 180 0.3 30 100 0.8 255 255 255 255 1;es_xmath wcs_z1 + 40;es est_effect 10 #a 0.2 glow07.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 40 160 0.3 30 100 0.8 255 255 255 255 1;es_xmath wcs_z1 + 40;es est_effect 10 #a 0.4 glow07.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 40 140 0.3 30 100 0.8 255 255 255 255 1;es_xmath wcs_z1 + 40;es est_effect 10 #a 0.6 glow07.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 40 120 0.3 30 100 0.8 255 255 255 255 1;es_xmath wcs_z1 + 40;racealias_hnseffects2"
    "racealias_hnseffects2" "es est_effect 10 #a 0.8 glow07.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 40 100 0.3 30 100 0.8 255 255 255 255 1;es_xmath wcs_z1 + 40;es est_effect 10 #a 1 glow07.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 40 80 0.3 30 100 0.8 255 255 255 255 1"
    "racealias_hnsweapons"  "es es_xdelayed 1.0 est_RestrictAll event_var(userid);es es_xdelayed 1.5 est_UnRestrict event_var(userid) weapon_knife;es es_xdelayed 1.9 est_give event_var(userid) weapon_knife;es est_removeweapon event_var(userid) 1;es est_removeweapon event_var(userid) 2"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "5"
    "skillnames"        "Gravity|Speed|Longjump|Hideexec"
    "skilldescr"        "Gravity|Speed|Longjump|Change your skin"
    "skillcfg"          "player_spawn|player_spawn|player_spawn|player_ultimate"

    "skill1_setting"    "es_xsetinfo wcs_gravity 0.71|es_xsetinfo wcs_gravity 0.64|es_xsetinfo wcs_gravity 0.58"
    "skill1_cmd"        "es es_xdelayed 2 est_SetGravity event_var(userid) server_var(wcs_gravity);es es_xkeysetvalue WCSuserdata event_var(userid) gravity server_var(wcs_gravity);wcs_getlanguage wcs_lng wcs_lng_r_levitation;es es_xtell event_var(userid) #multi server_var(wcs_lng)"
    "skill1_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 2 60 100 0.8 0 20 100 255 1"

    "skill2_setting"    "es_xsetinfo wcs_speed 1.08|es_xsetinfo wcs_speed 1.16|es_xsetinfo wcs_speed 1.22"
    "skill2_cmd"        "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then es est_Speed event_var(userid) server_var(wcs_speed);es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);wcs_getlanguage wcs_lng wcs_lng_r_unholyact;es es_xtell event_var(userid) #multi server_var(wcs_lng)"
    "skill2_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 overlays/shorewave001a.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 250 190 3 150 100 0 155 115 100 200 1"
   
    "skill3_setting"    "es_xsetinfo wcs_multiplier 1.16|es_xsetinfo wcs_multiplier 1.24|es_xsetinfo wcs_multiplier 1.34"
    "skill3_cmd"        "es es_xkeysetvalue WCSuserdata event_var(userid) longjump server_var(wcs_multiplier);wcs_getlanguage wcs_lng wcs_lng_r_longjump;es es_xtell event_var(userid) #multi server_var(wcs_lng)"
    "skill3_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 1 30 100 0.8 255 100 100 255 1"

    "skill4_setting"    "0"
    "skill4_cmd"        "es es_xdoblock wcs/WCSultimates/wcs_ulti_skinmenu;es es_xtell server_var(wcs_userid) #multi Choose a skin.;es es_xdoblock wcs/WCSultimates/hnsnormal;es es_tell server_var(wcs_userid) #multi #green Warning, certains models may have secondary effects."
    "skill4_sfx"        "0"
    "ultimate_cooldown" "0"
  }

Please add it to your server!

[Spoiler]
Thanks to holliday who helped me fixing it and gave me the sfx.

Normaly it 100% works!!!
Deleted and replaced a lot of crashing/noworking skins.
Fixed bugs.
TESTED AND 100% WORKING
But tell me if there is a bug!

Only one bug that i cant fix : the other races can use the skin menu at spawn...
« Last Edit: March 05, 2008, 07:44:59 PM by Berettonawak »
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

Offline Zero Skillz

  • Level 7 Expert
  • *****
  • Posts: 525
Re: Hide and Seek
« Reply #1 on: February 27, 2008, 04:20:53 PM »
ya the only problem is that you use wpmenu.... which about 85%  of menus use that name (thanks to holliay) cause everyone coppies his format... but ya, you should change wpmenu to like HASmenu or something like that
Hide
And
Seak
if you were wondering why i said HAS... ok ya other wise nice ideas.. i'll test it later on today.

Offline Angelღ

  • Level 7 Expert
  • *****
  • Posts: 334
Re: Hide and Seek
« Reply #2 on: February 27, 2008, 08:20:01 PM »
Now why build a Cade BE THE CADE RAWR
"Death is just the first step"

~AJ

Offline =DR= king

  • Level 5 Trained Intermediate
  • *****
  • Posts: 113
Re: Hide and Seek
« Reply #3 on: February 28, 2008, 01:24:43 PM »
dont work for me

Offline Berettonawak

  • French
  • Level 7 Expert
  • *****
  • Posts: 3147
  • Country: 00
  • Big Berettonawak is watching you...
    • Coding-Alliance.Com : A bunch of coders? Why not a bunch of players? :P
Re: Hide and Seek
« Reply #4 on: February 28, 2008, 01:31:46 PM »
What doesn't work?
Holliday tested it this morning and he helped me fixing bugs.
If the popup doesn't appear, it means that you haven't loaded popup.
Add es_load popup to your autoexec.
Or maybe you have not installed popup.
Try the new one i've just posted. It should work.
Notably replaced  (thanks to holliday) some wcsultimates by WCSultimates (loool).
This one will work!
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

Offline Berettonawak

  • French
  • Level 7 Expert
  • *****
  • Posts: 3147
  • Country: 00
  • Big Berettonawak is watching you...
    • Coding-Alliance.Com : A bunch of coders? Why not a bunch of players? :P
Re: Hide and Seek
« Reply #5 on: February 28, 2008, 05:54:34 PM »
One of my friend tried it. It works.
But holliday said  :
Quote
Hl2 models are not stable
and he's right. Police may crash your server.
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

Offline Zero Skillz

  • Level 7 Expert
  • *****
  • Posts: 525
Re: Hide and Seek
« Reply #6 on: February 28, 2008, 09:02:05 PM »
take out police then

Offline jimbodude

  • Level 2 Apprentice
  • **
  • Posts: 57
Re: Hide and Seek
« Reply #7 on: February 28, 2008, 09:35:31 PM »
When i run the ultimate, my screen kinda flashes a bit but no menu comes up..?

Offline unnamed62

  • Level 2 Apprentice
  • **
  • Posts: 44
Re: Hide and Seek
« Reply #8 on: February 29, 2008, 02:05:23 AM »
When i run the ultimate, my screen kinda flashes a bit but no menu comes up..?
Re install the race and re do the block and it should fix it. sometimes resources get screwed up... or at least thats how my comp. explained it to me =/


Offline Berettonawak

  • French
  • Level 7 Expert
  • *****
  • Posts: 3147
  • Country: 00
  • Big Berettonawak is watching you...
    • Coding-Alliance.Com : A bunch of coders? Why not a bunch of players? :P
Re: Hide and Seek
« Reply #9 on: February 29, 2008, 09:14:20 AM »
Ok no popup?
Are you sure you loaded popup?
[Spoiler]
The first time i tested that ultimate i forgot loading popup and i didn't know why it  wasn't working xD.
Have you installed the ultimate block?
You have to install it at the end of cstrike/addons/eventscripts/wcs/WCSultimates/es_wcsultimates.txt.
Have you correctly installed the race?
Maybe have you forgotten the number of the race
[Spoiler]
I know you're not dumb but everyone can forget something^^
Police just deleted.
[Spoiler]
PS : es_load popup
« Last Edit: February 29, 2008, 09:19:05 AM by Berettonawak »
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

Offline jimbodude

  • Level 2 Apprentice
  • **
  • Posts: 57
Re: Hide and Seek
« Reply #10 on: February 29, 2008, 09:40:12 PM »
Lol thanks for making me feel like a noob, and yeh i have done all that stuff, what happens now is, the screen flashes, it says pick a skin in chat, but no menu comes up, and yeh i do have popup loaded

Offline Zero Skillz

  • Level 7 Expert
  • *****
  • Posts: 525
Re: Hide and Seek
« Reply #11 on: March 01, 2008, 01:45:48 AM »
do you have it installed >.>

Offline jimbodude

  • Level 2 Apprentice
  • **
  • Posts: 57
Re: Hide and Seek
« Reply #12 on: March 01, 2008, 12:09:45 PM »
Yes -.-

Offline Angelღ

  • Level 7 Expert
  • *****
  • Posts: 334
Re: Hide and Seek
« Reply #13 on: March 02, 2008, 05:57:03 PM »
does the samething for me and i do have it install.
"Death is just the first step"

~AJ

Offline Zero Skillz

  • Level 7 Expert
  • *****
  • Posts: 525
Re: Hide and Seek
« Reply #14 on: March 02, 2008, 09:10:26 PM »
his coding is buged
Code: [Select]
block wcs_ulti_skinmenu
{
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_umenu start
needs to be
Code: [Select]
block wcs_ulti_skinmenu
{
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_skinmenu start

that hapens numerous times.