Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2013-12-06 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
December 06, 2013, 07:29:40 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://ownageclan.com/jenkins/job/War3Source-Default1/
WIKI page: http://ownageclan.com/wiki/index.php/Main_Page
War3Source GIT repo: https://github.com/War3Source/War3Source
War3Source servers: http://www.game-monitor.com/search.php?vars=a_war3_version=
War3Source Function Reference: http://ownageclan.com/war3source/functionreference/?search=player
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Can someone elaborate the attributes system?  (Read 550 times)
-El Diablo
Sr. Member
****
Posts: 398


View Profile
« on: June 25, 2013, 08:14:53 AM »

I was trying to understand the purpose behind the attribute system.

If someone can help me understand it, as in a way if someone was to complete the system and what it's full potential would be, please do explain.
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2320



View Profile WWW
« Reply #1 on: June 25, 2013, 09:30:22 AM »

 * Attributes are supposed to supersede the current War3 buff implementations
 *
 * They are not functional right now as they're still in development.
Logged

DarkEnergy
-El Diablo
Sr. Member
****
Posts: 398


View Profile
« Reply #2 on: June 25, 2013, 10:27:35 AM »

Does that mean, they are the next Release of War3 BUff, and we would be getting rid of War3 Buff stuff and using the Attributes instead?


what would Attributes be able to do that War3_Buff can not?
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2320



View Profile WWW
« Reply #3 on: June 25, 2013, 10:49:36 AM »

maybe, may take a while
and its glider's
Logged

DarkEnergy
-El Diablo
Sr. Member
****
Posts: 398


View Profile
« Reply #4 on: June 25, 2013, 11:52:05 AM »

Well then, Glider must get pumping Tongue
Logged
Revan
Sr. Member
****
Posts: 411



View Profile
« Reply #5 on: June 25, 2013, 12:12:34 PM »

Why? There's no need for it to be in War3Source-Default anymore.
Superseding War3_Buff means no backwards compatibility which is a no-go ofc.

Everything you need to know is here.
Logged

#war3source on gamesurge
Glider⠠⠵
Global Moderator
Hero Member
*****
Posts: 510


⠠⠵


View Profile
« Reply #6 on: June 25, 2013, 01:04:49 PM »

The attribute system was to simplify buffs/debuffs and unify them. Instead of setting the fSlow buff, creating a timer, storing the slowed player, resetting the slow when the timer ran out or he respawned or or or the system would do this, so all you would have to do is call a simple one liner.

It was supposed to connect to the new display engine, showing players their buffs and debuffs in the right side of the screen. So you would visually see

Buffs:
AURA OF SPEED: You run 10% faster
...

Debuffs:
AURA OF DECAY: You lose 1 hp/s
...

So players would know what the fuck is going on and why they are moving faster/slower/whatever. This would have also come with a new command like war3_stats that would show you all your stats and how they affect you. For example this could have opened up a menu where you can browse all your stats, how they affect you and what modifies them.

Gravity:
   * You have 10% less gravity

Buffs:
   * Some gravity skill: 10% (permanent)

Speed:
   * You move 10% faster

Buffs:
   * Some allys speed boost skill: 10% (5s left)

and so on, so players could look up all their stats. This would have also removed the need to keep buffs in multiple enums, which makes it a hassle to add new buffs. With the new system developers could have written new buffs as simple addon plugins.
« Last Edit: June 25, 2013, 01:06:33 PM by Glider⠠⠵ » Logged

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



View Profile WWW
« Reply #7 on: June 25, 2013, 02:27:13 PM »

its a good idea. buffs can be set with one line, auras are set with one line. Dispel is now possible.  Display probably doesn't have a lot of characters to put all aura effects though. Menu is fine.
Logged

DarkEnergy
-El Diablo
Sr. Member
****
Posts: 398


View Profile
« Reply #8 on: June 25, 2013, 02:35:46 PM »

Why? There's no need for it to be in War3Source-Default anymore.
Superseding War3_Buff means no backwards compatibility which is a no-go ofc.

Everything you need to know is here.

I just want to know.

And yes, we definitely need keep it backwards compatible.  So if it does come to pass, we should still keep a way people can still use the old commands.
Logged
Necavi
Sr. Member
****
Posts: 452


View Profile
« Reply #9 on: June 25, 2013, 03:06:13 PM »

Display has several thousand characters.
Logged

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



View Profile WWW
« Reply #10 on: June 25, 2013, 03:06:58 PM »

which display? top left? or HUT hint text? or....
Logged

DarkEnergy
Necavi
Sr. Member
****
Posts: 452


View Profile
« Reply #11 on: June 25, 2013, 03:18:32 PM »

Middle right, key hint text (the one prototyped in WCX_Display)
Logged

Glider⠠⠵
Global Moderator
Hero Member
*****
Posts: 510


⠠⠵


View Profile
« Reply #12 on: June 25, 2013, 03:58:13 PM »

its a good idea. buffs can be set with one line, auras are set with one line. Dispel is now possible.  Display probably doesn't have a lot of characters to put all aura effects though. Menu is fine.

Oh yeah, dispel was another one of the reason. Instead of that weird deny system you could actually dispel buffs/debuffs on players since you can properly track them.
Logged

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



View Profile WWW
« Reply #13 on: June 25, 2013, 04:52:18 PM »

deny was more general
back then it was for prototyping and being lazy not adding natives and forwards
Logged

DarkEnergy
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!