流星蝴蝶剑sn05_pst文件
// 决死阵
int Rule = 1;
int RoundTime = 5;
int PlayerSpawn = 20;
int PlayerSpawnDir = 90;
int PlayerWeapon = 5;
int PlayerWeapon2 = 1;
int PlayerHP = 3000;
int trg0 = 0;
int trg1 = 0;
int timer0 = 0;
int timer1 = 0;
int gameover = 0;OnStart()
{
AddNPC("npc09_01");
AddNPC("npc09_02");
}OnUpdate()
{
int player = GetAnyChar("player");
if (player < 0)
{
return 0;
}
if (gameover == 2)
{
return 0;
}
int c;
int c2;
int now = GetGameTime();
if (trg0 == 0)
{
c = GetChar("冷燕");
c2 = GetChar("屠城");
if (c>=0 && c2>=0)
{
SetTarget(0, "waypoint", 15);
ChangeBehavior(c2, "attacktarget", 0);
Perform(c2, "pause", 2);
Perform(c2, "say", "看狗咬狗真是快活呀!!");
Perform(c2, "pause", 2);
Perform(c2, "say", "现在解药只剩一瓶,就让你们两个去争吧!");
Perform(c2, "pause", 2);
Perform(c2, "say", "杀手也会被暗算,很不是滋味是吗?");
Perform(c2, "pause", 4);
Perform(c2, "say", "你的目的就是要杀范璇﹒﹒﹒﹒如何??他真的是死了吧!");
Perform(c2, "pause", 2);
Perform(c2, "say", "呵﹒﹒料想不到我会装死吧!");
Perform(c2, "pause", 5);
Perform(c2, "say", "哇哈哈哈!");
Perform(c2, "faceto", player);
Perform(c, "attack");
Perform(c, "faceto", player);
Perform(c, "guard", 4);
Perform(c, "faceto", player);
Perform(c, "say", "呵﹒﹒这解药我是要定了!!");
Perform(c, "pause", 23);
Perform(c, "faceto", player);
Perform(c, "use", 14);
PlayerPerform("block", 0);
PlayerPerform("say", "﹒﹒﹒﹒﹒");
PlayerPerform("pause", 7);
PlayerPerform("say", "﹒﹒﹒﹒﹒");
PlayerPerform("pause", 9);
PlayerPerform("say", "﹒﹒﹒﹒﹒");
PlayerPerform("pause", 6);
PlayerPerform("say", "你﹒﹒你不是已经被我﹒﹒﹒!?");
PlayerPerform("pause", 3);
PlayerPerform("use", 14);
PlayerPerform("block", 1);
trg0 = 1;
timer0 = now + 19;
}
}
if (trg0==1 && now>timer0)
{
c = GetChar("屠城");
if (c >= 0)
{
RemoveNPC(c);
trg0 = 2;
}
}
if (trg0==2 && now>60)
{
c = GetChar("冷燕");
if (c >= 0)
{
Perform(c, "guard", 6);
Perform(c, "say", "﹒﹒﹒﹒﹒﹒﹒");
Perform(c, "pause", 4);
Perform(c, "say", "怕了吗??");
Perform(c, "faceto", player);
Perform(c, "pause", 4);
Perform(c, "say", "来呀!!怎麽??你就只有这麽一点能耐吗??");
Perform(c, "faceto", player);
PlayerPerform("say", "(想不到一个不注意竟然落得如此田地)");
PlayerPerform("pause", 4);
PlayerPerform("say", "﹒﹒﹒我﹒﹒并没有意要跟你争!!");
PlayerPerform("pause", 4);
PlayerPerform("say", "﹒﹒﹒﹒﹒");
PlayerPerform("pause", 4);
trg0 = 3;
}
}
if (trg0==3 && now>90)
{
c = GetChar("冷燕");
if (c >= 0)
{
Perform(c, "guard", 7);
Perform(c, "say", "别以为我是个弱女子!就对我手下留情!!");
Perform(c, "faceto", player);
Perform(c, "pause", 5);
Perform(c, "say", "快呀!只有拼个你死活我,只有最後留下的人才能离开!");
Perform(c, "faceto", player);
PlayerPerform("say", "(难道一开始就被人所设计﹒﹒﹒)");
PlayerPerform("pause", 5);
PlayerPerform("say", "﹒﹒﹒﹒﹒(这一切到底是怎麽一回儿事﹒﹒﹒范璇的死﹒﹒)");
PlayerPerform("pause", 7);
trg0 = 4;
}
}
if (trg0==4 && now>120)
{
c = GetChar("冷燕");
if (c >= 0)
{
Perform(c, "guard", 7);
Perform(c, "say", "你分明就是瞧不起我!今天要是不让你死,有辱我杀手的名号!!");
Perform(c, "faceto", player);
Perform(c, "pause", 5);
Perform(c, "say", "﹒﹒﹒﹒﹒出手呀!认真一点!!");
Perform(c, "faceto", player);
PlayerPerform("say", "(杀手!﹒﹒﹒这女子也是一位杀手,难道她也是跟我一样,是来杀范璇的?)");
PlayerPerform("say", "!!");
PlayerPerform("pause", 5);
PlayerPerform("say", "﹒﹒﹒﹒﹒(而这女子﹒﹒为什麽会在这﹒﹒)");
PlayerPerform("pause", 4);
trg0 = 5;
}
}
if (trg0==5 && now>150)
{
c = GetChar("冷燕");
if (c >= 0)
{
Perform(c, "guard", 7);
Perform(c, "say", "﹒﹒﹒﹒哼!!要不是我身中奇毒,你早就﹒﹒﹒﹒");
Perform(c, "faceto", player);
Perform(c, "pause", 5);
Perform(c, "say", "﹒﹒﹒﹒﹒﹒");
Perform(c, "faceto", player);
Perform(c, "pause", 5);
Perform(c, "say", "怎麽?知道我是杀手你就怕了吗??");
Perform(c, "faceto", player);
PlayerPerform("say", "(她也被屠城下了毒﹒﹒﹒看样子我得想法子离开这里,再另寻他法﹒﹒)");
PlayerPerform("pause", 5);
PlayerPerform("say", "﹒﹒呜﹒﹒(体内的毒已经开始侵蚀全身了﹒﹒)");
PlayerPerform("pause", 5);
PlayerPerform("say", "(﹒﹒﹒﹒这﹒﹒那她﹒﹒﹒的主使者是谁??)");
PlayerPerform("pause", 4);
trg0 = 6;
}
}
if (trg0==6 && now>180)
{
c = GetChar("冷燕");
if (c >= 0)
{
ChangeBehavior(c, "idle");
Perform(c, "faceto", player);
Perform(c, "crouch", 0);
Perform(c, "pause", 10);
Perform(c, "say", "﹒﹒﹒﹒﹒﹒");
Perform(c, "faceto", player);
Perform(c, "pause", 7);
Perform(c, "say", "快呀!为什麽你不杀了我﹒﹒﹒难道你不想要解药了吗!!");
Perform(c, "faceto", player);
Perform(c, "crouch", 1);
PlayerPerform("say", "﹒﹒﹒﹒﹒﹒");
PlayerPerform("pause", 8);
PlayerPerform("say", "﹒﹒﹒你先服下它吧﹒﹒﹒");
PlayerPerform("pause", 5);
trg0 = 7;
timer1 = now + 17;
gameover = 1;
}
} if (gameover!=-1 && GetHP(player)<=0)
{
gameover = -1;
timer1 = now + 2;
}
c = GetAnyChar("冷燕");
if (gameover!=-1 && c>=0 && GetHP(c)<=0)
{
gameover = -1;
timer1 = now + 2;
}
if ((gameover==1 || gameover==-1) && now>timer1)
{
GameOver(gameover);
gameover = 2;
}
}
主目录下的这个文件代表“钟乳洞“的地图贴图,
Level里面的这个文件代表”钟乳洞”任务剧情~
LEVEL文件夹:sn05_pst,皇天城剧情文件:
// 皇天城
int Rule = 5;
int RoundTime = 30;
int PlayerSpawn = 83;
int PlayerSpawnDir = 45;
int PlayerWeapon = 24;
int PlayerWeapon2 = 21;
int PlayerHP = 2500;
int trg0 = 0;
int trg1 = 0;
int trg2 = 0;
int trg3 = 0;
int trg4 = 0;
int trg5 = 0;
int trg6 = 0;
int trg7 = 0;
int trg8 = 0;
int trg9 = 0;
int timer0 = 0;
int timer1 = 0;
int timer2 = 0;
int hp0 = 0;
int hp1 = 0;
int hp2 = 0;
int hp3 = 0;
int hp4 = 0;
OnStart()
{
AddNPC("npc05_01");
AddNPC("npc05_02");
AddNPC("npc05_05");
AddNPC("npc05_06");
AddNPC("npc05_07");
AddNPC("npc05_08");
AddNPC("npc05_09");
}
CallFriend(int c, int c2, int p)
{
if (c>=0 && GetEnemy(c)==p)
{
ChangeBehavior(c, "follow", p);
Perform(c, "guard", 3);
Perform(c, "say", "有人闯入,快来人呀!");
Perform(c, "say", "你是谁!竟敢乱闯!!");
Perform(c, "faceto", p);
if (c2 >= 0)
{
ChangeBehavior(c2, "follow", c);
}
return 1;
}
return 0;
}
CallFriend2(int c, int c2, int p, int t)
{
if (c>=0 && GetEnemy(c)==p)
{
ChangeBehavior(c, "follow", p);
if (t == 1)
{
Perform(c, "say", "哈!老子看到你了!");
} else
{
Perform(c, "say", "唷!好戏上场啦!!");
}
Perform(c, "faceto", p);
if (c2 >= 0)
{
ChangeBehavior(c2, "follow", c);
}
return 1;
}
return 0;
}
BackGuard(int c, int p, int say)
{
if (c >= 0)
{
Perform(c, "guard", 100);
Perform(c, "faceto", p);
ChangeBehavior(c, "dodge", p);
if (say == 1)
{
Perform(c, "say", "施主保重!");
}
if (say == 2)
{
Perform(c, "say", "·····");
}
Perform(c, "pause", 4);
Perform(c, "faceto", p);
return 1;
}
return 0;
}
PauseAll(int t, int p)
{
int c;
c = GetChar("金枪侍卫");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
c = GetChar("大刀侍卫");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
c = GetChar("野和尚·甲");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
c = GetChar("野和尚·乙");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
c = GetChar("无名杀手");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
c = GetChar("蒙面人·甲");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
c = GetChar("蒙面人·乙");
if (c >= 0)
{
Perform(c, "guard", t);
Perform(c, "faceto", p);
}
return 1;
}
OnUpdate()
{
int player = GetChar("player");
if (player < 0)
{
return 0;
}
int c;
int c2;
int c3;
int c4;
int c5;
if (trg0 == 0)
{
PlayerPerform("block", 0);
PlayerPerform("crouch", 0);
PlayerPerform("say", "(不该多想的···赶紧完成任务,带回范璇身上的代表信物,交差了事好!)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(···我怎能会为了这些事情乱了心)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(···这一切究竟是·····)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(而那姓萧所说的话到底是什麽意思??)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(··那奇女子····)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(····那个蒙面人又是怎麽一回儿事??)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(难道是高老大担心我···还是····)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(··怎麽感觉一路上都有人在监视着我····)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(但··难道是我的行踪己经曝露了?)");
PlayerPerform("pause", 2);
PlayerPerform("say", "(···终於来到这儿了···)");
PlayerPerform("crouch", 1);
PlayerPerform("block", 1);
trg0 = 1;
}
if (trg1==0)
{
c = GetChar("金枪侍卫");
c2 = GetChar("大刀侍卫");
if (CallFriend(c, c2, player))
{
trg1 = 1;
}
if (trg1==0 && CallFriend(c2, c, player))
{
trg1 = 1;
}
}
if (trg2 == 0)
{
c = GetChar("野和尚·甲");
c2 = GetChar("野和尚·乙");
if (CallFriend2(c, c2, player, 1))
{
trg2 = 1;
}
if (trg2==0 && CallFriend2(c2, c, player, 0))
{
trg2 = 1;
}
}
if (trg2 == 1)
{
c = GetChar("野和尚·甲");
c2 = GetChar("野和尚·乙");
if (c>=0 && c2>=0 && GetEnemy(c)==player && GetEnemy(c2)==player)
{
Perform(c, "say", "我们两个就陪你玩玩!!");
Perform(c, "faceto", player);
Perform(c2, "say", "我们两个就陪你玩玩!!");
Perform(c2, "faceto", player);
trg2 = 2;
}
}
if (trg2 == 2)
{
c = GetChar("野和尚·甲");
c2 = GetChar("野和尚·乙");
if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
{
Perform(c, "aggress");
Perform(c, "say", "施主还是多去练个几年再来吧!");
Perform(c, "faceto", player);
trg2 = 3;
}
if (c2>=0 && GetHP(c2)<GetMaxHP(c2)/2)
{
Perform(c2, "aggress");
Perform(c2, "say", "施主要是再不滚,休怪老纳不客气了!");
Perform(c2, "faceto", player);
trg2 = 3;
}
}
if (trg3 == 0)
{
c = GetChar("无名杀手");
SetTarget(0, "char", player);
SetTarget(1, "char", c);
if (c>=0 && GetEnemy(c)==player && Distance(0, 1)<100)
{
ChangeBehavior(c, "kill", player);
c2 = GetChar("金枪侍卫");
if (c2 >= 0)
{
ChangeBehavior(c2, "follow", player);
}
c2 = GetChar("大刀侍卫");
if (c2 >= 0)
{
ChangeBehavior(c2, "follow", player);
}
c2 = GetAnyChar("野和尚·甲");
c3 = GetAnyChar("野和尚·乙");
if (c2>=0 && GetHP(c2)<=0 && c3>=0 && GetHP(c3)<=0)
{
Perform(c, "aggress");
Perform(c, "say", "听说你的功夫了得,我就是特地来试试你的身手!放马过来!");
Perform(c, "say", "哼!等了许久终於来了!");
Perform(c, "faceto", player);
PlayerPerform("say", "······");
PlayerPerform("pause", 5);
} else
{
Perform(c, "say", "退下,他就交给我吧!");
c2 = GetChar("野和尚·甲");
if (BackGuard(c2, player, 1))
{
hp1 = GetHP(c2);
}
c2 = GetChar("野和尚·乙");
if (BackGuard(c2, player, 1))
{
hp2 = GetHP(c2);
}
c2 = GetChar("蒙面人·甲");
if (BackGuard(c2, player, 2))
{
hp3 = GetHP(c2);
}
c2 = GetChar("蒙面人·乙");
if (BackGuard(c2, player, 2))
{
hp4 = GetHP(c2);
}
c2 = GetChar("金枪侍卫");
BackGuard(c2, player, 0);
c2 = GetChar("大刀侍卫");
BackGuard(c2, player, 0);
}
trg3 = 1;
}
}
if (trg3==1 || trg3==2)
{
c5 = -1;
c = GetChar("野和尚·甲");
c2 = GetChar("野和尚·乙");
c3 = GetChar("蒙面人·甲");
c4 = GetChar("蒙面人·乙");
if (hp1 > 0)
{
if (c>=0 && GetHP(c)<hp1)
{
Perform(c, "say", "你自找的!!");
Perform(c, "faceto", player);
c5 = c;
}
}
if (hp2 > 0)
{
if (c2>=0 && GetHP(c2)<hp2)
{
Perform(c2, "say", "找死");
Perform(c2, "faceto", player);
c5 = c2;
}
}
if (hp3 > 0)
{
if (c3>=0 && GetHP(c3)<hp3)
{
Perform(c3, "say", "·····");
Perform(c3, "faceto", player);
c5 = c3;
}
}
if (hp4 > 0)
{
if (c4>=0 && GetHP(c4)<hp4)
{
Perform(c, "say", "·····");
Perform(c, "faceto", player);
c5 = c4;
}
}
if (c5 >= 0)
{
ChangeBehavior(c, "kill", player);
ChangeBehavior(c2, "kill", player);
ChangeBehavior(c3, "kill", player);
ChangeBehavior(c4, "kill", player);
trg3 = 3;
}
}
if (trg3 == 1)
{
c = GetChar("无名杀手");
if (c>=0 && GetHP(c)<GetMaxHP(c)*2/3)
{
Perform(c, "guard", 4);
Perform(c, "say", "哼!果然有两下子!看来我得认真了!");
Perform(c, "faceto", player);
trg3 = 2;
}
}
if (trg3 == 2)
{
c = GetChar("无名杀手");
if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
{
c2 = GetChar("野和尚·甲");
if (c2 >= 0)
{
ChangeBehavior(c2, "follow", c);
Perform(c2, "say", "上!");
Perform(c2, "pause", 6);
Perform(c2, "say", "撑的住吗??");
Perform(c2, "faceto", c);
Perform(c2, "pause", 8);
}
c2 = GetChar("野和尚·乙");
if (c2 >= 0)
{
ChangeBehavior(c2, "follow", c);
Perform(c2, "say", "我来助你一臂之力!");
Perform(c2, "pause", 6);
Perform(c2, "say", "撑的住吗??");
Perform(c2, "faceto", c);
Perform(c2, "pause", 8);
}
trg3 = 3;
}
}
if (trg3 == 3)
{
c = GetChar("无名杀手");
if (c>=0 && GetHP(c)<GetMaxHP(c)/3)
{
Perform(c, "say", "想不到武林中竟然有如此的高手··");
Perform(c, "faceto", player);
trg3 = 4;
}
}
if (trg3 == 4)
{
c = GetAnyChar("无名杀手");
if (c>=0 && GetHP(c)<=0)
{
Say(c, "果然厉害···能跟你交手,我死也甘心了···");
c2 = GetChar("野和尚·甲");
if (c2 >= 0)
{
ChangeBehavior(c2, "kill", player);
}
c2 = GetChar("野和尚·乙");
if (c2 >= 0)
{
ChangeBehavior(c2, "kill", player);
}
trg3 = 5;
}
}
if (trg4==0 && trg6==0)
{
c = GetChar("屠城");
SetTarget(0, "char", player);
SetTarget(1, "char", c);
if (c>=0 && GetEnemy(c)==player && Distance(0, 1)<80)
{
c2 = GetChar("范璇");
if (c2 >= 0)
{
ChangeBehavior(c, "follow", c2);
SetTarget(0, "char", c2);
ChangeBehavior(c, "attacktarget", 0);
}
Perform(c, "say", "来人呀!!给我拿下这个刺客!!");
Perform(c, "pause", 5);
Perform(c, "say", "有我在你休通过这里!");
Perform(c, "say", "你···竟敢想要行刺'范主子'!");
Perform(c, "faceto", player);
PlayerPerform("block", 0);
PlayerPerform("say", "·······");
PlayerPerform("pause", 3);
PlayerPerform("block", 1);
c3 = GetChar("无名杀手");
if (c3 >= 0)
{
ChangeBehavior(c3, "follow", player);
}
c3 = GetChar("蒙面人·甲");
if (c3 >= 0)
{
ChangeBehavior(c3, "follow", player);
}
c3 = GetChar("蒙面人·乙");
if (c3 >= 0)
{
ChangeBehavior(c3, "follow", player);
}
c3 = GetChar("金枪侍卫");
if (c3 >= 0)
{
ChangeBehavior(c2, "kill", player);
}
c3 = GetChar("大刀侍卫");
if (c2 >= 0)
{
ChangeBehavior(c2, "kill", player);
}
trg4 = 1;
}
}
if (trg4 == 1)
{
c = GetChar("屠城");
c2 = GetChar("范璇");
if (c>=0 && c2>=0)
{
SetTarget(0, "char", c);
SetTarget(1, "char", c2);
if (Distance(0, 1) < 100)
{
ChangeBehavior(c, "patrol", 56, 66, 65, 61, 67);
Perform(c, "say", "哼!!给我杀了他!");
Perform(c, "pause", 5);
Perform(c, "faceto", player);
Perform(c, "say", "是!!");
Perform(c, "pause", 6);
Perform(c, "say", "报告主子!有刺客想要行刺您,请您先行离开!!");
Perform(c, "faceto", c2);
Perform(c2, "say", "留下活口,等我回来我要问个清楚,到底是谁指使的!");
Perform(c2, "say", "什麽!!!好大的胆子!竟然有人敢行刺我!");
Perform(c2, "pause", 3);
Perform(c2, "faceto", c);
trg4 = 2;
timer0 = GetGameTime() + 10;
}
}
}
if (trg4==2 && GetGameTime()>timer0)
{
c = GetAnyChar("范璇");
if (c >= 0)
{
RemoveNPC(c);
}
trg4 = 3;
}
if (trg5 == 0)
{
c = GetChar("屠城");
if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
{
Perform(c, "say", "来人呀!通通给我围住他,把他剁成肉酱喂狗!!");
Perform(c, "pause", 3);
Perform(c, "say", "今天你别想活的走着出去了!");
Perform(c, "say", "好样的···竟然能伤的了我!");
Perform(c, "faceto", player);
trg5 = 1;
}
}
if (trg5 == 1)
{
c = GetAnyChar("屠城");
if (c>=0 && GetHP(c)<=0)
{
Say(c, "呜···想不到···主子!我对不起你了····");
trg5 = 2;
}
}
if (trg6==0 && trg4==0)
{
c = GetChar("范璇");
SetTarget(0, "char", player);
SetTarget(1, "char", c);
if (c>=0 && GetEnemy(c)==player && Distance(0, 1)<100)
{
c2 = GetChar("屠城");
if (c2 >= 0)
{
ChangeBehavior(c, "follow", c2);
SetTarget(0, "char", c2);
ChangeBehavior(c, "attacktarget", 0);
}
Perform(c, "say", "想行刺我!没那麽容易!护驾!有刺客!!");
Perform(c, "pause", 6);
Perform(c, "say", "你···你是谁!!");
Perform(c, "faceto", player);
PlayerPerform("block", 0);
PlayerPerform("say", "想逃!!");
PlayerPerform("pause", 6);
PlayerPerform("say", "···我的名字不重要,重要的是,我是来取你狗命的!");
PlayerPerform("pause", 3);
PlayerPerform("block", 1);
PauseAll(10, player);
trg6 = 1;
}
}
if (trg6 == 1)
{
c = GetChar("范璇");
c2 = GetChar("屠城");
if (c>=0 && c2>=0)
{
SetTarget(0, "char", c);
SetTarget(1, "char", c2);
if (Distance(0, 1) < 120)
{
Perform(c2, "say", "杀了他!!");
Perform(c2, "aggress");
Perform(c2, "faceto", player);
Perform(c2, "say", "是!!");
Perform(c2, "pause", 8);
Perform(c2, "say", "主子!请您先行离开,这里由我来就好!");
Perform(c2, "say", "刺客!!所有人快把刺客拿下!!");
Perform(c2, "faceto", c);
SetTarget(0, "waypoint", 73);
ChangeBehavior(c, "attacktarget", 0);
Perform(c, "say", "让他死之前,先给我问出主使者是谁!");
Perform(c, "say", "好!我先去避一避,这里就交给你了!");
Perform(c, "pause", 4);
Perform(c, "faceto", c2);
PlayerPerform("say", "·······");
PlayerPerform("pause", 3);
c3 = GetChar("无名杀手");
if (c3 >= 0)
{
ChangeBehavior(c3, "follow", player);
}
c3 = GetChar("蒙面人·甲");
if (c3 >= 0)
{
ChangeBehavior(c3, "follow", player);
}
c3 = GetChar("蒙面人·乙");
if (c3 >= 0)
{
ChangeBehavior(c3, "follow", player);
}
trg6 = 2;
timer0 = GetGameTime() + 6;
}
}
}
if (trg6==2 && GetGameTime()>timer0)
{
c = GetAnyChar("范璇");
if (c >= 0)
{
RemoveNPC(c);
}
trg6 = 3;
}
if (trg7 == 0)
{
c = GetAnyChar("金枪侍卫");
c2 = GetAnyChar("大刀侍卫");
c3 = GetAnyChar("野和尚·甲");
c4 = GetAnyChar("野和尚·乙");
if (c>=0 && GetHP(c)<=0 && c2>=0 && GetHP(c2)<=0 && c3>=0 && GetHP(c3)<=0 && c4>=0 && GetHP(c4)<=0)
{
RemoveNPC(c);
RemoveNPC(c2);
RemoveNPC(c3);
RemoveNPC(c4);
trg7 = 1;
timer1 = GetGameTime() + 5;
}
}
if (trg7 == 1)
{
if (GetGameTime() > timer1)
{
AddNPC("npc05_03");
AddNPC("npc05_04");
trg7 = 2;
}
}
}
SN05地图包:sn05.pst文件:
/*
PScript by Peter Pon
scene05
*/
#include "..\PScriptLib\Def.h"
#include "..\PScriptLib\box.pst"
#include "..\PScriptLib\desk.pst"
#include "..\PScriptLib\chair.pst"
#include "..\PScriptLib\jug.pst"
Scene_OnInit()
{
InitBoxes(g_iNumBoxes);
InitBBoxes(g_iNumBBoxes);
InitChairs(g_iNumChairs);
InitDeskes(g_iNumDeskes);
InitJugs(g_iNumJugs);
SetSceneItem("D_Door01", "name", "machine");
SetSceneItem("D_Door01", "attribute", "collision", 1);
SetSceneItem("D_Door02", "name", "machine");
SetSceneItem("D_Door02", "attribute", "collision", 1);
SetSceneItem("D_Door03", "name", "machine");
SetSceneItem("D_Door03", "attribute", "collision", 1);
}
这个是过关任务的设定文件,你用记事本打开可以修改编辑。
里面包括电脑的行动、防御、攻击设定,行走路线设定,还有他们的说话设定。
是不是Level文件夹下的,那是代表的一个bot(电脑人)的文件,可以AI sn05_pst加如这个特定的bot
皇天城关卡的文件,内包括加的电脑人和对话,可用记事本程序打开。
你想修改什么吧?你告诉我。我帮你修改 不要分。
流星蝴蝶剑无限气:流星蝴蝶剑满气秘籍
流星蝴蝶剑手动修改无限气方法:手动修改无限气,再作消音处理,我指的无限气只能在单机使用,简单修改下文件就OK!打开主目录里的Level文件夹,里面的sn01-;sn03-;sn04-;sn05-;sn09-;sn10-;sn13-;sn14-;sn15-,就是游戏中的九个关卡,用记事本的方式将其打开,在里面找到这样的句子 OnUpdate()...
流星蝴蝶剑sn05_pst文件
是不是Level文件夹下的,那是代表的一个bot(电脑人)的文件,可以AI sn05_pst加如这个特定的bot
流星蝴蝶剑对战的时候怎么可以把时间的上限调成1000分钟,
打开流星蝴蝶剑文件夹里面的level文件夹,里面有sn**_.pst之类的文件,选择打开方式,用记事本打开,比如sn05_.pst:\/\/ 皇天城 int Rule = 5;int RoundTime = 30;int PlayerSpawn = 83;int PlayerSpawnDir = 45;int PlayerWeapon = 24;int PlayerWeapon2 = 21;int PlayerHP = 2500;int RoundTime...
流星蝴蝶剑9.07单机如何无限气?
首先你必须要有确认你的流星有指令,无限气的指令是\\ang 注意斜杠的方向,ang必须是小写 下载隐藏命令补丁,然后再游戏里按\\,再输入ang回车, 气就满了(对房主有效)最简单的,直接去下个无限气外挂。打开主目录里的Level文件夹,里面的sn01-;sn03-;sn04-;sn05-;sn09-;sn10-;sn13-;sn14-;sn15-...
流星蝴蝶剑五雷塔地图路径在哪
SN02=秦皇陵 SN03=一线天 SN04=炽雪城 SN05=皇天城 SN06=四方阵 SN07=死之阵 SN08=毒牙阵 SN09=决死阵 SN10=炼铁狱 SN11=五爪峰 SN12=烽火雷 SN13=金华城 SN14=炎硫岛 SN15=飞鹏堡 SN16=五雷塔 SN17=伏虎山 SN18=圆满楼 SN19=洛阳城 SN20=卧龙窟 SN21=圣诞夜 SN...
新流星蝴蝶剑怎么修改自己血的?
新流星蝴蝶剑修改自己血的方法:打开LEVEL文件随便找个文件,点右键打开方式记事本,始终用此方式打开。面有一个名为sn01_.pst(sn后跟的数字是地图代码,如下)的文件,这是钟乳洞的设定,用记事本打开,其中:“int RoundTime=”后面跟时间,单位是分钟。“int PlayerWeapon=”后面跟武器代码(如下)...
流星蝴蝶剑怎样修改每关开始时的初始武器,我说的时单机闯关模式的,请...
打开level文件夹用记事本打开sn?_pst(代表数字如01)第一行的是地图名 int RoundTime = 15 是时间 int PlayerWeapon = 17; 主武器 int PlayerWeapon2 = 18; 次武器 int PlayerHP = 1500; 角色的HP(在游戏中显示为此值除10)下面是武器代码把PlayerWeapon = 17中的17修改成下面的...
流星蝴蝶剑里皇天城的屠城到底有多少血?怎么可以修改屠城的血量啊!_百 ...
npc05_01则是皇天城的屠城的,他有800血,你喜欢改就改吧.sn**_.pst这样的文件是关卡中自己的血量和武器等等.比如sn13_.pst,是金华城,用记事本打开,也可以修改自己的血 int playerHP = 2000 int playerHP = 2000这个代表这关有200.最高是5000血,你自己可以看着办.武器就是int PlayerWeapon和...
流星蝴蝶剑任务皇天城
1、炎硫岛 sn14 2、钟乳洞 sn01 3、一线天 sn03 4、金华城 sn13 5、炽雪城 sn04 6、飞鹏堡 sn15 7、皇天城 sn05 8、决死阵 sn09 9、炼铁狱 sn10 简单点,你要改皇天城,就找到sn05.pst,用文本文档打开,然后把PlayerHP一项改成9999990就行了,血多的打不死。回答者:0wsadwsad0 - 魔导师 十级 ...
流星蝴蝶剑加人问题
乾坤刀 46 47 48 49 指虎 50 51 52 53 忍刀 54 55 56 57 每一关对应的数字,例如你要找钟乳洞的,就是npc01_xx 1、炎硫岛 sn14 2、钟乳洞 sn01 3、一线天 sn03 4、金华城 sn13 5、炽雪城 sn04 6、飞鹏堡 sn15 7、皇天城 sn05 8、决死阵 sn09 9、炼铁狱 sn10 祝你好运!
貊飞颇得: 打开流星蝴蝶剑文件夹里面的level文件夹,里面有sn**_.pst之类的文件,选择打开方式,用记事本打开,比如sn05_.pst: // 皇天城 int Rule = 5; int RoundTime = 30; int PlayerSpawn = 83; int PlayerSpawnDir = 45; int PlayerWeapon = 24; int ...
金川区13492192646: 新流星蝴蝶剑怎么修改自己血的? - ?
貊飞颇得: 新流星蝴蝶剑修改自己血的方法:1. 打开LEVEL文件随便找个文件,点右键打开方式记事本,始终用此方式打开.面有一个名为sn01_.pst(sn后跟的数字是地图代码,如下)的文件,这是钟乳洞的设定,用记事本打开,其中: “int RoundTime=...
金川区13492192646: 流星蝴蝶剑怎么改电脑人的血量啊 - ?
貊飞颇得: 打开主目录里的Level文件夹,里面的sn01-;sn03-;sn04-;sn05-;sn09-;sn10-;sn13-;sn14-;sn15-,就 是游戏中的九个关卡,用记事本的方式将其打开,在里面找到这样的句子 ——————————————————————————————...
金川区13492192646: 流星蝴蝶剑如何修改文件?
貊飞颇得: 游戏目录下的 Level文件夹 那些sn4,sn03的文件用记事本打开 如果是某个关卡的文件,最上面会有写 比如我用记事本打开sn15_.pst文件 里面就会写着 飞鹏堡 PlayerHP就是血量,自己改下就行了
金川区13492192646: 流星蝴蝶剑修改 - ?
貊飞颇得: 楼上的太深奥.我整个简单点的.LEVEL文件夹中,主要有两种名字的文件.分别是npcxx_xx和snxx 都有两种扩展名,你找到pst的文件,用文本文档打开,就可以进行修改.第一类npcxx_xx修改的是每一关对应的每个NPC的属性.snxx修改的...
金川区13492192646: 流星蝴蝶剑怎么改血,和时间 . - ?
貊飞颇得: 修改 int RoundTime = 20; int PlayerHP = 2000; 这2个数值就可以了 int RoundTime =为时间设定,最大999 int PlayerHP =为HP生命值设定,最多好像是4亿多吧,忘记了、、 值得注意的是,HP的数值在游戏中是要减少一个0的,也就是如果是2000,那么在游戏里面只有200血了 本题由流星蝴蝶剑社区星蝶阁——xiao-jian所答、勿抄袭!~ 星蝶阁论坛:www.xingdiege.cn
金川区13492192646: 流星蝴蝶剑加一群电脑人 讲详细点 鬼知道snxx是什么 - ?
貊飞颇得: snxx是游戏文件内的一个决定主角属性的参数文件.教你怎么修改它使主角的属性变强.LEVEL文件夹中,主要有两种名字的文件.分别是npcxx_xx和snxx 都有两种扩展名,你找到pst的文件,用文本文档打开,就可以进行修改.第一类npcxx_...
金川区13492192646: 流星蝴蝶剑怎么调血啊 - ?
貊飞颇得: 简单,首先说调自己的血: 去LEVEL文件夹,找到snxx.pst文件(xx是数字)用文本文档(*.txt)打开,里面有一项PlayerHP,后面的数字改了就可以了,注意,数字要是游戏中血量的十倍,如你想改1000血,这里的数字就要改成10000. 还可...
金川区13492192646: 流星蝴蝶剑能加人的地图有哪些 - ?
貊飞颇得: 在流星蝴蝶剑目录下打开Level文件夹,里面有许多*.pst的文件,其中NPC*.pst都是普通机器人的文件,sn*_.pst是单机地图文件.还有十一个*.pst的机器人文件,这些都是隐藏了的机器人,在单人模式中,是见不到的.其中GUARD.pst和...