Killa_ Posted May 4, 2012 Share Posted May 4, 2012 Justn,pls say where is it?If i understood u guys correctly,it is when mob aiming player and moves to u and suddenly moves another direction by 1 tile and backs to the road to you again.Or what?Anyway say how to fix that pls =)I remember someone said that there is a loop in AI and you need just to make more loops.Idk is that true or not.Thanks for the system,its awesome except this error.Its not so important cuz noone will try it :D and anyway just make a 1 spell to each elite mob so u cant just stay away from 4 ppl who blocks the mob. Link to comment Share on other sites More sharing options...
dimz Posted May 4, 2012 Share Posted May 4, 2012 So, what you are saying is : when the Warrior class (for instance) taunt a monster, he gets 110% or 300% of threat making on it and it wont target anyone else till dead since its been taunted. Am i right?So lets say there is a 3 mobs pull, the warrior hits the one on the middle and the mage hits em with lower damage at the same time with a AoE spell. Right after, the warrior taunt the one on left, so the warrior will be targeted by the middle one and the one taunted but the third will be loose and going for the mage?If thats true, thats awesome and ill add this right now. Link to comment Share on other sites More sharing options...
Joost Posted May 4, 2012 Author Share Posted May 4, 2012 The taunting part of the code kind of disappeared, but it is easy to add in again. Link to comment Share on other sites More sharing options...
Killa_ Posted May 7, 2012 Share Posted May 7, 2012 Pls add that and make war 110% aggro by default,i just want to see how it works.Thanks =) Link to comment Share on other sites More sharing options...
AlexASB Posted May 18, 2012 Share Posted May 18, 2012 Ok i am having huge problems. You need to be more specific when your explaining a tutorial.(As if they havnt the slightest clue where anything is.) Pls help me by specifically telling me where to put each part of the code. Plox and Ty Link to comment Share on other sites More sharing options...
quintensky Posted May 18, 2012 Share Posted May 18, 2012 shouldn't this be in source tutorials?anyway:~~one question: where do i put the first part of the tutorial?the subs, i was thinking in ModCombat, but then again, it's not about combat, its about targetting, but then again targetting is a part of combat, and thats where my brain gave up on me…. se where do i put those subs?~~nvm, i downloaded the compiled version that you included with your post, and i'll just check where everything belongs Link to comment Share on other sites More sharing options...
Joyce Posted May 19, 2012 Share Posted May 19, 2012 @AlexASB:> Ok i am having huge problems. You need to be more specific when your explaining a tutorial.(As if they havnt the slightest clue where anything is.) Pls help me by specifically telling me where to put each part of the code. Plox and TyNot quite, a tutorial is a tutorial. Not a retard's guide at programming. Honestly, if you have no idea or intention to learn about how the engine functions you shouldn't really be tampering with it. Link to comment Share on other sites More sharing options...
quintensky Posted May 19, 2012 Share Posted May 19, 2012 @Joyce:> Not quite, a tutorial is a tutorial. Not a retard's guide at programming. Honestly, if you have no idea or intention to learn about how the engine functions you shouldn't really be tampering with it.telling people where to put it is basically learning… let's say farming, and the ''teacher'' tells you to plant some seeds where the sun is MOST of the time, he can tell you, so you remember it... or he could not tell you and you gamble where to plant it, and thus learning it wrong, because you learn to gamble where to plant it Link to comment Share on other sites More sharing options...
AlexASB Posted May 21, 2012 Share Posted May 21, 2012 @Joyce:> Not quite, a tutorial is a tutorial. Not a retard's guide at programming. Honestly, if you have no idea or intention to learn about how the engine functions you shouldn't really be tampering with it.Well why do you think im here asking questions?? Because i want to learn how to do it. plus a tutorial teaches you how to do it. It doesnt just give you the tools and not tell you how to use them Link to comment Share on other sites More sharing options...
quintensky Posted May 21, 2012 Share Posted May 21, 2012 @AlexASB:> Well why do you think im here asking questions?? Because i want to learn how to do it. plus a tutorial teaches you how to do it. It doesnt just give you the tools and not tell you how to use themwell said my friend… well said :cheesy: Link to comment Share on other sites More sharing options...
Joost Posted May 21, 2012 Author Share Posted May 21, 2012 If you want to learn I suggest you download the source code attached. Then just control F the tutorial code and find out where it goes yourself.psIt doesnt really matter where the subs go, it will work anywhere. Link to comment Share on other sites More sharing options...
JohnPony Posted May 21, 2012 Share Posted May 21, 2012 @AlexASB:> Well why do you think im here asking questions?? Because i want to learn how to do it. plus a tutorial teaches you how to do it. It doesnt just give you the tools and not tell you how to use themI learned this way… So can you.Well i admit i had help from others, but i am special k? :P Link to comment Share on other sites More sharing options...
quintensky Posted May 21, 2012 Share Posted May 21, 2012 special k is cereal right? Link to comment Share on other sites More sharing options...
JohnPony Posted May 21, 2012 Share Posted May 21, 2012 @quintensky:> special k is cereal right?Yep people eat me every day. Link to comment Share on other sites More sharing options...
quintensky Posted May 22, 2012 Share Posted May 22, 2012 i'd eat your Avatar, its soo cute! (people can stop reading any post after this, cuz this is going off-topic) Link to comment Share on other sites More sharing options...
Stein Posted May 27, 2012 Share Posted May 27, 2012 There we go, this plus a small mod to set weapon threath modifiers = perfect. Just going by damage means you'd need some insane damage to tank mobs, but if you add a modifier.. ;] Link to comment Share on other sites More sharing options...
Ariel Posted June 10, 2012 Share Posted June 10, 2012 Im trying to put this in my CS:DE but i get a subscript out of range in :NPC ATT TARGETIf Npc(npcNum).Spell(i) > 0 Thenwere do i change to fix it? :D Link to comment Share on other sites More sharing options...
Ariel Posted June 12, 2012 Share Posted June 12, 2012 You should add the removethreat when a player dies also :) Link to comment Share on other sites More sharing options...
Joost Posted June 14, 2012 Author Share Posted June 14, 2012 ``` ' Is the target playing and on the same map? If IsPlaying(Target) And GetPlayerMap(Target) = MapNum Then TryNpcAttackPlayer x, Target Else ' Player left map or game, set target to 0 Call RemoveThreat(Target, MapNum, x) 'MapNpc(MapNum).Npc(x).targetType = 0 ' clear End If```If a player dies, he switches maps so the threat is removed automatically in that part of the code. Link to comment Share on other sites More sharing options...
fernz123 Posted June 14, 2012 Share Posted June 14, 2012 But what if they respawn on the same map as the npc they were killing? Link to comment Share on other sites More sharing options...
Joost Posted June 14, 2012 Author Share Posted June 14, 2012 The target is also cleared from the threat list if the reason of death = NPC killing him. If a player dies from another NPC or like lava or something and if the player respawns on the map the aggro doesnt get cleared and he gets instant focus again.Checking to see if a player is in an aggro list every time he dies seems like a hassle and i'm not going to bother with it tbh. Link to comment Share on other sites More sharing options...
Ananke Posted November 5, 2013 Share Posted November 5, 2013 i have a little problem, the NPC doesn't damage, only at the time when I attack them. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now