战网中国

标题: 请问圣骑脚本本么制作 [打印本页]

作者: momosuni1012    时间: 2015-1-21 09:39
标题: 请问圣骑脚本本么制作
目前有nt3.3的bot
请问圣骑的脚本怎么制作
有战招/用祝锤攻击


可以的话请协助提供


谢谢
作者: huguohuan    时间: 2015-1-21 09:47
这种常见的build,bot默认都是支持的,不需要自己配置技能。
作者: momosuni1012    时间: 2015-1-21 09:50
所以只要设定帐号角色就可以直接使用罗?
还是角色脚本那里要设定?
作者: Rav2005    时间: 2015-1-21 11:28
技能不用设置 你只要配好狩猎场景 腰带 赌博神马的就OK
作者: momosuni1012    时间: 2015-1-21 15:55
因为手上只有法师部分的脚本
没有圣骑脚本
所以如果要读的话 还不知道怎么读取/增加...
作者: 柳叶箭    时间: 2015-1-21 18:31
一般在scripts\\NTBot\\char_configs中就有默认的NTConfig_Paladin.ntl脚本,打开设置背囊,场景,攻击不用设了
================





Include(\"team_config/teamConfig.ntl\");

var NTConfig_CastStatic;

function NT_LoadConfig(){
//------------------------------------------------------------------------------ // Boss configuration 一般在这里PUSH狩猎场景脚本
//------------------------------------------------------------------------------ if (runBaal) {
     NTConfig_Script.push(\"NTBaalLeech.ntj\");  }
if (runDiablo) {     NTConfig_Script.push(\"NTDiabloLeech.ntj\");
}
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
me.maxgametime = 360; // time in seconds, maximum game length (0 is infinite) NTConfig_StartDelay = 0; // Delay time in milliseconds to start;
NTConfig_AreaDelay = 500; // Delay time in milliseconds to change area; NTConfig_SnagDelay = 500; // Delay time in milliseconds to wait before starting picking items

//------------------------------------------------------------------------------
//------------------------------------------------------------------------------ NTConfig_SkipHealLife = 0; // If you have more than this percent of life, you won\'t go to a healer
NTConfig_SkipHealMana = 0; // If you have more than this percent of mana, you won\'t go to a healer NTConfig_UseMerc = false; // Set to true if you use a mercenary, will revive merc at a reviver npc.
NTConfig_ResetWeapon = false; // Set to true to reset weapon when reviving merc

NTConfig_LifeThresh = 70; // Drink a normal potion if under this percent of life. NTConfig_LifeRejuvThresh = 40; // Drink a rejuvenation potion if under this percent of life.
NTConfig_ManaThresh = 20; // Drink a normal potion if under this percent of mana. NTConfig_ManaRejuvThresh = -10; // Drink a rejuvenation potion if under this percent of mana.
NTConfig_LifeChicken = 20; // This is your chicken life percent. If you go below this life total, exit game. NTConfig_ManaChicken = 0; // This is your chicken mana percent. If you go below this mana total, exit game.

NTConfig_MercLifeThresh = 80; // This is the threshold to use a life potion on your merc in percent.
NTConfig_MercRejuvThresh = 30; // This is the threshold to use a rejuv potion on your merc in percent. NTConfig_MercChicken = -10; // This is your mercs chicken life percent. If he goes below this, exit game.

//------------------------------------------------------------------------------
//------------------------------------------------------------------------------ NTConfig_FreeSpace = 1; // Number of free columns. If less full columns are free stashing is set.

// 这里很重要,设置背囊. Set 0 to keep whatever is there, 1 to stash it.
NTConfig_Columns[0] = [0,0,0,0,0,0,0,0,0,0]; NTConfig_Columns[1] = [0,0,0,0,0,0,0,0,0,0];
NTConfig_Columns[2] = [0,0,0,0,0,0,0,0,0,0]; NTConfig_Columns[3] = [0,0,0,0,0,0,0,0,0,0];

NTConfig_MinGoldToStash = 500000; // Maximum gold amount carried before going to stash

//----------------------------------------------------------------------------------------------
// Type of potion used in each belt column // Available types : \"hp\" = health | \"mp\" = mana | \"rv\" = rejuv. Can use other potion types too.
// Keep equal types at adjacent columns. First HP then MP and then HP again is a bad choice. // Keep HP and MP at the beginning of the belt (in case you want to use rejuv and other types).
// Rejuvenations MUST, I REPEAT MUST be at the end of the belt (last x columns). // To use rejuvenations only, put \"rv\" in all columns.
//---------------------------------------------------------------------------------------------- NTConfig_BeltColType[0] = \"hp\";
NTConfig_BeltColType[1] = \"mp\"; NTConfig_BeltColType[2] = \"rv\";
NTConfig_BeltColType[3] = \"rv\";

//----------------------------------------------------------------------------------- // SnagIt configuration
// Select one group only (normal / advance / extreme) //-----------------------------------------------------------------------------------

NTConfig_NIPFilePath.push(\"normal/baby.nip\");//这里也很重要,设置捡东西

NTConfig_SnagRange = 40; // Radius to check for dropped items. 40 is a good number here

//------------------------------------------------------------------------------
// Cubing configuration //------------------------------------------------------------------------------
NTConfig_Cubing = false; // Enable cubing

//------------------------------------------------------------------------------ // Gamble configuration
// To specify what items to gamble, adjust the array with the desired item codes //------------------------------------------------------------------------------
NTConfig_Gamble = false; // Enable gambling NTConfig_GambleStartGold = 4000000; // Gold amount to start the gambling
NTConfig_GambleStopGold = 1000000; // Gold amount to stop the gambling

NTConfig_GambleItem.push(520); // Amulets NTConfig_GambleItem.push(522); // Rings

//------------------------------------------------------------------------------
// General configuration //------------------------------------------------------------------------------
NTConfig_PublicMode = true; NTConfig_CheckCloneDiablo = true; // Set to true if you want to wait in game after notifying \"Diablo Walks the Earth\" msg.
NTConfig_OpenChest = false; // Set to true to open chest me.quitonhostile = true;

//------------------------------------------------------------------------------
// Attack configuration //------------------------------------------------------------------------------
NTConfig_AttackSkill[0] = 0; // First skill. Set to 0 if you won\'t NTConfig_AttackSkill[1] = 112; // Primary skill to boss.
NTConfig_AttackSkill[2] = 113; // Primary aura to boss. Set to 0 if you won\'t NTConfig_AttackSkill[3] = 112; // Primary skill to others.
NTConfig_AttackSkill[4] = 113; // Primary aura to others. Set to 0 if you won\'t NTConfig_AttackSkill[5] = 101; // Secondary skill in case monster is immune to primary skill. Set to 0 if you won\'t
NTConfig_AttackSkill[6] = 113; // Secondary aura. Set to 0 if you won\'t NTConfig_ClearPosition = false; // Set to true if you want to clear area after killing boss.

// Check self safe in field (NOT in town). Set to 0 if you won\'t
// 0x01 : Potion, 0x02 : Poison, 0x04 : Amplify Damage, 0x08 : Weaken, 0x10 : Iron Maiden, 0x20 : Decrepify, 0x40 : Lower Resist //NTConfig_CheckSelfSafe = 0x04|0x40;
NTConfig_CheckSelfSafe = 0; // Check merc\'s safe in field (NOT in town). Set to 0 if you won\'t
// 0x01 : Death, 0x02 : Poison, 0x04 : Amplify Damage, 0x08 : Weaken, 0x10 : Iron Maiden, 0x20 : Decrepify, 0x40 : Lower Resist //NTConfig_CheckMercSafe = 0x01|0x04|0x10|0x40;
NTConfig_CheckMercSafe = 0;}
作者: momosuni1012    时间: 2015-1-22 11:07
请问哥
这些是另外制作成文件
然后由bot去读取吗
还是还要增加什么的...
因為bot是对方帮忙用的
我不知道怎么增加另一个职业也能挂
作者: huguohuan    时间: 2015-1-22 14:43
你用的是什么bot?
作者: momosuni1012    时间: 2015-1-22 17:16
https://www.youtube.com/watch?v=Zd_1GdKEkeo
这种的
完全没有头绪...
作者: 柳叶箭    时间: 2015-1-22 17:59
[quote=momosuni1012,138580]请问哥
这些是另外制作成文件
然后由bot去读取吗
还是还要增加什么的...
因為bot是对方帮忙用的
我不知道怎么增加另一个职业也能挂[/quote] 好好学习以后再说吧,感觉你在BOT运用上还是认清1和2的区别,别说加减乘除了
http://www.battlecn.net/read.php?tid=185&fid=10
作者: momosuni1012    时间: 2015-2-1 21:24
目前已经搞好了...增加圣骑的bot
现在在研究怎么搞出在同一关卡跟随打怪
没办法 圣骑电法有点弱
需要互相搭配才安全...




欢迎光临 战网中国 (http://battlecn.net/) Powered by Discuz! X3.1