Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Diablo 2 > Diablo 2 Programming
You last visited: Today at 21:49

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Suche] Soso Teleport Atk Script

Discussion on [Suche] Soso Teleport Atk Script within the Diablo 2 Programming forum part of the Diablo 2 category.

Closed Thread
 
Old   #1


 
Slamdoc's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,958
Received Thanks: 367
[Suche] Soso Teleport Atk Script

Hey Leutz,

ich suche mal wieder nen script oder ne Anleitung.

Ich brauche ein Script der meine Bliz Soso vor den Mobs umher telt.

Also wenn das Monster 1-2 schritte vor mir steht das sich meine soso an einen anderen ort in dem raum telt und dann weiter atk...ich weiß das es den gibt aber ist schon lange her, deshalb weiß ich nicht mehr wo ich den gefunden habe ;(

Wenn ihr mir helfen könntet wäre das nett
Slamdoc is offline  
Old 01/03/2011, 13:18   #2

 
RezChams's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 24,265
Received Thanks: 15,362


das kanns
und das hat hier nichts verloren
RezChams is offline  
Old 01/03/2011, 13:42   #3


 
Slamdoc's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,958
Received Thanks: 367
Quote:
Originally Posted by Daarmy View Post


das kanns
und das hat hier nichts verloren
Hm sry wusst jich nicht dachte gehört in Programming :S dann pls verschieben
und den Link den du da gepostet hast ist nicht das was ich suche

Ich weiss noch das ich was in der atkconfig ändern musste mehr leider net das ist kein script an sich das sind einfach nur ein paar Lines in der atk config und noch irgendwo ;(


Edit: Hat sich erledigt habs gefunden


PHP Code:
    If you hate having your sorc stand in the middle of a crowdread thisI wrote it for my cold sorc and it Orbs and teleports around the monsters to keep them from hitting you as much.

    
OkI have made a change to the scripts/libs/common/NTAttack.ntl file1. It requires that you set your Untimed Skillls in the NTConfig_Sorceress file to teleportWhat this will do, is cast your attack at the enemy and then teleport till it can cast its attack againIt has been working for me so far as an Orb sorcTo make the changeyou will need to replace a line of code with my code.

    
2. In NTAttack.ntl find the line:
 
    return 
NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);

    
Replace that line with:

    if ((
me.target.<= && me.target.>= -4) || (me.target.<= && me.target.>= -4))   //If target is within 4 of me.   
          
{
             if (
me.target.>= && me.target.>= 0)  //Teleport to other side of target.
                
return NTC_CastSkill(NTConfig_AttackSkill[index+1], _NTA_SkillHand[index+1], target.8target.8)
             else if (
me.target.>= && me.target.0)
                return 
NTC_CastSkill(NTConfig_AttackSkill[index+1], _NTA_SkillHand[index+1], target.8target.8);
             else if (
me.target.&& me.target.>= 0)
                return 
NTC_CastSkill(NTConfig_AttackSkill[index+1], _NTA_SkillHand[index+1], target.8target.8);
             else
                return 
NTC_CastSkill(NTConfig_AttackSkill[index+1], _NTA_SkillHand[index+1], target.8target.8);
          }
          else  
//Otherwise, cast attack skill.
             
return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target.xtarget.y);

    
3. And the line:

    return 
NTC_CastSkill(NTConfig_AttackSkill[index+1], _NTA_SkillHand[index+1], target);

    
MAKE SURE ITS THE LINE WITH [index+1] and NOT just [index].

    
Replace it with:

    if (
me.target.>= && me.target.>= 0)  //This all calculates your position in comparison to the enemy and jumps around him.
          
return NTC_CastSkill(NTConfig_AttackSkill[index+1], _NTA_SkillHand[index+1], target.8target.8);  //The 8's represent teleport distance from enemy.
       
else if (me.target.>= && me.target.0)
          return 
NTC_CastSkill(NTConfig_AttackSkill[index+1], _NTA_SkillHand[index+1], target.8target.8);  //Change to any distance you prefer.
       
else if (me.target.&& me.target.>= 0)
          return 
NTC_CastSkill(NTConfig_AttackSkill[index+1], _NTA_SkillHand[index+1], target.8target.8);   
       else
          return 
NTC_CastSkill(NTConfig_AttackSkill[index+1], _NTA_SkillHand[index+1], target.8target.8);



Es gibt also 3 Punkte die zu erledigen sind!
Nochmal zu 1.da dieser nicht näher beschrieben wurdeihr müsst in eurer ...\D2NT\scripts\NTBot\char_configs\NTConfig_Sorceress.ntl die untimed skills auf Teleport umändernSkillnummer für Teleport ist die 54. Das sieht am Beispiel meiner Blizz/FB Sorc dann so aus:


//------------------------------------------------------------------------------
// Attack configuration
//------------------------------------------------------------------------------
NTConfig_AttackSkill[0] = 59;   // First skill. Set to 0 if you won't
NTConfig_AttackSkill[1] = 59;   // Primary skill to boss.
NTConfig_AttackSkill[2] = 54;   // Primary untimed skill to boss. Set to 0 if you won't
NTConfig_AttackSkill[3] = 59;   // Primary skill to others.
NTConfig_AttackSkill[4] = 54;   // Primary untimed skill to others. Set to 0 if you won't
NTConfig_AttackSkill[5] = 47;   // Secondary skill in case monster is immune to primary skill. Set to 0 if you won't
NTConfig_AttackSkill[6] = 54;   // Secondary untimed skill. Set to 0 if you won't 
Slamdoc is offline  
Thanks
1 User
Old 01/15/2011, 21:37   #4
 
elite*gold: 0
Join Date: Oct 2008
Posts: 333
Received Thanks: 59
kannst froh sein das es im Diablo 2 Programming ist, im normalen diablo forum müßtest nun 100te von fragen beantworten, wie geht das, was muß ich machen, bei mir klappt das nicht ......
c.c. is offline  
Old 03/02/2011, 15:28   #5
 
elite*gold: 0
Join Date: Feb 2011
Posts: 43
Received Thanks: 0
Quote:
Originally Posted by c.c. View Post
wie geht das, was muß ich machen, bei mir klappt das nicht ......
L1ne is offline  
Closed Thread


Similar Threads Similar Threads
Teleport-Script?
07/31/2010 - Metin2 Private Server - 0 Replies
Hallo, Ich habe versucht das Teleport script sozuändern das ich mich zu einer neuen Map teleportieren kann aber es werden immernoch die gleichen Maps wie vorher beim teleporter angezeigt... Habe in VPC make.sh ausgeführt und IG /reload q eingegeben! ---------------------------------------------- --Datei: map_warp.quest --By Payla$ici ----------------------------------------------
Classic Soso sucht Travincal script
06/26/2010 - Diablo 2 Programming - 0 Replies
Hi, meine Soso läuft recht zufriedenstellend mit D2NT 3.1 durch a1, a2 und a3 in Hölle (Bosse), nach einigen kleineren Änderungen der Standardscripts, try and error. Sie würde gerne auch Travincal machen. Das vorhandene original Script ist halt aber nur für LOD chars spielbar. Aber was ich auch versuche, ich kann die sprache nicht, aber mit Logik geht das eine oder andere, die springt immer in die Vollen ... grr... Weiss jemand ein Script, in dem sie versucht die Burschen möglichst zu...
Blizzard soso script fehler
06/20/2010 - Diablo 2 - 21 Replies
Hey bei mir steht das ( D2NT Error ReferenceError:NT_LoadConfig is not defined) Was Kann ich da machen Bitte um Hilfe:handsdown::handsdown::(
Bitte Script Für Blizzard Soso
06/20/2010 - Diablo 2 - 2 Replies
Hallo Ich Wollte mal fragen ob wer schon ein script für eine blizzard soso hat und mir den mal geben kann oder ob mir wer das mal erklären kann wie ich das einstelle ich beckomme das nicht so ganz gebacken!!!! Bitte MFG MasterDante:handsdown::handsdown::bandit:
teleport script
10/19/2008 - SRO Private Server - 0 Replies
how do i make a script that will teleport from hotan to samarkand?



All times are GMT +1. The time now is 21:50.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.