Seasoned Roamer Phish Phlot Posted March 18, 2005 Share Posted March 18, 2005 whats wrong with my script? begindefinecreature 244; cr_name = "Dark dragon"; cr_default_script = "basicnpc"; cr_level = 350; cr_hp_bonus = 1000000; cr_sp_bonus = 1000000; cr_special_abil = 33; //Breathes darkness (damage + enfeeblement) cr_default_attitude = 3; //Neutral cr_species = 5; //Reptile cr_natural_armor = 10000; cr_attack_1 = 1000; cr_attack_1_type = 2; //Bite cr_attack_2 = 1000; cr_attack_23_type = 7; //Burns cr_attack_3 = 500; cr_ap_bonus = 50; cr_default_strategy = 0; //Default. Creature runs up to nearest foe and fights cr_default_agression = 50; cr_default_courage = 100; cr_which_sheet = 128; cr_which_sheet_upper = 129; cr_small_or_large_template = 1; cr_what_stat_adjust 0 = 0; //Strength cr_amount_stat_adjust 0 = 1000; cr_what_stat_adjust 1 = 11; //Mage Spells cr_amount_stat_adjust 1 = 1000; cr_what_stat_adjust 2 = 2; //Intelligence cr_amount_stat_adjust 2 = 1000; cr_what_stat_adjust 3 = 1; //Dexterity cr_amount_stat_adjust 3 = 10000; cr_what_stat_adjust 4 = 3; //Endurance cr_amount_stat_adjust 4 = 10000; cr_what_stat_adjust 5 = 12; //Priest Spells cr_amount_stat_adjust 5 = 1000; cr_immunities 0 = 100; //Fire cr_immunities 1 = 100; //Cold cr_immunities 2 = 100; //Magic cr_immunities 3 = 100; //Mental cr_immunities 4 = 99; //Poison/acid cr_immunities 5 = 100; //Melee Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted March 18, 2005 Share Posted March 18, 2005 Other than that the monster is terrible, this is your problem: cr_default_agression = 50; should be cr_default_aggression = 50; I highly recommend to you Alint . It spots these problems in moments. Link to comment Share on other sites More sharing options...
Seasoned Roamer Phish Phlot Posted March 18, 2005 Author Share Posted March 18, 2005 i know it's terible Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Lilith Posted March 18, 2005 Share Posted March 18, 2005 Also, there are several illegal values there. Monster levels can't be higher than 100, and I'm pretty sure total monster HP (base+bonus) can't be higher than 32767. And since the maximum damage from an attack is 32767, and any value higher than that will wrap around and probably count as 0 damage, you should rejig Strength and melee attacks as well. Since it looks as if it's the kind of monster that the party is really Not Supposed To Fight, why not just give it 100% resistance to all damage and give it a creature script that kills the party if it's ever hostile? Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted March 20, 2005 Share Posted March 20, 2005 Syntactically? Nothing, I think. Are you getting an error message? Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Lilith Posted March 20, 2005 Share Posted March 20, 2005 Uh, a piece of armour shouldn't have an it_weapon_skill_used field. Link to comment Share on other sites More sharing options...
Seasoned Roamer Phish Phlot Posted March 20, 2005 Author Share Posted March 20, 2005 I'm geting an errer that says "the editer just failed to load this graphic: sheet 129, icon one..." Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted March 20, 2005 Share Posted March 20, 2005 Are you trying to use a custom graphic? If so, it should be numbered between 500 and 600. The sheet, that is. Link to comment Share on other sites More sharing options...
Seasoned Roamer Phish Phlot Posted March 20, 2005 Author Share Posted March 20, 2005 Now it does not have an errer but it won't show the graphic. Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted March 20, 2005 Share Posted March 20, 2005 Try to give slightly more information when you need help, please. I'm having a horrible time figuring out what you've done. So is the graphic actually numbered something between 500 and 600 in your custom graphics file? Does your script now match up to that? Is it a properly formatted graphic (bmp on PC, PICT resource on a Mac)? Link to comment Share on other sites More sharing options...
Magnificent Ornk Drakefyre Posted March 20, 2005 Share Posted March 20, 2005 You're only giving it a floor graphic - you need to give it a regular graphic too. Link to comment Share on other sites More sharing options...
Rotghroth Rhapsody Overwhelming Posted March 20, 2005 Share Posted March 20, 2005 Jaaari's Creature and Item Editor Tools might be useful too. You can get them here . Link to comment Share on other sites More sharing options...
Recommended Posts