|
NovaKiller
|
 |
« on: September 22, 2007, 02:10:12 PM » |
|
Hey agian if you need any help by fixing a race i will gladly help you if i can.
|
|
|
|
|
Logged
|
|
|
|
| |
|
NovaKiller
|
 |
« Reply #1 on: September 22, 2007, 05:12:36 PM » |
|
I dont think i can do that. You know i cant even find out how wcs_dalias works.
|
|
|
|
|
Logged
|
|
|
|
|
Rasmus
|
 |
« Reply #2 on: December 09, 2007, 12:41:41 PM » |
|
Hej Nova. tænkte på om du kunne forklare mig lidt om hvordan man selv skriver en race? jeg har lavet nogle copy/paste races, og de er da også sjove, men kunne godt tænke mig at bygge min egen race fra bunden. er det noget du kan hjælpe med? hilsen Rasmus (CSS: 5 Halls = diaré)
|
|
|
|
|
Logged
|
where would you put the comma in the following telegram from a wife, to her husband in the navy? "Not getting any better hurry home!"
|
|
|
|
Rasmus
|
 |
« Reply #3 on: December 09, 2007, 02:50:00 PM » |
|
ok. thanks for the advice. will try it. one more thing nova. i have been playing on you server for some while and liked some of your items (tome of lvl and so on) and i have made some myself, but, when i buy my custom items, it doesn't charge me any money. can you tell me why?
|
|
|
|
|
Logged
|
where would you put the comma in the following telegram from a wife, to her husband in the navy? "Not getting any better hurry home!"
|
|
|
|
NovaKiller
|
 |
« Reply #4 on: December 09, 2007, 06:46:32 PM » |
|
Try paste your item here, cause i dont know how you made it.
|
|
|
|
|
Logged
|
|
|
|
|
Rasmus
|
 |
« Reply #5 on: December 11, 2007, 06:29:59 PM » |
|
i have fixed the problem, it was because i didn't save it as UTF-8 file, but as normal notepas file:P if i wanna make a "give grenade" skill, how should i do it then?
|
|
|
|
|
Logged
|
where would you put the comma in the following telegram from a wife, to her husband in the navy? "Not getting any better hurry home!"
|
|
|
|
Rasmus
|
 |
« Reply #6 on: December 12, 2007, 09:35:44 PM » |
|
thanks nova, i have done that also, but the skill should give for example lvl 1: 2 nades lvl 2: 4 nades and so on... i know you have a race on "your" server that does that... what i have done is liek following: est_give event_var (userid) weapon_hegrenade and wrote that 5 times. but that only gives 1 and then the rest of the grenades (4) lays on the ground, but i want it to be as ammo, so that i have 5 grenades on me
|
|
|
|
|
Logged
|
where would you put the comma in the following telegram from a wife, to her husband in the navy? "Not getting any better hurry home!"
|
|
|
Puma
Level 0 Beginner
Offline
 Denmark
Posts: 3
|
 |
« Reply #7 on: March 09, 2008, 01:04:18 PM » |
|
Hey there. One of my friends tried to make a race, but it wont load. Racefilechecker doesnt detect any errors. Heres the race(I know its O/P): GeSHi (eventscripts): "79" { "name" "Bunny Funny" "author" "[SB]DarkSiith" "shortdescription" "Worst race evah" "required_level" "0" "maximum_level" "0" "allow_only" "0" "teamlimit" "0" "preloadcmd" "0" "player_spawn_cmd" "0" "round_start_cmd" "0" "round_end_cmd" "0" "numberofskills" "4" "numberoflevels" "8" "skillnames" "Bunnys Camoflauge|Bunnys Stamina|Bunnys Shield|Egg Bomb" "skilldescr" "Makes you 100% invisible|Increase your stamina by 200 each level|Reflects Damage and does mirror dmg|Lay a egg bomb upon Death" "skillcfg" "player_spawn|player_spawn|player_spawn|player_death" "skill1_setting" "es_xsetinfo wcs_invis 300;es_xsetinfo wcs_alpha 60|es_xsetinfo wcs_invis 350;es_xsetinfo wcs_alpha 70|es_xsetinfo wcs_invis 400;es_xsetinfo wcs_alpha 80|es_xsetinfo wcs_invis 450;es_xsetinfo wcs_alpha 90|es_xsetinfo wcs_invis 500;es_xsetinfo wcs_alpha 100|es_xsetinfo wcs_invis 550;es_xsetinfo wcs_alpha 110|es_xsetinfo wcs_invis 600;es_xsetinfo wcs_alpha 120|es_xsetinfo wcs_invis 650;es_xsetinfo wcs_alpha 130" "skill1_cmd" "es_xcopy wcs_tmp wcs_invis;es_xmath wcs_tmp float;es_xmath wcs_tmp / -2.55;es_xmath wcs_tmp + 200;es est_rounddecimal wcs_tmp server_var(wcs_tmp) 0;es es_xkeysetvalue WCSuserdata event_var(userid) invisp server_var(wcs_tmp);es est_setplayercolor event_var(userid) 255 255 255 server_var(wcs_invis) 1;wcs_getlanguage wcs_lng wcs_lng_r_invis;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_xmath wcs_z1 + 30;es est_effect 20 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1)server_var(wcs_z1) 30 60 2 10 0 0 0 255 50 128 10" "skill2_setting" "es_xsetinfo wcs_addhealth 200;es_xsetinfo wcs_alpha 60|es_xsetinfo wcs_addhealth 400;es_xsetinfo wcs_alpha 70|es_xsetinfo wcs_addhealth 600;es_xsetinfo wcs_alpha 80|es_xsetinfo wcs_addhealth 650;es_xsetinfo wcs_alpha 90|es_xsetinfo wcs_addhealth 700;es_xsetinfo wcs_alpha 100|es_xsetinfo wcs_addhealth 750;es_xsetinfo wcs_alpha 110|es_xsetinfo wcs_addhealth 800;es_xsetinfo wcs_alpha 120|es_xsetinfo wcs_addhealth 1000;es_xsetinfo wcs_alpha 130" "skill2_cmd" "es est_Health event_var(userid) + server_var(wcs_addhealth);wcs_getlanguage wcs_lng wcs_lng_r_devotion;es es_xtell event_var(userid) #multi server_var(wcs_lng)" "skill2_sfx" "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_xmath wcs_z2 + 800;es est_effect 6 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 40 10 200 255 205 255" "skill3_setting" "es_xsetinfo wcs_chance 30;es_xsetinfo wcs_divider 40|es_xsetinfo wcs_chance 45;es_xsetinfo wcs_divider 50|es_xsetinfo wcs_chance 55;es_xsetinfo wcs_divider 60|es_xsetinfo wcs_chance 65;es_xsetinfo wcs_divider 80|es_xsetinfo wcs_chance 90;es_xsetinfo wcs_divider 95|es_xsetinfo wcs_chance 100;es_xsetinfo wcs_divider 100|es_xsetinfo wcs_chance 110;es_xsetinfo wcs_divider 120|es_xsetinfo wcs_chance 120;es_xsetinfo wcs_divider 130" "racealias_ne3" "es es_xsetinfo wcs_dmg event_var(dmg_health);es es_xif (server_var(wcs_game) != server_var(wcs_game_css)) then es_xrand wcs_dmg 30 130;es_xmath wcs_dmg float;es es_xmath wcs_dmg / server_var(wcs_divider);es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es wcs_dealdamage event_var(userid) event_var(attacker) server_var(wcs_dmg);wcs_getlanguage wcs_lng wcs_lng_mirrordamage;esnq est_csay event_var(userid) server_var(wcs_dmg) server_var(wcs_lng);esnq est_csay event_var(attacker) server_var(wcs_dmg) server_var(wcs_lng)" "skill3_cmd" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_isalive wcs_alive event_var(attacker);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (server_var(wcs_alive) = 1) then racealias_ne3" "skill3_sfx" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 3 #a 0 sprites/purpleglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 10 10 20 200 200 255" "skill4_setting" "es_xsetinfo wcs_chance 100;es_xsetinfo wcs_magnitude 110;es_xsetinfo wcs_radius 200|es_xsetinfo wcs_chance 100;es_xsetinfo wcs_magnitude 200;es_xsetinfo wcs_radius 400|es_xsetinfo wcs_chance 100;es_xsetinfo wcs_magnitude 250;es_xsetinfo wcs_radius 450|es_xsetinfo wcs_chance 100;es_xsetinfo wcs_magnitude 300;es_xsetinfo wcs_radius 500|es_xsetinfo wcs_chance 100;es_xsetinfo wcs_magnitude 350;es_xsetinfo wcs_radius 550|es_xsetinfo wcs_chance 100;es_xsetinfo wcs_magnitude 400;es_xsetinfo wcs_radius 600|es_xsetinfo wcs_chance 100;es_xsetinfo wcs_magnitude 450;es_xsetinfo wcs_radius 650|es_xsetinfo wcs_chance 100;es_xsetinfo wcs_magnitude 500;es_xsetinfo wcs_radius 700" "skill4_cmd" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xdoblock wcs/WCSultimates/wcs_ulti_suicide" "skill4_sfx" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 4 #a 0 sprites/steam1.vmt server_var(wcs_userid) 0.8 10 5 1 255 100 100 200" "ultimate_cooldown" "0" }
|
|
|
|
|
Logged
|
|
|
|
Fanatic
Level 1 Trained Beginner
Offline
 Netherlands
Posts: 36
|
 |
« Reply #8 on: November 04, 2008, 08:07:21 PM » |
|
I don't have a problem with my race but with my sfx. I have a freezing skill which activates with a chance. If you shoot at someone and this skill is activated I want a blue beam going towards him and a blue glowsprite like he is frozen. The beam works fine, but when I shoot and I don't freeze the enemy, the glowsprite becomes activated. Can someone help me and correct the problem? Here is my skill code: "skill1_setting" "es_xsetinfo wcs_chance 15|es_xsetinfo wcs_chance 18|es_xsetinfo wcs_chance 22||es_xsetinfo wcs_chance 27" "racealias_icecube1" "es est_Freeze event_var(userid) 1;es es_xdelayed 3 wcs_removefx freeze event_var(userid);wcs_getlanguage wcs_lng wcs_lng_r_gotfrozenby;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_attackername);esnq est_csay event_var(userid) server_var(wcs_lng);wcs_getlanguage wcs_lng wcs_lng_r_froze;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_username);esnq est_csay event_var(attacker) server_var(wcs_lng)" //"racealias_icecube1" "es es_xsetplayerprop event_var(userid) CBasePlayer.m_fFlags 32.0;es es_xdelayed 1 wcs_removefx freeze event_var(userid);wcs_getlanguage wcs_lng wcs_lng_r_gotfrozenby;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_attackername);esnq est_csay event_var(userid) server_var(wcs_lng);wcs_getlanguage wcs_lng wcs_lng_r_froze;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_username);esnq est_csay event_var(attacker) server_var(wcs_lng)" "skill1_cmd" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_IsAlive wcs_alive event_var(userid);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (server_var(wcs_alive) = 1) then racealias_icecube1" "skill1_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 est_effect 11 #a 0 sprites/blueglow2.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 3 3 500;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 3 #a 0 sprites/physbeam.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1.5 30 30 150 150 255 255"
|
|
|
|
« Last Edit: November 04, 2008, 08:08:54 PM by Fanatic »
|
Logged
|
|
|
|
Fanatic
Level 1 Trained Beginner
Offline
 Netherlands
Posts: 36
|
 |
« Reply #9 on: November 05, 2008, 08:12:06 AM » |
|
where? And I am having a new problem  When someone is frozen effect 11 is being activated on random positions. And my beam disappeared :O
|
|
|
|
« Last Edit: November 05, 2008, 08:41:32 AM by Fanatic »
|
Logged
|
|
|
|
|
EvilGenuix
|
 |
« Reply #10 on: November 05, 2008, 08:37:46 AM » |
|
where?  Lazy lol, you could have just looked yourself  es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid); es est_effect 11 #a 0 sprites/blueglow2.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 3 3 500;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 3 #a 0 sprites/physbeam.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1.5 30 30 150 150 255 255"
|
|
|
|
|
Logged
|
|
|
|
Fanatic
Level 1 Trained Beginner
Offline
 Netherlands
Posts: 36
|
 |
« Reply #11 on: November 05, 2008, 08:42:27 AM » |
|
It still doesn't work like it should. The beam just disappeared and effect 11 still appears random  EDIT: It works fine now. This is the code: "skill1_sfx" "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);if (server_var(wcs_dice) <= server_var(wcs_chance));es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;if (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 3 #a 0 sprites/physbeam.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1.5 30 30 150 150 255 255;if (server_var(wcs_dice) <= server_var(wcs_chance)) then es est_effect 11 #a 0 sprites/blueglow2.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 3 3 500"
|
|
|
|
« Last Edit: November 05, 2008, 09:15:19 AM by Fanatic »
|
Logged
|
|
|
|
|
Maxxi
|
 |
« Reply #12 on: November 05, 2008, 03:46:47 PM » |
|
It still doesn't work like it should. The beam just disappeared and effect 11 still appears random  EDIT: It works fine now. This is the code: "skill1_sfx" "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);if (server_var(wcs_dice) <= server_var(wcs_chance));es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;if (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 3 #a 0 sprites/physbeam.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1.5 30 30 150 150 255 255;if (server_var(wcs_dice) <= server_var(wcs_chance)) then es est_effect 11 #a 0 sprites/blueglow2.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 3 3 500"
but then when you duck it comes out of your head :  :
|
|
|
|
|
Logged
|
|
|
|
|
Rasmus
|
 |
« Reply #13 on: November 05, 2008, 05:57:53 PM » |
|
then you have to do some es_xmath on your wcs_z. like "es es_xmath wcs_z - 20" this will lower the output point of the effect a little. now, if you dont want it to come out there always, you might have to make it a racealias. so you have: (this will require http://addons.eventscripts.com/addons/view/extendedevents on the server) racealias_sfxDuck & racealias_sfxStand from here it's kind of tough for me, since i dont how to get player_duck into a check, but if you make the skill like the ultimates are made in the es_WCSultimates.txt you can make a block called event player_duck, and build the duck sfx in there. this is my suggestion
|
|
|
|
|
Logged
|
where would you put the comma in the following telegram from a wife, to her husband in the navy? "Not getting any better hurry home!"
|
|
|
|