All times are UTC





Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: You TD's combat systems
PostPosted: Wed Sep 07, 2011 9:13 pm 
Offline
New User

Joined: Fri Apr 22, 2011 9:02 am
Posts: 4
I hope it wont be to impudent, but want to ask you for sharing You TD's combat system (customizable crit chance, multiplier, multicrit, spell crit, spell damage, exp modifiers, ranks(lvl's), damage/spd percent modifiers). It really could help some mapmakers to start some projects and to learn how to work really good =)


Top
 Profile  
 
 Post subject: Re: You TD's combat systems
PostPosted: Wed Sep 07, 2011 9:20 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Jul 21, 2006 11:31 pm
Posts: 4714
Location: Munich, Germany / Sydney, Australia
YouTD Score: 240
check out the dev kit.

All code is in there :)


Top
 Profile  
 
 Post subject: Re: You TD's combat systems
PostPosted: Thu Sep 08, 2011 7:40 am 
Offline
New User

Joined: Fri Apr 22, 2011 9:02 am
Posts: 4
will see it =) thx, sry for my stupidness


Top
 Profile  
 
 Post subject: Re: You TD's combat systems
PostPosted: Thu Sep 08, 2011 1:43 pm 
Offline
New User

Joined: Fri Apr 22, 2011 9:02 am
Posts: 4
Sry again, but I can't find where is exactly functions from engine (crit, spell crit, etc.) I found only libs, methods, but no realization of these features in jass. So I even cant imagine how did u all that stuff =(


Top
 Profile  
 
 Post subject: Re: You TD's combat systems
PostPosted: Thu Sep 08, 2011 1:50 pm 
Offline
YouTD Admin
YouTD Admin

Joined: Thu May 20, 2010 8:11 pm
Posts: 1601
Location: Germany
YouTD Score: 48
Download the dev kit and open the test map, it contains all functions. Note that there are 2 maps, one is the test map you are looking for and the other is the tower creation map.
The path should be:
"YouTD DevKit v1.20\YouTD\data"


Top
 Profile  
 
 Post subject: Re: You TD's combat systems
PostPosted: Thu Sep 08, 2011 2:00 pm 
Offline
YouTD Admin
YouTD Admin

Joined: Sun Jun 07, 2009 3:34 pm
Posts: 3006
YouTD Score: 396
The tower creation map contains only stub methodes. Because this way its easier for the tower creaters to find the required method. But you can find the full code in the test maps.

_________________
[23:05] <mOck> cedi logic is basically
[23:05] <mOck> fuck the police
Image


Top
 Profile  
 
 Post subject: Re: You TD's combat systems
PostPosted: Thu Sep 08, 2011 2:10 pm 
Offline
New User

Joined: Fri Apr 22, 2011 9:02 am
Posts: 4
So, I opened YouTD_test_stub.w3x
in folder API-matched script Damage, but cant find there any functions, regarding to custom crit chance or spell crit


Top
 Profile  
 
 Post subject: Re: You TD's combat systems
PostPosted: Thu Sep 08, 2011 2:17 pm 
Offline
YouTD developer
YouTD developer
User avatar

Joined: Wed Dec 29, 2010 12:20 pm
Posts: 4527
Location: Australia
YouTD Score: 32
They're scattered.
Spelldamage/critdamage is calculated and dealt with triggers: try the 'Event Handling' trigger.
As for other boni, refer to 'BonusSys' trigger to see how they're added to the unit. (Tomes, abilities, etc)

_________________
Goldcost to waveLevel & elementLevel relationship
Incremental Testmap Stub & Tower Creation Map


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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