War3:Source
September 09, 2010, 01:11:29 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Latest Releases: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source

War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Vagalion  (Read 99 times)
vogon
Newbie
*
Posts: 16



View Profile WWW
« on: July 30, 2010, 08:36:41 AM »

Vagalion

Based on Holliday's race.

Levels per ability: 6

Knifeonly

        Flickering Shadows: Makes you invisible.
        Adrinaline: Speed increase
        Levitation: Lower gravity.
        Complete Invisibility: Teleport and become invisible for 5 seconds

        Blade: 2x Normal damage

Changed some stuff, added knife damage and I believe checks now when you change to the race and removes your weapons (didnt do it before)

Feedback please?

Cheers





« Last Edit: August 02, 2010, 04:15:08 AM by vogon » Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 726



View Profile WWW Email
« Reply #1 on: July 30, 2010, 10:33:12 AM »

public OnWar3LoadRaceOrItemOrdered(num)

if(num==666)
{

num will never reach 666

and you were suppose to use public OnWar3LoadRaceOrItemOrdered2(num)
Logged

DarkEnergy
vogon
Newbie
*
Posts: 16



View Profile WWW
« Reply #2 on: July 30, 2010, 11:14:43 AM »

So that I understand, can I use any number I want? lets say 10?  what happens if another developer creates the same number?

As per the tut you mention you can use also OnWar3PluginReady() or OnWar3LoadRaceOrItemOrdered2(num), best practise would be on plugin ready? or ordered?


« Last Edit: August 02, 2010, 04:13:11 AM by vogon » Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 726



View Profile WWW Email
« Reply #3 on: July 30, 2010, 11:47:04 AM »

i recommend OnWar3PluginReady until you understand what exactly the other two does

if two races register on the same number, the race whos plugin was loaded first gets loaded first
Logged

DarkEnergy
vogon
Newbie
*
Posts: 16



View Profile WWW
« Reply #4 on: August 02, 2010, 04:15:29 AM »

Updated.
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 726



View Profile WWW Email
« Reply #5 on: August 02, 2010, 07:48:48 AM »

post in the race forums?
Logged

DarkEnergy
vogon
Newbie
*
Posts: 16



View Profile WWW
« Reply #6 on: August 02, 2010, 08:06:43 AM »

post in the race forums?

Will do, didnt do it as I havent tested this version yet and was thinking it would be a good place to add it to, but will post now.

Cheers
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!