Guest User

Graveir

a guest
Jan 7th, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.80 KB | None | 0 0
  1. //////////////Edit By Fenix////////////////////////////////////////////////////////
  2. INSTANCE PC_Hero(NPC_DEFAULT)
  3.  
  4. {
  5. //-------- primary data --------
  6. name = "Bezimienny";
  7. Npctype = NPCTYPE_MAIN;
  8. guild = GIL_NONE;
  9. level = 0;
  10. voice = 15;
  11. id = 0;
  12.  
  13. //------------------------------
  14. exp = 0;
  15. exp_next = 500;
  16. lp = 0;
  17. //------------------------------
  18.  
  19. //--------- abilities --------
  20. attribute[ATR_STRENGTH] = 10;
  21. attribute[ATR_DEXTERITY] = 10;
  22. attribute[ATR_MANA_MAX] = 10;
  23. attribute[ATR_MANA] = 10;
  24. attribute[ATR_HITPOINTS_MAX]= 50;
  25. attribute[ATR_HITPOINTS] = 50;
  26. hero.attribute[ATR_REGENERATEHP] = 5;
  27. hero.attribute[ATR_REGENERATEMANA] = 10;
  28. /*
  29. attribute[ATR_STRENGTH] = 100;
  30. attribute[ATR_DEXTERITY] = 100;
  31. attribute[ATR_MANA_MAX] = 5;
  32. attribute[ATR_MANA] = 5;
  33. attribute[ATR_HITPOINTS_MAX]= 9900;
  34. attribute[ATR_HITPOINTS] = 9900;*/
  35.  
  36. //-------- visuals --------
  37. // animations
  38. Mdl_SetVisual (other,"HUMANS.MDS");
  39. Mdl_SetVisualBody (other,"hum_body_Naked0", 0, 1, "Hum_Head_Pony", 9, 0, -1);
  40. Mdl_ApplyOverlayMds (other, "HUMANS_Relaxed.MDS");
  41. if (MojaGildia == 2)
  42. {
  43. Mdl_SetVisualBody (other,"hum_body_Naked0", 1, 1, "Hum_Head_Bald", 100, 0, -1);
  44. Mdl_ApplyOverlayMds (other, "HUMANS_Relaxed.MDS");
  45. };
  46. if (MojaGildia == 1)
  47. {
  48. Mdl_SetVisualBody (other,"hum_body_Naked0", 0, 1, "Hum_Head_Bald", 35, 0, -1);
  49. Mdl_ApplyOverlayMds (other, "HUMANS_Relaxed.MDS");
  50. };
  51. //Mdl_ApplyOverlayMds (self, "HUMANS_1HTORCH.MDS");HUMAN_ZOMBIE.MDS
  52. //Mdl_ApplyOverlayMds (self, "HUMANS_DRUNKEN.MDS");
  53. //Mdl_ApplyOverlayMds (self, "HUMAN_ZOMBIE.MDS");
  54. // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex Armor-Tex
  55.  
  56. ////////Edit By Fenix////////////
  57. Npc_SetTalentSkill ( self, NPC_TALENT_PICKPOCKET,0);Npc_SetTalentValue(self,NPC_TALENT_PICKPOCKET,90);
  58. Npc_SetTalentSkill ( self, NPC_TALENT_PICKLOCK, 0);Npc_SetTalentValue(self,NPC_TALENT_PICKLOCK,90);
  59.  
  60. // Npc_SetTalentSkill (self,NPC_TALENT_1H,FS_Master);
  61. // Npc_SetTalentSkill (self,NPC_TALENT_2H,FS_Stronger);
  62. // Npc_SetTalentSkill (self,NPC_TALENT_BOW,2);
  63. // Npc_SetTalentSkill (self,NPC_TALENT_CROSSBOW,2);
  64. // Npc_SetTalentSkill ( self, NPC_TALENT_MAGE,6);
  65.  
  66. // Npc_SetTalentSkill ( self, NPC_TALENT_1H, 0);Npc_SetTalentValue(self,NPC_TALENT_1H,FS_Strong0);
  67. // Npc_SetTalentSkill ( self, NPC_TALENT_2H, 0);Npc_SetTalentValue(self,NPC_TALENT_2H,15);
  68. // Npc_SetTalentSkill ( self, NPC_TALENT_BOW, 0);Npc_SetTalentValue(self,NPC_TALENT_BOW,20);
  69. // Npc_SetTalentSkill ( self, NPC_TALENT_CROSSBOW, 0);Npc_SetTalentValue(self,NPC_TALENT_CROSSBOW,25);
  70.  
  71. // Npc_SetTalentSkill ( self, NPC_TALENT_SNEAK, 1);Npc_SetTalentValue(self,NPC_TALENT_SNEAK,40);
  72. // Npc_SetTalentSkill ( self, NPC_TALENT_REGENERATE, 1);Npc_SetTalentValue(self,NPC_TALENT_REGENERATE,45);
  73. // Npc_SetTalentSkill ( self, NPC_TALENT_FIREMASTER, 1);Npc_SetTalentValue(self,NPC_TALENT_FIREMASTER,50);
  74. // Npc_SetTalentSkill ( self, NPC_TALENT_ACROBAT, 1);Npc_SetTalentValue(self,NPC_TALENT_ACROBAT,55);
  75. // Npc_SetTalentSkill ( self, NPC_TALENT_F_1H, 1);//Npc_SetTalentValue(self,NPC_TALENT_F_1H,50);
  76. // Npc_SetTalentSkill ( self, NPC_TALENT_F_2H, 1);//Npc_SetTalentValue(self,NPC_TALENT_F_2H,55);
  77.  
  78. /////////////////////////////////
  79.  
  80. CreateInvItem (self, ItWr_Fire_Letter_01);
  81. CreateInvItem (self, ListOfDefaet);
  82.  
  83. /*CreateInvItem (self, SoulReaver);
  84. CreateInvItem (self, ReaverSeal);
  85. CreateInvItem (self, ReaverSeal_Earth);
  86. CreateInvItem (self, ReaverSeal_Air);
  87. CreateInvItem (self, ReaverSeal_Fire);
  88. CreateInvItem (self, ReaverSeal_Water);*/
  89. /*
  90. CreateInvItem (self, I_ARMOR_STTH_BOOTS);
  91. CreateInvItem (self, I_ARMOR_STTH_GRAVES);
  92. CreateInvItem (self, I_ARMOR_STTH_BREASTPLATE);
  93. CreateInvItem (self, I_ARMOR_STTH_GLOVES);
  94. CreateInvItem (self, I_ARMOR_STTH_GLOVES_FEN);
  95.  
  96.  
  97. CreateInvItem (self, CristalInosTears);
  98. CreateInvItem (self, CRISTALPUMA);
  99. CreateInvItem (self, CristalDestroyLife);
  100. CreateInvItem (self, CristalPumaTrans);
  101. CreateInvItem (self, CristalOrcTrans);
  102. CreateInvItem (self, CristalBELIARSCREAM);
  103. CreateInvItem (self, FIRE_CRISTAL);
  104. CreateInvItem (self, DarknessArmy_Cristal);
  105. CreateInvItem (self, UWCristal);
  106. CreateInvItem (self, CristalInosRage);
  107. CreateInvItem (self, CristalFury);
  108. CreateInvItem (self, BowRing1 );
  109. CreateInvItem (self, BowRing2 );
  110. CreateInvItem (self, BowAmulett);
  111. CreateInvItem (self, MagicRing1 );
  112. CreateInvItem (self, MagicRing2 );
  113. CreateInvItem (self, MagicAmulett);
  114. CreateInvItem (self, WarriorRing1 );
  115. CreateInvItem (self, WarriorRing2 );
  116. CreateInvItem (self, WarriorAmulett);
  117. CreateInvItem (self, INV_RING);
  118. CreateInvItem (self, TimeCristal);
  119. */
  120.  
  121. };
  122.  
  123. INSTANCE PC_Hero1(NPC_DEFAULT)
  124.  
  125. {
  126. //-------- primary data --------
  127. name = "Bezimienny";
  128. Npctype = NPCTYPE_MAIN;
  129. guild = GIL_NONE;
  130. level = 0;
  131. voice = 15;
  132. id = 0;
  133.  
  134. //------------------------------
  135. exp = 0;
  136. exp_next = 500;
  137. lp = 0;
  138. //------------------------------
  139.  
  140. //--------- abilities --------
  141. attribute[ATR_STRENGTH] = 10;
  142. attribute[ATR_DEXTERITY] = 10;
  143. attribute[ATR_MANA_MAX] = 5;
  144. attribute[ATR_MANA] = 5;
  145. attribute[ATR_HITPOINTS_MAX]= 45;
  146. attribute[ATR_HITPOINTS] = 45;
  147.  
  148. //-------- visuals --------
  149. // animations
  150. Mdl_SetVisual (self,"HUMANS.MDS");
  151. Mdl_ApplyOverlayMds (self,"Humans_Militia.mds");
  152. // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex Armor-Tex
  153. Mdl_SetVisualBody (self,"hum_body_Naked0", 4, 1, "Hum_Head_Pony", 9, 0, -1);
  154.  
  155. ////////Edit By Fenix////////////
  156. Npc_SetTalentSkill ( self, NPC_TALENT_PICKPOCKET,0);Npc_SetTalentValue(self,NPC_TALENT_PICKPOCKET,90);
  157. Npc_SetTalentSkill ( self, NPC_TALENT_PICKLOCK, 0);Npc_SetTalentValue(self,NPC_TALENT_PICKLOCK,90);
  158.  
  159. // Npc_SetTalentSkill (self,NPC_TALENT_1H,FS_Master);
  160. // Npc_SetTalentSkill (self,NPC_TALENT_2H,FS_Stronger);
  161. // Npc_SetTalentSkill (self,NPC_TALENT_BOW,2);
  162. // Npc_SetTalentSkill (self,NPC_TALENT_CROSSBOW,2);
  163. // Npc_SetTalentSkill ( self, NPC_TALENT_MAGE,6);
  164.  
  165. // Npc_SetTalentSkill ( self, NPC_TALENT_1H, 0);Npc_SetTalentValue(self,NPC_TALENT_1H,FS_Strong0);
  166. // Npc_SetTalentSkill ( self, NPC_TALENT_2H, 0);Npc_SetTalentValue(self,NPC_TALENT_2H,15);
  167. // Npc_SetTalentSkill ( self, NPC_TALENT_BOW, 0);Npc_SetTalentValue(self,NPC_TALENT_BOW,20);
  168. // Npc_SetTalentSkill ( self, NPC_TALENT_CROSSBOW, 0);Npc_SetTalentValue(self,NPC_TALENT_CROSSBOW,25);
  169.  
  170. // Npc_SetTalentSkill ( self, NPC_TALENT_SNEAK, 1);Npc_SetTalentValue(self,NPC_TALENT_SNEAK,40);
  171. // Npc_SetTalentSkill ( self, NPC_TALENT_REGENERATE, 1);Npc_SetTalentValue(self,NPC_TALENT_REGENERATE,45);
  172. // Npc_SetTalentSkill ( self, NPC_TALENT_FIREMASTER, 1);Npc_SetTalentValue(self,NPC_TALENT_FIREMASTER,50);
  173. // Npc_SetTalentSkill ( self, NPC_TALENT_ACROBAT, 1);Npc_SetTalentValue(self,NPC_TALENT_ACROBAT,55);
  174. // Npc_SetTalentSkill ( self, NPC_TALENT_F_1H, 1);//Npc_SetTalentValue(self,NPC_TALENT_F_1H,50);
  175. // Npc_SetTalentSkill ( self, NPC_TALENT_F_2H, 1);//Npc_SetTalentValue(self,NPC_TALENT_F_2H,55);
  176.  
  177. /////////////////////////////////
  178.  
  179. CreateInvItem (self, ItWr_Fire_Letter_01);
  180. CreateInvItem (self, ListOfDefaet);
  181.  
  182.  
  183. };
  184.  
  185. INSTANCE PC_Hero2(NPC_DEFAULT)
  186.  
  187. {
  188. //-------- primary data --------
  189. name = "Bezimienny";
  190. Npctype = NPCTYPE_MAIN;
  191. guild = GIL_NONE;
  192. level = 0;
  193. voice = 15;
  194. id = 0;
  195.  
  196. //------------------------------
  197. exp = 0;
  198. exp_next = 500;
  199. lp = 0;
  200. //------------------------------
  201.  
  202. //--------- abilities --------
  203. attribute[ATR_STRENGTH] = 10;
  204. attribute[ATR_DEXTERITY] = 10;
  205. attribute[ATR_MANA_MAX] = 5;
  206. attribute[ATR_MANA] = 5;
  207. attribute[ATR_HITPOINTS_MAX]= 45;
  208. attribute[ATR_HITPOINTS] = 45;
  209.  
  210. //-------- visuals --------
  211. // animations
  212. Mdl_SetVisual (self,"HUMANS.MDS");
  213. Mdl_ApplyOverlayMds (self,"Humans_Arrogance.mds");
  214. // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex Armor-Tex
  215. Mdl_SetVisualBody (self,"hum_body_Naked0", 4, 1, "Hum_Head_Pony", 9, 0, -1);
  216.  
  217. ////////Edit By Fenix////////////
  218. Npc_SetTalentSkill ( self, NPC_TALENT_PICKPOCKET,0);Npc_SetTalentValue(self,NPC_TALENT_PICKPOCKET,90);
  219. Npc_SetTalentSkill ( self, NPC_TALENT_PICKLOCK, 0);Npc_SetTalentValue(self,NPC_TALENT_PICKLOCK,90);
  220.  
  221. // Npc_SetTalentSkill (self,NPC_TALENT_1H,FS_Master);
  222. // Npc_SetTalentSkill (self,NPC_TALENT_2H,FS_Stronger);
  223. // Npc_SetTalentSkill (self,NPC_TALENT_BOW,2);
  224. // Npc_SetTalentSkill (self,NPC_TALENT_CROSSBOW,2);
  225. // Npc_SetTalentSkill ( self, NPC_TALENT_MAGE,6);
  226.  
  227. // Npc_SetTalentSkill ( self, NPC_TALENT_1H, 0);Npc_SetTalentValue(self,NPC_TALENT_1H,FS_Strong0);
  228. // Npc_SetTalentSkill ( self, NPC_TALENT_2H, 0);Npc_SetTalentValue(self,NPC_TALENT_2H,15);
  229. // Npc_SetTalentSkill ( self, NPC_TALENT_BOW, 0);Npc_SetTalentValue(self,NPC_TALENT_BOW,20);
  230. // Npc_SetTalentSkill ( self, NPC_TALENT_CROSSBOW, 0);Npc_SetTalentValue(self,NPC_TALENT_CROSSBOW,25);
  231.  
  232. // Npc_SetTalentSkill ( self, NPC_TALENT_SNEAK, 1);Npc_SetTalentValue(self,NPC_TALENT_SNEAK,40);
  233. // Npc_SetTalentSkill ( self, NPC_TALENT_REGENERATE, 1);Npc_SetTalentValue(self,NPC_TALENT_REGENERATE,45);
  234. // Npc_SetTalentSkill ( self, NPC_TALENT_FIREMASTER, 1);Npc_SetTalentValue(self,NPC_TALENT_FIREMASTER,50);
  235. // Npc_SetTalentSkill ( self, NPC_TALENT_ACROBAT, 1);Npc_SetTalentValue(self,NPC_TALENT_ACROBAT,55);
  236. // Npc_SetTalentSkill ( self, NPC_TALENT_F_1H, 1);//Npc_SetTalentValue(self,NPC_TALENT_F_1H,50);
  237. // Npc_SetTalentSkill ( self, NPC_TALENT_F_2H, 1);//Npc_SetTalentValue(self,NPC_TALENT_F_2H,55);
  238.  
  239. /////////////////////////////////
  240.  
  241. CreateInvItem (self, ItWr_Fire_Letter_01);
  242. CreateInvItem (self, ListOfDefaet);
  243.  
  244.  
  245. };
  246.  
  247.  
  248.  
  249.  
  250.  
  251. instance hero_test (Npc_Default)
  252. {
  253. //-------- primary data --------
  254.  
  255. name = "Bezio tester";
  256. npctype = NPCTYPE_MAIN;
  257. guild = GIL_NONE;
  258. level = 100;
  259. voice = 15;
  260. id = 0;
  261. flags = NPC_FLAG_IMMORTAL;
  262.  
  263. //-------- abilities --------
  264. attribute[ATR_STRENGTH] = 250;
  265. attribute[ATR_DEXTERITY] = 250;
  266. attribute[ATR_MANA_MAX] = 100;
  267. attribute[ATR_MANA] = 100;
  268. attribute[ATR_HITPOINTS_MAX]= 1280;
  269. attribute[ATR_HITPOINTS] = 1280;
  270.  
  271. //-------- visuals --------
  272. // animations
  273. Mdl_SetVisual (self,"HUMANS.MDS");
  274. Mdl_ApplyOverlayMds (self,"Humans_Arrogance.mds");
  275. // body mesh ,bdytex,skin,head mesh ,headtex,teethtex,ruestung
  276. Mdl_SetVisualBody (self,"hum_body_Naked0", 1, 0,"Hum_Head_Bald", 120, 0, AncientArmor);
  277.  
  278. B_Scale (self);
  279. Mdl_SetModelFatness(self,0);
  280.  
  281. self.aivar[AIV_IMPORTANT] = TRUE;
  282.  
  283. fight_tactic = FAI_HUMAN_MASTER;
  284.  
  285. //-------- Talente --------
  286.  
  287. Npc_SetTalentSkill (self, NPC_TALENT_PICKPOCKET,1);Npc_SetTalentValue(self,NPC_TALENT_PICKPOCKET,60);
  288. Npc_SetTalentSkill (self, NPC_TALENT_SNEAK, 1);
  289. Npc_SetTalentSkill (self, NPC_TALENT_PICKLOCK, 1);Npc_SetTalentValue(self,NPC_TALENT_PICKLOCK,60);
  290.  
  291. Npc_SetTalentSkill (self,NPC_TALENT_1H,FS_Master);
  292. Npc_SetTalentSkill (self,NPC_TALENT_2H,FS_Stronger);
  293. Npc_SetTalentSkill (self,NPC_TALENT_CROSSBOW,2);
  294. Npc_SetTalentSkill (self,NPC_TALENT_BOW,2);
  295.  
  296. Npc_SetTalentSkill ( self, NPC_TALENT_MAGE, 6);
  297.  
  298. Npc_SetTalentValue(self, NPC_TALENT_SNEAK, Npc_GetTalentValue(self, NPC_TALENT_SNEAK)+100);
  299. Npc_SetTalentValue(self, NPC_TALENT_REGENERATE, Npc_GetTalentValue(self, NPC_TALENT_REGENERATE)+100);
  300. Npc_SetTalentValue(self, NPC_TALENT_ACROBAT, Npc_GetTalentValue(self, NPC_TALENT_ACROBAT)+100);
  301. Npc_SetTalentValue(self, NPC_TALENT_FIREMASTER, Npc_GetTalentValue(self, NPC_TALENT_FIREMASTER)+100);
  302.  
  303.  
  304. //-------- inventory --------
  305.  
  306. EquipItem (self, SheerGhar);
  307. CreateInvItems (self, ItKeLockpick,6);
  308. CreateInvItem (self, InosDestiny);
  309. CreateInvItem (self, ItWr_Fire_Letter_01);
  310. CreateInvItem (self, ListOfDefaet);
  311. CreateInvItems (self, HealCristal,1);
  312. CreateInvItems (self, HealCristal,1);
  313. CreateInvItems (self, ItAt_Wolf_01,50);
  314. CreateInvItems (self, ItFoBooze,50);
  315. CreateInvItems (self, ItMiSwordraw,50);
  316. CreateInvItems (self, ItFoMuttonRaw,50);
  317. CreateInvItems (self, ItFoBeer,5);
  318.  
  319.  
  320.  
  321.  
  322. CreateInvItems (self, SpeedCristal, 1);
  323. CreateInvItems (self, ItMiNugget,2500);
  324. CreateInvItems (self, ItFo_Potion_Health_03,6);
  325. CreateInvItems (self,ItMi_Stuff_OldCoin_02, 1500);
  326. };
  327.  
  328. // ***************************************************************************
  329. // PlayerInstanz ANFANG LEVEL2!!! Mit Buddlerrüstung +10, Waffe +13, Waffe +20
  330. // ***************************************************************************
  331.  
  332. INSTANCE PC_Hero_L2(NPC_DEFAULT)
  333.  
  334. {
  335. //-------- primary data --------
  336. name = "Bezimienny";
  337. Npctype = NPCTYPE_MAIN;
  338. guild = GIL_NONE;
  339. level = 2;
  340. voice = 15;
  341. id = 0;
  342.  
  343. //------------------------------
  344. exp = 1500;
  345. exp_next = 3000;
  346. lp = 0;
  347. //------------------------------
  348.  
  349. //--------- abilities --------
  350. attribute[ATR_STRENGTH] = 13;
  351. attribute[ATR_DEXTERITY] = 10;
  352. attribute[ATR_MANA_MAX] = 5;
  353. attribute[ATR_MANA] = 5;
  354. attribute[ATR_HITPOINTS_MAX]= 64;
  355. attribute[ATR_HITPOINTS] = 64;
  356.  
  357. //-------- visuals --------
  358. // animations
  359. Mdl_SetVisual (self,"HUMANS.MDS");
  360. // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex Armor-Tex
  361. Mdl_SetVisualBody (self,"hum_body_Naked0", 4, 1, "Hum_Head_Pony", 9, 0, VLK_ARMOR_L);
  362.  
  363. //-------- talents --------
  364. //Npc_SetTalentSkill ( self, NPC_TALENT_PICKPOCKET,1);Npc_SetTalentValue(self,NPC_TALENT_PICKPOCKET,60);
  365. //Npc_SetTalentSkill ( self, NPC_TALENT_SNEAK, 1);
  366. //Npc_SetTalentSkill ( self, NPC_TALENT_PICKLOCK, 1);Npc_SetTalentValue(self,NPC_TALENT_PICKLOCK,60);
  367.  
  368. //Npc_SetTalentSkill (self, NPC_TALENT_1H,FS_Strong);
  369. //Npc_SetTalentSkill (self, NPC_TALENT_1H,FS_Strong);
  370. //Npc_SetTalentSkill (self, NPC_TALENT_2H,FS_Strong);
  371. //Npc_SetTalentSkill (self, NPC_TALENT_2H,FS_Strong);
  372. //Npc_SetTalentSkill (self, NPC_TALENT_BOW,1);
  373. //Npc_SetTalentSkill (self, NPC_TALENT_CROSSBOW,1);
  374.  
  375. //-------- inventory --------
  376. EquipItem (self, HeroSword20);
  377. CreateInvItems (self, ItAmArrow, 50);
  378. EquipItem (self, HeroSword13);
  379. EquipItem (self, HeroBow13);
  380. };
  381.  
  382.  
  383.  
  384. // ***************************************************************************
  385. // PlayerInstanz ANFANG LEVEL 5 (Ende Kap 1)
  386. // ***************************************************************************
  387.  
  388. INSTANCE PC_Hero_L5(NPC_DEFAULT)
  389.  
  390. {
  391. //-------- primary data --------
  392. name = "Bezimienny";
  393. Npctype = NPCTYPE_MAIN;
  394. guild = GIL_NONE; //
  395. level = 5;
  396. voice = 15;
  397. id = 0;
  398.  
  399. //------------------------------
  400. exp = 7500;
  401. exp_next = 10500;
  402. lp = 0;
  403. //------------------------------
  404.  
  405. //--------- abilities --------
  406. attribute[ATR_STRENGTH] = 25;
  407. attribute[ATR_DEXTERITY] = 10;
  408. attribute[ATR_MANA_MAX] = 5;
  409. attribute[ATR_MANA] = 5;
  410. attribute[ATR_HITPOINTS_MAX]= 100;
  411. attribute[ATR_HITPOINTS] = 100;
  412.  
  413. //-------- visuals --------
  414. // animations
  415. Mdl_SetVisual (self,"HUMANS.MDS");
  416. // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex Armor-Tex
  417. Mdl_SetVisualBody (self,"hum_body_Naked0", 4, 1, "Hum_Head_Pony", 9, 0, -1);
  418.  
  419. //-------- talents --------
  420. //Npc_SetTalentSkill ( self, NPC_TALENT_PICKPOCKET,1);Npc_SetTalentValue(self,NPC_TALENT_PICKPOCKET,60);
  421. //Npc_SetTalentSkill (self, NPC_TALENT_SNEAK, 1);
  422. //Npc_SetTalentSkill ( self, NPC_TALENT_PICKLOCK, 1);Npc_SetTalentValue(self,NPC_TALENT_PICKLOCK,60);
  423.  
  424. //Npc_SetTalentSkill (self, NPC_TALENT_1H,FS_Strong);
  425. //Npc_SetTalentSkill (self, NPC_TALENT_1H,FS_Strong);
  426. //Npc_SetTalentSkill (self, NPC_TALENT_2H,FS_Strong);
  427. //Npc_SetTalentSkill (self, NPC_TALENT_2H,FS_Strong);
  428. //Npc_SetTalentSkill (self, NPC_TALENT_BOW,1);
  429. //Npc_SetTalentSkill (self, NPC_TALENT_CROSSBOW,1);
  430.  
  431. //-------- inventory --------
  432. EquipItem (self, HeroSword25);
  433. EquipItem (self, HeroBow13);
  434. CreateInvItems (self, ItAmArrow, 50);
  435. };
  436.  
  437. // ***************************************************************************
  438. // PlayerInstanz LEVEL 7 (Anfang Kapitel 2)
  439. // ***************************************************************************
  440. INSTANCE PC_Hero_L7(NPC_DEFAULT)
  441. {
  442. //-------- primary data --------
  443. name = "Bezimienny";
  444. Npctype = NPCTYPE_MAIN;
  445. guild = GIL_ORG; //
  446. level = 7;
  447. voice = 15;
  448. id = 0;
  449.  
  450. //------------------------------
  451. exp = 14000;
  452. exp_next = 18000;
  453. lp = 0;
  454. //------------------------------
  455.  
  456. //--------- abilities --------
  457. attribute[ATR_STRENGTH] = 45;
  458. attribute[ATR_DEXTERITY] = 35;
  459. attribute[ATR_MANA_MAX] = 20;
  460. attribute[ATR_MANA] = 20;
  461. attribute[ATR_HITPOINTS_MAX]= 160;
  462. attribute[ATR_HITPOINTS] = 160;
  463.  
  464. //-------- visuals --------
  465. // animations
  466. Mdl_SetVisual (self,"HUMANS.MDS");
  467. // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex Armor-Tex
  468. Mdl_SetVisualBody (self,"hum_body_Naked0", 4, 1, "Hum_Head_Pony", 9, 0, ORG_ARMOR_H);
  469.  
  470. //-------- talents --------
  471. //Npc_SetTalentSkill ( self, NPC_TALENT_PICKPOCKET,1);Npc_SetTalentValue(self,NPC_TALENT_PICKPOCKET,60);
  472. //Npc_SetTalentSkill (self, NPC_TALENT_SNEAK, 1);
  473. Npc_SetTalentSkill ( self, NPC_TALENT_PICKLOCK, 1);Npc_SetTalentValue(self,NPC_TALENT_PICKLOCK,60);
  474.  
  475. Npc_SetTalentSkill (self, NPC_TALENT_1H,FS_Strong);
  476. //Npc_SetTalentSkill (self, NPC_TALENT_1H,FS_Strong);
  477. //Npc_SetTalentSkill (self, NPC_TALENT_2H,FS_Strong);
  478. //Npc_SetTalentSkill (self, NPC_TALENT_2H,FS_Strong);
  479. //Npc_SetTalentSkill (self, NPC_TALENT_BOW,1);
  480. //Npc_SetTalentSkill (self, NPC_TALENT_CROSSBOW,1);
  481.  
  482. //-------- inventory --------
  483. EquipItem (self, ItMw_1H_Sword_05);
  484. EquipItem (self, ItRw_Bow_Small_04);
  485. CreateInvItems (self, ItAmArrow, 100);
  486. CreateInvItems (self, ItMiNugget, 50);
  487. CreateInvItem (self, ItWrWorldmap);
  488. CreateInvItems (self, ItKeLockpick, 30);
  489. CreateInvItems (self, ItLsTorch, 20);
  490. CreateInvItems (self, ItFo_Potion_Health_03, 20);
  491. CreateInvItems (self, ItFo_Potion_Mana_03, 20);
  492. };
  493.  
  494. // ***************************************************************************
  495. // PlayerInstanz LEVEL 11 (Anfang Kapitel 3)
  496. // ***************************************************************************
  497. INSTANCE PC_Hero_L11(NPC_DEFAULT)
  498. {
  499. //-------- primary data --------
  500. name = "Bezimienny";
  501. Npctype = NPCTYPE_MAIN;
  502. guild = GIL_SLD; //
  503. level = 11;
  504. voice = 15;
  505. id = 0;
  506.  
  507. //------------------------------
  508. exp = 33000;
  509. exp_next = 39000;
  510. lp = 0;
  511. //------------------------------
  512.  
  513. //--------- abilities --------
  514. attribute[ATR_STRENGTH] = 60;
  515. attribute[ATR_DEXTERITY] = 45;
  516. attribute[ATR_MANA_MAX] = 50;
  517. attribute[ATR_MANA] = 50;
  518. attribute[ATR_HITPOINTS_MAX]= 220;
  519. attribute[ATR_HITPOINTS] = 220;
  520.  
  521. //-------- visuals --------
  522. // animations
  523. Mdl_SetVisual (self,"HUMANS.MDS");
  524. // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex Armor-Tex
  525. Mdl_SetVisualBody (self,"hum_body_Naked0", 4, 1, "Hum_Head_Pony", 9, 0, SLD_ARMOR_H);
  526.  
  527. //-------- talents --------
  528. //Npc_SetTalentSkill ( self, NPC_TALENT_PICKPOCKET,1);Npc_SetTalentValue(self,NPC_TALENT_PICKPOCKET,60);
  529. //Npc_SetTalentSkill (self, NPC_TALENT_SNEAK, 1);
  530. Npc_SetTalentSkill ( self, NPC_TALENT_PICKLOCK, 1);Npc_SetTalentValue(self,NPC_TALENT_PICKLOCK,60);
  531.  
  532. Npc_SetTalentSkill (self, NPC_TALENT_1H,FS_Master);
  533. //Npc_SetTalentSkill (self, NPC_TALENT_1H,FS_Strong);
  534. //Npc_SetTalentSkill (self, NPC_TALENT_2H,FS_Strong);
  535. //Npc_SetTalentSkill (self, NPC_TALENT_2H,FS_Strong);
  536. Npc_SetTalentSkill (self, NPC_TALENT_BOW,1);
  537. //Npc_SetTalentSkill (self, NPC_TALENT_CROSSBOW,1);
  538.  
  539. //-------- inventory --------
  540. EquipItem (self, ItMw_1H_Sword_Long_05);
  541. EquipItem (self, ItRw_Bow_Long_02);
  542. CreateInvItems (self, ItAmArrow, 100);
  543. CreateInvItems (self, ItMiNugget, 400);
  544. CreateInvItems (self, ItKeLockpick, 30);
  545. CreateInvItems (self, ItLsTorch, 20);
  546. };
  547.  
  548. // ***************************************************************************
  549. // PlayerInstanz LEVEL 13 (Mitte Kapitel 3)
  550. // ***************************************************************************
  551. INSTANCE PC_Hero_L13(NPC_DEFAULT)
  552. {
  553. //-------- primary data --------
  554. name = "Bezimienny";
  555. Npctype = Npctype_Main;
  556. guild = GIL_SLD; //
  557. level = 13;
  558. voice = 15;
  559. id = 0;
  560.  
  561. //------------------------------
  562. exp = 45500;
  563. exp_next = 52500;
  564. lp = 0;
  565. //------------------------------
  566.  
  567. //--------- abilities --------
  568. attribute[ATR_STRENGTH] = 65;
  569. attribute[ATR_DEXTERITY] = 50;
  570. attribute[ATR_MANA_MAX] = 50;
  571. attribute[ATR_MANA] = 50;
  572. attribute[ATR_HITPOINTS_MAX]= 250;
  573. attribute[ATR_HITPOINTS] = 250;
  574.  
  575. //-------- visuals --------
  576. // animations
  577. Mdl_SetVisual (self,"HUMANS.MDS");
  578. // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex Armor-Tex
  579. Mdl_SetVisualBody (self,"hum_body_Naked0", 4, 1, "Hum_Head_Pony", 9, 0, SLD_ARMOR_H);
  580.  
  581. //-------- talents --------
  582. Npc_SetTalentSkill ( self, NPC_TALENT_PICKPOCKET,1);Npc_SetTalentValue(self,NPC_TALENT_PICKPOCKET,60);
  583. Npc_SetTalentSkill (self, NPC_TALENT_SNEAK, 1);
  584. Npc_SetTalentSkill ( self, NPC_TALENT_PICKLOCK, 1);Npc_SetTalentValue(self,NPC_TALENT_PICKLOCK,60);
  585.  
  586. Npc_SetTalentSkill (self, NPC_TALENT_1H,FS_Master);
  587. //Npc_SetTalentSkill (self, NPC_TALENT_1H,FS_Strong);
  588. //Npc_SetTalentSkill (self, NPC_TALENT_2H,FS_Strong);
  589. //Npc_SetTalentSkill (self, NPC_TALENT_2H,FS_Strong);
  590. Npc_SetTalentSkill (self, NPC_TALENT_BOW,1);
  591. //Npc_SetTalentSkill (self, NPC_TALENT_CROSSBOW,1);
  592.  
  593. //-------- inventory --------
  594. EquipItem (self, ItMw_1H_Sword_Broad_01);
  595. EquipItem (self, ItRw_Bow_Long_04);
  596. CreateInvItems (self, ItAmArrow, 100);
  597. CreateInvItems (self, ItMiNugget, 400);
  598. CreateInvItems (self, ItKeLockpick, 50);
  599. CreateInvItems (self, ItLsTorch, 20);
  600. };
  601.  
  602. // ***************************************************************************
  603. // Testwaffen
  604. // ***************************************************************************
  605.  
  606. instance HeroSword13 (C_Item)
  607. {
  608. name = "worn out sword";//Rostiges Schwert
  609.  
  610. mainflag = ITEM_KAT_NF;
  611. flags = ITEM_SWD;
  612. material = MAT_METAL;
  613.  
  614. value = 27;
  615.  
  616. damage = 13;
  617. damagetype = DAM_EDGE;
  618. range = 100;
  619.  
  620. visual = "ItMw1hSwordold01.3DS";
  621. };
  622.  
  623. INSTANCE HeroSword20 (C_Item)
  624. {
  625. name = "sword";//Schwert
  626.  
  627. mainflag = ITEM_KAT_NF;
  628. flags = ITEM_SWD;
  629. material = MAT_METAL;
  630.  
  631. value = 31;
  632.  
  633. damage = 20;
  634. damagetype = DAM_EDGE;
  635. range = 100;
  636.  
  637. visual = "ItMw1hSword01.3DS";
  638. };
  639.  
  640. INSTANCE HeroSword25 (C_Item)
  641. {
  642. name = "sword";//Schwert
  643.  
  644. mainflag = ITEM_KAT_NF;
  645. flags = ITEM_SWD;
  646. material = MAT_METAL;
  647.  
  648. value = 31;
  649.  
  650. damage = 25;
  651. damagetype = DAM_EDGE;
  652. range = 100;
  653.  
  654. visual = "ItMw1hSword01.3DS";
  655. };
  656.  
  657. INSTANCE HeroBow13 (C_Item)
  658. {
  659. name = "Longbow";//Langbogen
  660.  
  661. mainflag = ITEM_KAT_FF;
  662. flags = ITEM_BOW;
  663. material = MAT_WOOD;
  664.  
  665. value = 35;
  666.  
  667. damage = 13;
  668. damagetype = DAM_POINT;
  669. munition = ItAmArrow;
  670.  
  671. visual = "ItRwLongbow.mms";
  672. };
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679. // *********** NBezimiennyT LÖSCHEN - SONST STERBEN **************
  680.  
  681.  
  682. INSTANCE XP_Map(C_Item)
  683. {
  684. name = "Dziwna mapa";
  685.  
  686. mainflag = ITEM_KAT_DOCS;
  687. flags = 0;
  688.  
  689. value = 1000;
  690.  
  691. visual = "ItWr_Map_01.3ds";
  692. material = MAT_LEATHER;
  693.  
  694. scemeName = "MAP";
  695. on_state[0] = Use_XP_Map;
  696. };
  697.  
  698. FUNC VOID Use_XP_Map()
  699. {
  700. CreateInvItems(self,ItMiNugget,1000);
  701. hero.lp = hero.lp + 20;
  702.  
  703. PrintScreen ("+1000 bryłek rudy!", -1,40,"font_10_book.tga",10);
  704. };
  705.  
  706.  
  707. INSTANCE PC_All(NPC_DEFAULT)
  708.  
  709. {
  710. //-------- primary data --------
  711. name = "Bezimienny";
  712. Npctype = NPCTYPE_MAIN;
  713. guild = GIL_NONE;
  714. level = 0;
  715. voice = 15;
  716. id = 0;
  717.  
  718. //------------------------------
  719. exp = 0;
  720. exp_next = 500;
  721. lp = 0;
  722. //------------------------------
  723.  
  724. //--------- abilities --------
  725. attribute[ATR_STRENGTH] = 10000;
  726. attribute[ATR_DEXTERITY] = 10000;
  727. attribute[ATR_MANA_MAX] = 50000;
  728. attribute[ATR_MANA] = 50000;
  729. attribute[ATR_HITPOINTS_MAX]= 45000;
  730. attribute[ATR_HITPOINTS] = 45000;
  731.  
  732. //-------- visuals --------
  733. // animations
  734. Mdl_SetVisual (self,"HUMANS.MDS");
  735. //Mdl_ApplyOverlayMds (self, "HUMANS_1HTORCH.MDS");HUMAN_ZOMBIE.MDS
  736. //Mdl_ApplyOverlayMds (self, "HUMANS_DRUNKEN.MDS");
  737. //Mdl_ApplyOverlayMds (self, "HUMAN_ZOMBIE.MDS");
  738. // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex Armor-Tex
  739. Mdl_SetVisualBody (self,"hum_body_Naked0", 4, 1, "Hum_Head_Pony", 9, 0, -1);
  740.  
  741.  
  742. };
Advertisement
Add Comment
Please, Sign In to add comment