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-11-02 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
November 02, 2009, 10:07:23 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: WCS Tournament being opened for applications!

Post here for signups!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1] 2   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Antlion and Antlion Guard  (Read 268 times)
Loaded
Level 2 Apprentice
**
Offline Offline

Posts: 54



« on: August 05, 2009, 03:48:04 AM »

Here are two of my first races I have posted here on the forums. They both are knife races.

Code:
"3"
  {
    "name"              "Antlion"
    "author"            "Loaded"
    "shortdescription"  "rawr"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "restrict_shop" "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es es_xdelayed 1 est_RestrictAll event_var(userid);es es_xdelayed 1.2 est_unrestrict event_var(userid) weapon_knife;es es_xdelayed 1.5 est_give event_var(userid) weapon_knife;"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "5"
    "numberoflevels"    "4"
    "skillnames"        "Ant Speed|Lion Strength|Antlion Brutality|Antlion Swarm|Antlion Burrow"
    "skilldescr"        "Fast like an Ant|Strong like a lion|+25 Knife damage|Gain 2.0 speed when shot|Burrow to become completely invisible|"
    "skillcfg"          "player_spawn|player_spawn|player_attacker|player_victim|player_ultimate|

    "skill1_setting"    "es_xsetinfo wcs_speed 1.35|es_xsetinfo wcs_speed 1.5|es_xsetinfo wcs_speed 1.65|es_xsetinfo wcs_speed 1.8|"
    "skill1_cmd"        "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_tmp) > server_var(wcs_speed)) then es_xsetinfo wcs_speed server_var(wcs_tmp);es es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es est_Speed event_var(userid) server_var(wcs_speed)"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xset wcs_addhealth 25|es_xset wcs_addhealth 50|es_xset wcs_addhealth 75|es_xset wcs_addhealth 100|"
    "skill2_cmd"        "es est_health event_var(userid) + server_var(wcs_addhealth)"
    "skill2_sfx"        "0"
 
    "skill3_setting"    "es_xsetinfo wcs_chance 25|es_xsetinfo wcs_chance 50|es_xsetinfo wcs_chance 75|es_xsetinfo wcs_chance 100|"
    "racealias_ALAB"    "es wcs_dealdamage event_var(attacker) event_var(userid) 25;"
    "skill3_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_ALAB"
    "skill3_sfx"        "0"

    "skill4_setting"    "es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 32|es_xsetinfo wcs_chance 34|es_xsetinfo wcs_chance 100"
    "racealias_ALAB2"   "es est_playplayer server_var(wcs_userid) npc/scanner/scanner_nearmiss1.wav;es est_freeze server_var(wcs_userid) 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es es_xkeysetvalue WCSuserdata server_var(wcs_userid) freeze 1;es es_xtell server_var(wcs_userid) #multi #lightgreenYou are now #greenFrozen Invisible #lightgreenpess ultimate again to become visible"
    "racealias_ALAB1"   "es est_playplayer server_var(wcs_userid) npc/scanner/scanner_nearmiss2.wav;es est_freeze server_var(wcs_userid) 0;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 1;es es_xkeysetvalue WCSuserdata server_var(wcs_userid) freeze 0;es_delayed 1.3 ma_renderfx server_var(wcs_userid) 13"
    "skill4_cmd"        "es_xsetinfo wcs_freeze 0;es es_xkeygetvalue wcs_freeze WCSuserdata server_var(wcs_userid) freeze;es es_xif (server_var(wcs_freeze) = 0) then racealias_ALAB2;es es_xif (server_var(wcs_freeze) = 1) then racealias_ALAB1"
    "skill4_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 sprites/crosshairs.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 40 90 0.5 50 30 0 155 115 100 200 1"
    "ultimate_cooldown" "0"

  }


Code:
"4"
  {
    "name"              "Antlion Guard"
    "author"            "Loaded"
    "shortdescription"  "RAWR"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "restrict_shop" "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es es_xdelayed 0.5 est_Speed event_var(userid) 0.8; es es_xdelayed 1 est_RestrictAll event_var(userid);es es_xdelayed 1.2 est_unrestrict event_var(userid) weapon_knife;es es_xdelayed 1.5 est_give event_var(userid) weapon_knife;"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "5"
    "numberoflevels"    "4"
    "skillnames"        "Ant Guard Speed|Lion Guard Strength|Antlion Guard Brutality|Antlion Guard Perseverance|Antlion Guard Burrow"
    "skilldescr"        "Fast like an Ant Guard|Strong like a lion Guard|+75 Knife damage|Gain Health When Shot|Burrow to become completely invisible, but due to being much larger you can only burrow and unburrow every 5 seconds|"
    "skillcfg"          "player_spawn|player_spawn|player_attacker|player_victim|player_ultimate|

    "skill1_setting"    "es_xsetinfo wcs_speed 0.9|es_xsetinfo wcs_speed 1|es_xsetinfo wcs_speed 1.1|es_xsetinfo wcs_speed 1.2|"
    "racealias_ALGAGS"  "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_tmp) > server_var(wcs_speed)) then es_xsetinfo wcs_speed server_var(wcs_tmp);es es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es est_Speed event_var(userid) server_var(wcs_speed)"
    "skill3_cmd"        "es es_xdelayed 1 racealias_ALGAGS;"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xset wcs_addhealth 50|es_xset wcs_addhealth 100|es_xset wcs_addhealth 150|es_xset wcs_addhealth 200|"
    "skill2_cmd"        "es est_health event_var(userid) + server_var(wcs_addhealth)"
    "skill2_sfx"        "0"
 
    "skill3_setting"    "es_xsetinfo wcs_chance 25|es_xsetinfo wcs_chance 50|es_xsetinfo wcs_chance 75|es_xsetinfo wcs_chance 100|"
    "racealias_ALAB"    "es wcs_dealdamage event_var(attacker) event_var(userid) 75;"
    "skill3_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_ALAB"
    "skill3_sfx"        "0"

    "skill4_setting"    "es_xset wcs_addhealth 10; es_xsetinfo wcs_chance 15 |es_xset wcs_addhealth 25; es_xsetinfo wcs_chance 30|es_xset wcs_addhealth 40; es_xsetinfo wcs_chance 45|es_xset wcs_addhealth 50; es_xsetinfo wcs_chance 60|"
    "skill4_cmd"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then est_isalive wcs_alive event_var(userid);if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (server_var(wcs_alive) = 1) then es es_xdelayed 0.3 est_health event_var(userid) + server_var(wcs_addhealth)"
    "skill4_sfx"        "0"

    "skill5_setting"    "es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 32|es_xsetinfo wcs_chance 34|es_xsetinfo wcs_chance 100"
    "racealias_ALGAGB2" "es est_playplayer server_var(wcs_userid) npc/scanner/scanner_nearmiss1.wav;es est_freeze server_var(wcs_userid) 1;es est_setplayercolor server_var(wcs_userid) 255 255 255 0 1;es es_xkeysetvalue WCSuserdata server_var(wcs_userid) freeze 1;es es_xtell server_var(wcs_userid) #multi #lightgreenYou are now #greenFrozen Invisible #lightgreenpess ultimate again to become visible"
    "racealias_ALGAGB1" "es est_playplayer server_var(wcs_userid) npc/scanner/scanner_nearmiss2.wav;es est_freeze server_var(wcs_userid) 0;es est_setplayercolor server_var(wcs_userid) 255 255 255 255 1;es es_xkeysetvalue WCSuserdata server_var(wcs_userid) freeze 0;es_delayed 1.3 ma_renderfx server_var(wcs_userid) 13"
    "skill5_cmd"        "es_xsetinfo wcs_freeze 0;es es_xkeygetvalue wcs_freeze WCSuserdata server_var(wcs_userid) freeze;es es_xif (server_var(wcs_freeze) = 0) then racealias_ALGAGB2;es es_xif (server_var(wcs_freeze) = 1) then racealias_ALGAGB1"
    "skill5_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 sprites/crosshairs.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 40 90 0.5 50 30 0 155 115 100 200 1"
    "ultimate_cooldown" "5"

  }

EDIT: I took out the models.
« Last Edit: September 03, 2009, 04:06:08 AM by Loaded » Logged
<---TexNo--->
Level 7 Expert
*****
Offline Offline

Norway

Posts: 687


< Need Help ? >


WWW
texno755 or nichosv
gameren755

myServer 83.142.49.95:28015
(Warning: click connects through Steam)
« Reply #1 on: August 05, 2009, 04:01:13 AM »

es est_SetModel event_var(userid) antlion
if you want Antlion Model, sry dont have antlionguard...
Dunno if it works with.
es est_SetModel event_var(userid) antlionguard
Make a test
but Nice race tough
And its for Player_spawn_cmd
« Last Edit: August 05, 2009, 04:07:00 AM by <---TexNo---> » Logged

Want me to make a you a private race ?. Any price over 4 $
race request ??..
Just Call me Tex
Loaded
Level 2 Apprentice
**
Offline Offline

Posts: 54



« Reply #2 on: August 05, 2009, 04:36:02 AM »

well they both work for me.
Logged
<---TexNo--->
Level 7 Expert
*****
Offline Offline

Norway

Posts: 687


< Need Help ? >


WWW
texno755 or nichosv
gameren755

myServer 83.142.49.95:28015
(Warning: click connects through Steam)
« Reply #3 on: August 05, 2009, 05:22:37 AM »

well they both work for me.
Does both models work or races ?
Logged

Want me to make a you a private race ?. Any price over 4 $
race request ??..
Just Call me Tex
Loaded
Level 2 Apprentice
**
Offline Offline

Posts: 54



« Reply #4 on: August 05, 2009, 06:20:33 AM »

both, the models work fine and so do the race. At least the do for me, let me know if you find any bugs.
Logged
Petru
Guest
« Reply #5 on: August 05, 2009, 06:55:40 PM »

both, the models work fine and so do the race. At least the do for me, let me know if you find any bugs.
i found a bug Sad the antlions have no css animations Sad Tongue
Logged
Loaded
Level 2 Apprentice
**
Offline Offline

Posts: 54



« Reply #6 on: August 05, 2009, 08:05:06 PM »

the antlion looks and moves fine, only the antlion guard is a little funky when it moves.
Logged
Petru
Guest
« Reply #7 on: August 05, 2009, 08:08:28 PM »

the antlion looks and moves fine, only the antlion guard is a little funky when it moves.
it might move fine but it have no css anims Smiley
Logged
M.R.
Level 5 Trained Intermediate
*****
Offline Offline

Denmark Denmark

Posts: 104




ansix

myServer 77.92.67.252:27016
(Warning: click connects through Steam)
« Reply #8 on: August 06, 2009, 04:17:32 PM »

it looks pretty gay when u walk with those models, but can't see the 25% self coded?
Looks like 100% copy paste, the only stuff u made is changing the value of the skills ?
Logged

<---TexNo--->
Level 7 Expert
*****
Offline Offline

Norway

Posts: 687


< Need Help ? >


WWW
texno755 or nichosv
gameren755

myServer 83.142.49.95:28015
(Warning: click connects through Steam)
« Reply #9 on: August 06, 2009, 04:38:16 PM »

it looks pretty gay when u walk with those models, but can't see the 25% self coded?
Looks like 100% copy paste, the only stuff u made is changing the value of the skills ?

looks like 125 % C&P, its old skills, and looks the same.
So Loaded, Tell us whats self coded ...
Logged

Want me to make a you a private race ?. Any price over 4 $
race request ??..
Just Call me Tex
Loaded
Level 2 Apprentice
**
Offline Offline

Posts: 54



« Reply #10 on: August 06, 2009, 11:05:32 PM »

by self coded I not saying its new skills i'm just saying I spent the time to write out some of the skills. Granted they are basic I still coded them my self. I c/p the ultimates, the speed, and damage. I wrote out the player_spawn_cmd, both health skill, and the antlion guards skill Antlion Guard Perseverance. I never said I self coded brand new skills, but I actually spent the time to write out some of the skills my self.
Logged
Petru
Guest
« Reply #11 on: August 06, 2009, 11:07:18 PM »

by self coded I not saying its new skills i'm just saying I spent the time to write out some of the skills. Granted they are basic I still coded them my self. I c/p the ultimates, the speed, and damage. I wrote out the player_spawn_cmd, both health skill, and the antlion guards skill Antlion Guard Perseverance. I never said I self coded brand new skills, but I actually spent the time to write out some of the skills my self.
fix animations please :/
Logged
<---TexNo--->
Level 7 Expert
*****
Offline Offline

Norway

Posts: 687


< Need Help ? >


WWW
texno755 or nichosv
gameren755

myServer 83.142.49.95:28015
(Warning: click connects through Steam)
« Reply #12 on: August 06, 2009, 11:11:58 PM »

Its, a HL2 model if you screw it you will see error .
Logged

Want me to make a you a private race ?. Any price over 4 $
race request ??..
Just Call me Tex
Petru
Guest
« Reply #13 on: August 06, 2009, 11:41:34 PM »

Its, a HL2 model if you screw it you will see error .
what do you mean?
Logged
<---TexNo--->
Level 7 Expert
*****
Offline Offline

Norway

Posts: 687


< Need Help ? >


WWW
texno755 or nichosv
gameren755

myServer 83.142.49.95:28015
(Warning: click connects through Steam)
« Reply #14 on: August 07, 2009, 12:15:11 AM »

forget it  Grin
Logged

Want me to make a you a private race ?. Any price over 4 $
race request ??..
Just Call me Tex
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 09:26:51 PM
Inn norway, I get Free boobs lol XD
Today at 09:15:54 PM
it costs you 20$ to see your boobs ? Lol
Today at 09:07:19 PM
sure why not...wana see my real boobs cost me $20
Today at 07:07:21 PM
are you a girl ? Cheesy
Today at 07:00:39 PM
good thanks
Today at 06:25:06 PM
How's the girls?
Today at 06:21:15 PM
hehe,
Recent
[Today at 10:00:26 PM]

[Today at 09:51:18 PM]

[Today at 09:16:52 PM]

[Today at 05:31:38 PM]

[Today at 05:30:57 PM]

[Today at 12:23:25 PM]

[Today at 11:53:14 AM]

[Today at 09:29:11 AM]

[Today at 01:00:20 AM]

[November 01, 2009, 11:03:10 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.128 seconds with 25 queries.