Dear guest, welcome to YouTD!

The icon is already used by 1 tower:

Small Shapeshifter 

Name General Description
1, 2
Blob v2
9250i
925
General
Element:nature
Rarity:uncommon
Goldcost:925

Submission
By: McDoNaLdGaNgStA
Date:2010-07-12 15:16:27
Status: PENDING
ID:1073
Last Update:2010-07-12 16:56:05
Combat
DPS:238
Type:Essence
Targets:0
Range:750
Cooldown:2.2
Damage:525 - 525
Abil factor:0.2
Description
This tower steals the lifeenergy of its target to use it against his enemys.

Abilities
Blobbing
Every 10th attack, 9% of the enemys maximum life will be added to this towers damage for 10 attacks.

Level Bonus:
+0.1% maximum life converted into damage
Specials
-40% dmg to champions
-67% dmg to bosses

Status:
PENDING: This tower is not yet accepted. Users comments to this tower:
Better screenshot, fixed various things (.userReal, tooltip, etc.), Essence attack

1, 2
Reply to topic

Discussion

Page 1 of 2 [ 19 posts ] Go to page 1, 2  Next
Author Message
 Post subject: Blob (1073)
PostPosted: Mon Jul 12, 2010 1:16 pm 
Offline
User

Joined: Sun Jun 07, 2009 12:27 am
Posts: 30
This is the discussion thread for the tower Blob (1073)

Creator's comments for this tower:

This Tower uses the lifeenergy of the creeps. It isn't finished yet, because the model buggs and the damage get is sometimes incorrect...


I need your help, if you can tell me why the amount of damage add is sometimes incorrect. Also i need some ideas for a better model (this one buggs).
I forgot the damage type (Essence) - will be changed next upload.


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 2:26 pm 
Offline
Advanced User

Joined: Thu May 20, 2010 8:11 pm
Posts: 198
Location: Germany
Hmm everything in the code seems fine. And about the model, some models can't be used because they have different animations. Either you take another model or you add that model as a doodadd but then the tower won't turn and won't have a attack animation.

You should change the tooltip for more readability to "Every 10th attack, 9% of the enemys maximum life will be added to this towers damage for 10 attacks"


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 2:30 pm 
Offline
User

Joined: Sun Jun 07, 2009 12:27 am
Posts: 30
The problem with the Model is just, that the (in the Screen) green water is in the testmap blue -> does not save colors?

There must be some mistake in the code... i sometime get to much or to little bonus damage. Also the "SFX" is not shown.
Maybe i have to use "OnDamage"?


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 2:38 pm 
Offline
Advanced User

Joined: Thu May 20, 2010 8:11 pm
Posts: 198
Location: Germany
OnDamage would be defintively better but don't forget to add targetcreep.ismaintarget(). And add in the Oncreation event set tower.userreal = 0, maybe there are some bugs because the userreal isn't defined and returns some wrong values.

And about the SFX, maybe your tower model is too small so that the SFX is small and gets covered by your doodads.

Edit: Made some tests and the bonus damage works perfectly, but the function Creep.getBaseHP() returns not the right value. It returns (HP of the creep) / 1.85998 which is really weird (tested it at level 10 bosses, maybe it's another value for non bosses). I think this doesn't happen in the real map but you can multiply the value by 1.85998 to get the max life. About the SFX, try to use an effect instead of SFX and set its lifetime.
Just call Effect.createSimple("model", GetUnitX(creep.getUnit()), GetUnitY(creep.getUnit())).setLifetime(x) or if you want an effect like the one created by SFXOnUnit then try the same thing but use .destroy() instead of .setLifetime() (Not sure if this works).


Last edited by der_kleine_Tomy on Mon Jul 12, 2010 3:22 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Update to version v2!
PostPosted: Mon Jul 12, 2010 2:56 pm 
Offline
User

Joined: Sun Jun 07, 2009 12:27 am
Posts: 30
The tower has been updated to version v2!

Creator's reason for this update:

Better screenshot, fixed various things (.userReal, tooltip, etc.), Essence attack


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 3:33 pm 
Offline
Advanced User

Joined: Thu May 20, 2010 8:11 pm
Posts: 198
Location: Germany
Ok creep.getBaseHP returns always HP/~1.88(may vary by 0.003 )


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 3:34 pm 
Offline
User

Joined: Sun Jun 07, 2009 12:27 am
Posts: 30
And why not the exact HP-value?

Whats the sense? Oo... should i just multiply it now with 1.88?


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 3:35 pm 
Offline
Advanced User

Joined: Thu May 20, 2010 8:11 pm
Posts: 198
Location: Germany
I don't know why it returns wrong values but i think it should work fine in the real map.

Edit: Just use GetUnitState(creep.getUnit(),UNIT_STATE_MAX_LIFE)


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 3:45 pm 
Offline
User

Joined: Sun Jun 07, 2009 12:27 am
Posts: 30
In the API it sais that the Max-Life could be wrong too, because of the HP-Addspells.
Maybe geX can tell us more :D.

When it would work fine, would it be balanced? I think it's to low, but maybe it is because of the bugg with the wrong BaseHP.


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 3:48 pm 
Offline
Advanced User

Joined: Thu May 20, 2010 8:11 pm
Posts: 198
Location: Germany
Are there any spells which alter the max hp of a creep?


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 3:54 pm 
Offline
Advanced User

Joined: Thu May 20, 2010 8:11 pm
Posts: 198
Location: Germany
The tower is good because it doesn't need any damage oils only attackspeed oils.

Edit: I have searched everywhere in the test map and everything seems fine. I don't know why the creeps spawn with too much HP. The data in the object editor matches with the data in the trigger editor


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 4:04 pm 
Offline
User

Joined: Sun Jun 07, 2009 12:27 am
Posts: 30
So my code is correct?

Then I just need a better Model, but i have no idea what i could use... I think it would look ugly without attack animation... so you got another idea?


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 4:06 pm 
Offline
Advanced User

Joined: Thu May 20, 2010 8:11 pm
Posts: 198
Location: Germany
Only the water is wrong ?


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 4:09 pm 
Offline
User

Joined: Sun Jun 07, 2009 12:27 am
Posts: 30
Yess... and maybe i'll make upgrades "Greater Blob", then i'll need something to make it look better :).

Yes only the water is wrong ;)


Top
 Profile  
 
 Post subject: Re: Blob (1073)
PostPosted: Mon Jul 12, 2010 4:14 pm 
Offline
Advanced User

Joined: Thu May 20, 2010 8:11 pm
Posts: 198
Location: Germany
I have no idea why the water is blue. About the other members just make them bigger and add some bubbles or add some new doodads which stuck in the blob :P

Edit: Did you use this model for the water "Abilities\\Spells\\NightElf\\MoonWell\\MoonWellTarget.mdl" ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group