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 2008-04-10 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
April 10, 2008, 11:55:08 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Remember to check on the FAQ before start posting.
It may save you time and effort.
Also here is the WCS Wiki!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Hades  (Read 86 times)
bonbon
Level 0 Beginner

Offline Offline

Canada Canada

Posts: 7




bonbon367
« on: March 14, 2008, 08:21:06 PM »

Well, I really like Greek Mythology, so this is my first Olympus God race (sequal?)

It's completely origional and isn't boring. The races abilitys also match with what history depicts Hades as!

Skills:
Helm Of Darkness - A helmet given to you by the Cyclopes, which can make you invisible
Riches Of The Earth - You possess the riches of the earth and gain money over time
Scepter Of hades - Send a plague upon your victim chance 10-20%
Seasons Of Phersephone - Each level you have Persephone spends another month of the year with you\n Making you more powerfull

Ultimate
Deadly Pomegrant - Persuade people to eat the Pomegrant seads beside you causing them to stay in the underworld chance 20-60%

Code
GeSHi (python):
from __future__ import division
import wcs, playerlib, es, random, gamethread
from wcs import wcs
 
info = es.AddonInfo()
info['name']        = "Hades Race"
info['version']     = "1.0"
info['author']      = "Bonbon AKA: Bonbon367"
info['url']         = "http://www.notimplementedyet.com"
info['description'] = "A completely origional race for those of you who like Greek Mythology"
 
h = 'Hades'
race = wcs.Race(h)
raceskill = wcs.Race(h).registerSkill
raceskill('Helm Of Darkness', 4, 1, "A helmet given to you by the Cyclopes, which can make you invisible")
raceskill('Riches Of The Earth', 3, 1, "You possess the riches of the earth and gain money over time")
raceskill('Scepter Of Hades', 3, 3, "Send a plague upon your victim chance 10-20%")
raceskill('Seasons Of Persephone', 4, 2, "Each level you have Persephone spends another month of the year with you\n Making you more powerfull")
race.registerUltimate("Deadly Pomegrant", 3, 3, 5, "Persuade people to eat the Pomegrant seads beside you causing them to stay in the underworld chance 20-60%")
race.registerMinLevel(15)
 
def player_ultimate_on(event_var):
userid = int(event_var['userid'])
if wcs.GetRace(userid) == 'Hades':
if wcs.GetLevel(userid, h, 'Deadly Pomegrant'):
wcs.Command(userid).SetCoolDown('Deadly Pomegrant', 20)
if playerlib.getPlayer(userid).attributes['teamid'] == 2: # T
wcs.Command(userid).Near(wcs.GetLevel(userid, h, 'Deadly Pomegrant') * 120, bury, '#ct')
elif playerlib.getPlayer(userid).attributes['teamid'] == 3: # CT
wcs.Command(userid).Near(wcs.GetLevel(userid, h, 'Deadly Pomegrant') * 120, bury, '#t')
 
def bury(userid, attacker):
player_loc = es.getplayerlocation(userid)
playerlib.getPlayer(userid).set('location', [player_loc[0], player_loc[1], player_loc[2] - 60])
gamethread.delayed(wcs.GetLevel(attacker, h, 'Deadly Pomegrant'), playerlib.getPlayer(userid).set, args=('location', [player_loc[0], player_loc[1], player_loc[2]]))
wcs.Effect().Ring3(int(userid), 200, 2, 0, 255, 0)
wcs.Effect().Misc6(int(userid), 2, 4)
 
def player_activate(event_var):
userid = event_var['userid']
gamethread.delayedname(1, 'money_%s'%userid, money_loop, args=(userid))
 
def player_disconnect(event_var):
gamethread.canceldelayed('money_%s'%event_var['userid'])
 
def player_hurt(event_var):
if event_var['weapon'] != 'point_hurt':
userid = int(event_var['userid'])
attacker = int(event_var['attacker'])
if wcs.GetRace(attacker) == 'Hades':
if wcs.GetLevel(attacker, h, 'Scepter Of Hades'):
if random.randint(1, 25 - wcs.GetLevel(attacker, h, 'Scepter Of Hades')) < 7:
wcs.Command(userid).Drain(wcs.GetLevel(attacker, h, 'Scepter Of Hades'), 4 - (wcs.GetLevel(attacker, h, 'Scepter Of Hades') / 2), 8, attacker)
if random.randint(1, 2) == 1:
time = 1
gamethread.delayedname(1, 'Scepter_%s'%userid, scepter_effect_loop, args=(userid, time))
if wcs.GetLevel(attacker, h, 'Seasons Of Persephone'):
if random.randint(1, 12) <= wcs.GetLevel(attacker, h, 'Seasons Of Persephone'):
wcs.Command(userid).Damage(wcs.GetLevel(attacker, h, 'Seasons Of Persephone') * random.randint(1, 3), 32, attacker)
wcs.Effect().Misc1(userid, 1)
wcs.Effect().Beam4(attacker, userid, 1, 0, 255, 0)
 
def scepter_effect_loop(userid, time):
if time <= 8:
wcs.Effect().Ring4(userid, 50, 100, 1, 40, 50, 64, 0, 128)
es.server.queuecmd('est_fade %s 1 0.2 0.2 0 255 0 100'%userid)
time += 1
gamethread.delayedname(1, 'Scepter_%s'%userid, scepter_effect_loop, args=(userid, time))
 
def money_loop(userid):
player = playerlib.getPlayer(userid)
money = player.get('cash')
if wcs.GetRace(int(userid)) == 'Hades':
if wcs.GetLevel(int(userid), h, 'Riches Of The Earth'):
player.set('cash', money + (wcs.GetLevel(userid, h, 'Riches Of The Earth') * 2))
gamethread.delayedname(3, 'money_%s'%userid, money_loop, args=(userid))
else:
gamethread.delayedname(10, 'money_%s'%userid, money_loop, args=(userid))
else:
gamethread.delayedname(10, 'money_%s'%userid, money_loop, args=(userid))
 
def player_spawn(event_var):
userid = int(event_var['userid'])
if wcs.GetRace(userid) == 'Hades':
if wcs.GetLevel(userid, h, 'Helm Of Darkness'):
es.server.queuecmd('est_setplayercolor %s 255 255 255 %s'%(userid, 255 - (wcs.GetLevel(userid, h, 'Helm Of Darkness') * 50)))
if wcs.GetLevel(userid, h, 'Seasons Of Persephone'):
if random.randint(1, 12) <= wcs.GetLevel(userid, h, 'Seasons Of Persephone'):
es.tell(userid, '#multi', '#greenIt\'s Peresphone\'s time to stay in the under world, you have gained extra health and speed')
playerlib.getPlayer(userid).set('speed', 1 + (wcs.GetLevel(userid, h, 'Seasons Of Persephone') / 15))
playerlib.getPlayer(userid).set('health', 100 + (wcs.GetLevel(userid, h, 'Seasons Of Persephone') * 5))
if random.randint(1, 2) <= wcs.GetLevel(userid, h, 'Seasons Of Persephone'):
es.msg('#multi', '#greenDemeter is sad that Peresphone is gone. A shadow of darkness casts over the sun')
for userid in playerlib.getUseridList('#all'):
wcs.Command(int(userid)).Blind(25, 150)
wcs.Effect().Smoke(int(userid))

it has some nice effects IMO, too
« Last Edit: March 14, 2008, 08:22:44 PM by bonbon » Logged
Rotgutts
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 212


Krechure Feature



b0n3s212
Merzlin
« Reply #1 on: March 14, 2008, 09:26:06 PM »

What exactly does the ultimate do?
Logged

Espeladden
Pwning ultra sexy beastly hot legend
Level 7 Expert
*****
Offline Offline

Norway

Posts: 484



WWW
Gastingor
Mursat

myServer 89.145.98.208:27015
(Warning: click connects through Steam)
« Reply #2 on: March 14, 2008, 09:33:50 PM »

Code
GeSHi (python):
 
if playerlib.getPlayer(userid).attributes['teamid'] == 2: # T
wcs.Command(userid).Near(wcs.GetLevel(userid, h, 'Deadly Pomegrant') * 120, [b]bury[/b], '#ct')
elif playerlib.getPlayer(userid).attributes['teamid'] == 3: # CT
wcs.Command(userid).Near(wcs.GetLevel(userid, h, 'Deadly Pomegrant') * 120, [b]bury[/b], '#t')
 
def [b]bury[/b](userid, attacker):
player_loc = es.getplayerlocation(userid)
playerlib.getPlayer(userid).set('location', [player_loc[0], player_loc[1], player_loc[2] - 60])
gamethread.delayed(wcs.GetLevel(attacker, h, 'Deadly Pomegrant'), playerlib.getPlayer(userid).set, args=('location', [player_loc[0],
 

Im guessing it bury's them
Logged

bonbon
Level 0 Beginner

Offline Offline

Canada Canada

Posts: 7




bonbon367
« Reply #3 on: March 14, 2008, 09:53:57 PM »

yeah, it does

<story>
Zeus gave Hades permission to swoop up from the under world and take Persephone as his wife. her mother was not happpy and she was the god of the seasons, so she messed them up soto speak.
so Zeus demanded that Hades give her back toher mom. he did, but he like her so much he persauded her to eat a pomegrant seed which meant that she would have to stay in the underworld (she was sorta attachted so to speak)
now her mother was even more angry so Zeus came up with a compramise 1 season(winter) with hades helpnig him rule the udnerworld the rest, with her mom
</story>
Logged
Jeff
WCS ESP Dev Team
Level 7 Expert

Online Online

United States United States

Posts: 295



WWW
beastrace91
« Reply #4 on: March 14, 2008, 10:37:52 PM »

Rofl just finished this story in my world mythology class...

~J3ff
Logged

bonbon
Level 0 Beginner

Offline Offline

Canada Canada

Posts: 7




bonbon367
« Reply #5 on: March 14, 2008, 10:56:22 PM »

I wish we had that in my school, I'd so get an A
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 08:23:54 PM
not really power, there are bad people and there are people who are killing other people, and there are people who are destroying other people.
Today at 05:07:31 PM
Who's happy ? ^^
Today at 04:45:28 PM
Yea, well be happy that there is still some people whom behave like me... without... the world would be a boring(better) place.... wich sucks...
Today at 02:43:59 PM
i'm not serious, i'm just pointing how do you behave (always)
Today at 10:16:51 AM
all im doing is keeping an uppy attitude... im trying to look a bit positive at this... you arez teh ones always being negative... yo uguys shouldnt be so F*kin Serious...
April 09, 2008, 08:11:39 PM
thats not positive feedback at all, it is just making that guy more frustrated
April 09, 2008, 04:52:39 PM
you mean "postive feedback"?
Recent
by Jeff
[Today at 11:50:15 PM]

[Today at 10:48:04 PM]

by Jeff
[Today at 08:55:56 PM]

by Jeff
[Today at 08:48:07 PM]

[Today at 08:10:58 PM]

[Today at 07:21:15 PM]

by Jeff
[Today at 06:24:17 PM]

[Today at 05:37:32 PM]

[Today at 05:27:50 PM]

[Today at 05:24:58 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.209 seconds with 24 queries.