May 27, 2018, 05:51:30 PM

Author Topic: Approved ~ [Effects]  (Read 25287 times)

Offline joshtrav

  • Level 3 Trained Apprentice
  • ***
  • Posts: 71
  • Country: 00
  • www.CEGamer.com
    • Carbon Era Gamer
Approved ~ [Effects]
« on: October 05, 2010, 07:59:30 PM »
This is the current breakdown of est_effect support, a companion project begun by Strickened and myself.
Apologies for the delay but the deal made with Holliday fell through, as most of the deals made with Holliday have.
Current release and information will be updated in this thread but downloads will occur on the SM website.

Link: http://forums.alliedmods.net/showthread.php?p=1316309
« Last Edit: October 09, 2010, 07:05:50 PM by La Muerte »

Baster

  • Guest
Re: [Effects]
« Reply #1 on: October 05, 2010, 08:07:36 PM »
the old effekts works again ?

Offline Strickened

  • Level 7 Expert
  • *****
  • Posts: 181
  • Country: 00
  • <3 WCS :)
    • WCS UK Official Website
Re: [Effects]
« Reply #2 on: October 05, 2010, 08:13:26 PM »
If you read the link above, only a few effects are working at the moment, we have them all written, it's just a case of merging all the effects into one file and then testing them for a few days.

Baster

  • Guest
Re: [Effects]
« Reply #3 on: October 05, 2010, 08:23:27 PM »
sorry my englisch is really bad ;)

Offline Jhonam

  • Level 7 Expert
  • *****
  • Posts: 1157
  • Country: ru
Re: [Effects]
« Reply #4 on: October 05, 2010, 09:06:49 PM »
I tried the new effects in the console the following error:
Code: [Select]

DataTable warning:: Out-of-range value (150.000000) in SendPropFloat 'm_fWidth'
, Clamping.
DataTable warning:: Out-of-range value (150.000000) in SendPropFloat 'm_fEndWid
th ', clamping.

How do I fix them?

Race:

Code: [Select]
"1"
  {
    "name"              "The Starter"
    "author"            "XarcZai"
    "shortdescription"  "No Ultimate"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "restrict_shop"     "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "0"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "4"
    "skillnames"        "Speed|Levitation|Health|Damage"
    "skilldescr"        "Faster|Jump Higher|Gain Health at Spawn|Do More Damage"
    "skillcfg"          "player_spawn|player_spawn|player_spawn|player_attacker"

    "skill1_setting" "es_xset wcs_speed 1.24;es_xset wcs_alpha 70|es_xset wcs_speed 1.28;es_xset wcs_alpha 90|es_xset wcs_speed 1.42;es_xset wcs_alpha 110|es_xset wcs_speed 1.66;es_xset wcs_alpha 130"
    "skill1_cmd" "es_keygetvalue wcs_tmp WCSuserdata event_var(userid) speed;if (server_var(wcs_speed) > server_var(wcs_tmp)) then es est_Speed event_var(userid) server_var(wcs_speed);if (server_var(wcs_speed) > server_var(wcs_tmp)) then es_keysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);wcs_getlanguage wcs_lng wcs_lng_r_unholyact;es_tell event_var(userid) #multi server_var(wcs_lng)"
    "skill1_sfx" "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 11 #a 0 sprites/steam1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2 3 255"
 
    "skill2_setting" "es_xset wcs_gravity 0.6;es_xset wcs_alpha 70|es_xset wcs_gravity 0.52;es_xset wcs_alpha 90|es_xset wcs_gravity 0.44;es_xset wcs_alpha 110|es_xset wcs_gravity 0.26;es_xset wcs_alpha 130"
    "skill2_cmd" "es_delayed 2 est_SetGravity event_var(userid) server_var(wcs_gravity);es_keysetvalue WCSuserdata event_var(userid) gravity server_var(wcs_gravity);wcs_getlanguage wcs_lng wcs_lng_r_levitation;es_tell event_var(userid) #multi server_var(wcs_lng)"
    "skill2_sfx" "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 40;es est_effect 10 #a 0 sprites/640_logo.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_xset wcs_addhealth 30;es_xsetinfo wcs_alpha 80|es_xset wcs_addhealth 35;es_xset wcs_alpha 90|es_xset wcs_addhealth 43;es_xset wcs_alpha 100|es_xset wcs_addhealth 50;es_xset wcs_alpha 110"
    "skill3_cmd" "es est_Health event_var(userid) + server_var(wcs_addhealth);es_tell event_var (userid) #multi #lightgreen : #green Ritual #lightgreen activated."
    "skill3_sfx" "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 40;es est_effect 10 #a 0 models/effects/splodecard2_sheet.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 250 190 3 150 100 1 155 115 100 200 3;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 50;es est_effect 11 #a 0 models/effects/splodecard2_sheet.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2 2 255"
 
    "skill4_setting"    "es_xset wcs_multiplier 1.6|es_xset wcs_multiplier 1.9|es_xset wcs_multiplier 2.1|es_xset wcs_multiplier 2.4"
    "racealias_rai1"    "es_set wcs_dmg event_var(dmg_health);es_math wcs_dmg float;es_math 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);wcs_getlanguage wcs_lng wcs_lng_damage;esnq es_tell event_var(attacker) + server_var(wcs_dmg) server_var(wcs_lng);esnq es_tell event_var(userid) + server_var(wcs_dmg) server_var(wcs_lng)"
    "skill4_cmd"        "if (server_var(wcs_dice) <= 15) then est_IsAlive wcs_alive event_var(userid);if (server_var(wcs_dice) <= 15) then if (server_var(wcs_alive) = 1) then racealias_rai1"
    "skill4_sfx"        "if (server_var(wcs_dice) <= 15) then es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= 15) then es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);if (server_var(wcs_dice) <= 15) then if (server_var(wcs_alive) = 1) then est_Effect 3 #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 13 16 100 155 255 255"
}
I - Russian, and that says it all...

Offline necavi

  • Level 7 Expert
  • *****
  • Posts: 466
  • Country: 00
Re: [Effects]
« Reply #5 on: October 05, 2010, 09:16:54 PM »
One suggestion: Create a cvar that allows you to switch between ES style player filtering and sourcemod style player filtering :P

Offline joshtrav

  • Level 3 Trained Apprentice
  • ***
  • Posts: 71
  • Country: 00
  • www.CEGamer.com
    • Carbon Era Gamer
Re: [Effects]
« Reply #6 on: October 05, 2010, 09:17:56 PM »
You mean userid vs client?

Offline Strickened

  • Level 7 Expert
  • *****
  • Posts: 181
  • Country: 00
  • <3 WCS :)
    • WCS UK Official Website
Re: [Effects]
« Reply #7 on: October 05, 2010, 09:22:59 PM »
I tried the new effects in the console the following error:
Code: [Select]

DataTable warning:: Out-of-range value (150.000000) in SendPropFloat 'm_fWidth'
, Clamping.
DataTable warning:: Out-of-range value (150.000000) in SendPropFloat 'm_fEndWid
th ', clamping.

How do I fix them?

Race:

Code: [Select]
"1"
  {
    "name"              "The Starter"
    "author"            "XarcZai"
    "shortdescription"  "No Ultimate"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "restrict_shop"     "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "0"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "4"
    "skillnames"        "Speed|Levitation|Health|Damage"
    "skilldescr"        "Faster|Jump Higher|Gain Health at Spawn|Do More Damage"
    "skillcfg"          "player_spawn|player_spawn|player_spawn|player_attacker"

    "skill1_setting" "es_xset wcs_speed 1.24;es_xset wcs_alpha 70|es_xset wcs_speed 1.28;es_xset wcs_alpha 90|es_xset wcs_speed 1.42;es_xset wcs_alpha 110|es_xset wcs_speed 1.66;es_xset wcs_alpha 130"
    "skill1_cmd" "es_keygetvalue wcs_tmp WCSuserdata event_var(userid) speed;if (server_var(wcs_speed) > server_var(wcs_tmp)) then es est_Speed event_var(userid) server_var(wcs_speed);if (server_var(wcs_speed) > server_var(wcs_tmp)) then es_keysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);wcs_getlanguage wcs_lng wcs_lng_r_unholyact;es_tell event_var(userid) #multi server_var(wcs_lng)"
    "skill1_sfx" "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 11 #a 0 sprites/steam1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2 3 255"
 
    "skill2_setting" "es_xset wcs_gravity 0.6;es_xset wcs_alpha 70|es_xset wcs_gravity 0.52;es_xset wcs_alpha 90|es_xset wcs_gravity 0.44;es_xset wcs_alpha 110|es_xset wcs_gravity 0.26;es_xset wcs_alpha 130"
    "skill2_cmd" "es_delayed 2 est_SetGravity event_var(userid) server_var(wcs_gravity);es_keysetvalue WCSuserdata event_var(userid) gravity server_var(wcs_gravity);wcs_getlanguage wcs_lng wcs_lng_r_levitation;es_tell event_var(userid) #multi server_var(wcs_lng)"
    "skill2_sfx" "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 40;es est_effect 10 #a 0 sprites/640_logo.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_xset wcs_addhealth 30;es_xsetinfo wcs_alpha 80|es_xset wcs_addhealth 35;es_xset wcs_alpha 90|es_xset wcs_addhealth 43;es_xset wcs_alpha 100|es_xset wcs_addhealth 50;es_xset wcs_alpha 110"
    "skill3_cmd" "es est_Health event_var(userid) + server_var(wcs_addhealth);es_tell event_var (userid) #multi #lightgreen : #green Ritual #lightgreen activated."
    "skill3_sfx" "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 40;es est_effect 10 #a 0 models/effects/splodecard2_sheet.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 250 190 3 150 100 1 155 115 100 200 3;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 50;es est_effect 11 #a 0 models/effects/splodecard2_sheet.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2 2 255"
 
    "skill4_setting"    "es_xset wcs_multiplier 1.6|es_xset wcs_multiplier 1.9|es_xset wcs_multiplier 2.1|es_xset wcs_multiplier 2.4"
    "racealias_rai1"    "es_set wcs_dmg event_var(dmg_health);es_math wcs_dmg float;es_math 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);wcs_getlanguage wcs_lng wcs_lng_damage;esnq es_tell event_var(attacker) + server_var(wcs_dmg) server_var(wcs_lng);esnq es_tell event_var(userid) + server_var(wcs_dmg) server_var(wcs_lng)"
    "skill4_cmd"        "if (server_var(wcs_dice) <= 15) then est_IsAlive wcs_alive event_var(userid);if (server_var(wcs_dice) <= 15) then if (server_var(wcs_alive) = 1) then racealias_rai1"
    "skill4_sfx"        "if (server_var(wcs_dice) <= 15) then es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= 15) then es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);if (server_var(wcs_dice) <= 15) then if (server_var(wcs_alive) = 1) then est_Effect 3 #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 13 16 100 155 255 255"
}

Use numbers that are less then 150. The numbers are too high.

Offline necavi

  • Level 7 Expert
  • *****
  • Posts: 466
  • Country: 00
Re: [Effects]
« Reply #8 on: October 05, 2010, 09:23:50 PM »
Yes, and things like @<filter> because if this is going to be a console command, we might as well be able to use it as such, for things like rapid development and testing of effects (I only ask considering that basically every sourcemod command from here to next week has that integrated, so adding it should be a helluva lot easier than adding the ES filtering.

Offline Stinkyfax

  • I <3 WCS
  • Level 7 Expert
  • *****
  • Posts: 2113
  • Country: 00
  • WoW mod
    • World of Warcraft mod Servers
Re: [Effects]
« Reply #9 on: October 05, 2010, 09:26:42 PM »
If you read the link above, only a few effects are working at the moment, we have them all written, it's just a case of merging all the effects into one file and then testing them for a few days.
we both know that effects are ran by SDK. Considering you need all the EST effects around here, what is the real use of them?  I doubt it's testing, 1 effect is enough to test the syntax, rest does SDK and whether it's bugged or not you can not help it.



Offline Jhonam

  • Level 7 Expert
  • *****
  • Posts: 1157
  • Country: ru
Re: [Effects]
« Reply #10 on: October 05, 2010, 09:33:45 PM »


Use numbers that are less then 150. The numbers are too high.

But I do not see where those values - exactly where the error in what numbers?
In  est_Effect 03 written the following values:
Code: [Select]
est_Effect 03 <player Filter> <delay> <model> <start ent> <end ent> <framerate> <life> <start width> <end width> <fade distance> <amplitude> <Red> < Green> <Blue> <Alpha> <speed>
But they do not coincide with what is in the race, as well as the values of other effects - where it is necessary to fix it?
« Last Edit: October 05, 2010, 09:35:38 PM by Jhonam »
I - Russian, and that says it all...

Offline Strickened

  • Level 7 Expert
  • *****
  • Posts: 181
  • Country: 00
  • <3 WCS :)
    • WCS UK Official Website
Re: [Effects]
« Reply #11 on: October 05, 2010, 09:37:50 PM »


Use numbers that are less then 150. The numbers are too high.

But I do not see where those values - exactly where the error in what numbers?
In  est_Effect 03 written the following values:
Code: [Select]
est_Effect 03 <player Filter> <delay> <model> <start ent> <end ent> <framerate> <life> <start width> <end width> <fade distance> <amplitude> <Red> < Green> <Blue> <Alpha> <speed>
But they do not coincide with what is in the race, as well as the values of other effects - where it is necessary to fix it?

<start width> <end width>

You're putting those values to 150, make them lower.

Offline Jhonam

  • Level 7 Expert
  • *****
  • Posts: 1157
  • Country: ru
Re: [Effects]
« Reply #12 on: October 05, 2010, 09:43:59 PM »
Quote

<start width> <end width>

You're putting those values to 150, make them lower.

But where these values are specified in this race? I can not understand.
I - Russian, and that says it all...

Offline Biggy

  • Level 2 Apprentice
  • **
  • Posts: 46
  • <3 WCS :)
Re: [Effects]
« Reply #13 on: October 05, 2010, 09:45:20 PM »
Anyone got a list of the effects and what each looks like?

Offline necavi

  • Level 7 Expert
  • *****
  • Posts: 466
  • Country: 00
Re: [Effects]
« Reply #14 on: October 05, 2010, 09:46:57 PM »
Here's a list of effects: http://forums.alliedmods.net/showthread.php?p=1316309 use 'em ingame and see.