流星蝴蝶劍怎么修改
流星蝴蝶劍怎么修改
很多喜歡玩單機(jī)的玩家都玩過流星蝴蝶劍,但是去不知道怎么修改,學(xué)習(xí)啦小編為大家整理了流星蝴蝶劍修改的相關(guān)內(nèi)容,供大家參考閱讀!
流星蝴蝶劍修改的方法
打開Level文件夾,將npc13_01pst文件復(fù)制,粘貼在桌面。如下圖
2因?yàn)閚pc13_01是流星陣營(yíng)的冷艷,所以直接重命名一下就好了,可以命名為1或者其它英文字母。然后將重命名的文件粘貼在Level文件夾的根目錄。想多復(fù)制幾個(gè)也可以,如下圖
3接下來就是場(chǎng)景的修改,打開sn_01,加入你復(fù)制到level文件夾的pst文件名,并加上代碼。
// 鍾乳洞
int Rule = 10;
int RoundTime = 10;
int PlayerSpawn = 9;
int PlayerSpawnDir = 90;
int PlayerWeapon = 5;
int PlayerWeapon2 = 1;
int PlayerHP = 1500;
int trg0 = 0;
int trg1 = 0;
int trg2 = 0;
int trg3 = 0;
int trg4 = 0;
int trg5 = 0;
int trg6 = 0;
OnStart()
{
AddNPC("npc01_01");
AddNPC("npc01_02");
AddNPC("npc01_03");
AddNPC("1");《加入對(duì)應(yīng)的npc文件名》
AddNPC("2");
AddNPC("3");
AddNPC("4");
AddNPC("5");
}
如下圖
4string Name = "冷燕";
int Model = 1;
int Weapon = 13;
int Weapon2 = 14;
int Team = 1;《1是流星陣營(yíng),2是蝴蝶陣營(yíng),》
int View = 500;
int Think = 100;
int Attack1 = 30;
int Attack2 = 30;
int Attack3 = 20;
int Guard = 20;
int Dodge = 30;
int Jump = 20;
int Look = 30;
int Burst = 30;
int Aim = 80;
int GetItem = 50;
int Spawn = 62;
int HP = 2000;《2000是血值,實(shí)際血是200,》
int g_selfAddr;
int g_self;
OnInit(int this)
{
g_selfAddr = this;
}
OnStart()
{
g_self = GetSelf(g_selfAddr);
ChangeBehavior(g_self, "follow", "vip");
}