View Full Version: Valpurium Palm Branches

ivan >>Programming >>Valpurium Palm Branches


Freelance Berzerker- 09-03-2006
Valpurium Palm Branches
HolyBanana, I've been wanting to wield valpurium palm branches with my character for a long time. The required strength for wielding such a branch one-handed is 116. Anyways, for the sake of immediate gratification I coded the femaleslave to start out with 2 valpurium branches already equipped which I would then kill them for: femaleslave { DefaultArmStrength = 10; DefaultLegStrength = 10; DefaultDexterity = 10; DefaultAgility = 10; DefaultEndurance = 10; DefaultPerception = 18; DefaultIntelligence = 15; DefaultWisdom = 25; DefaultCharisma = 25; DefaultMana = 5; Sex = FEMALE; SkinColor = rgb16(160, 100, 64); HairColor = rgb16(80, 48, 32); HeadBitmapPos = 112, 80; TorsoBitmapPos = 32, 208; ArmBitmapPos = 64, 208; LegBitmapPos = 0, 144; TotalVolume = 40000; TotalSize = 170; Adjective = "female"; RightWielded = VALPURIUM palmbranch; LeftWielded = VALPURIUM palmbranch; BaseUnarmedStrength = 200; HostileReplies == "\"Yikes!\""; IsAbstract = true; IsExtraCoward = true; CanRead = true; First I adjusted the playerkind's STR to 116, but after he acquired 2 palm branches, he refused to used them as uncategorized weapons and only ended kicking monsters. I upped the STR to 200, but things remained the same. playerkind { DefaultArmStrength = 200; DefaultLegStrength = 10; DefaultDexterity = 10; DefaultAgility = 10; DefaultEndurance = 10; DefaultPerception = 10; DefaultIntelligence = 10; DefaultWisdom = 10; DefaultCharisma = 10; DefaultMana = 10; DefaultMoney = 45; TorsoBitmapPos = 32, 416; LegBitmapPos = 0, 416; TotalVolume = 80000; TotalSize = 175; CanRead = true; NameSingular = "human"; AttachedGod = SEGES; DisplacePriority = 2; Inventory == amulet(AMULET_OF_LIFE_SAVING) { Times = BONUS_LIVES; } BodyArmor = VALPURIUM bodyarmor(PLATE_MAIL) { Enchantment = 50; } Cloak = VALPURIUM cloak(CLOAK_OF_ELECTRICITY_RESISTANCE) { Enchantment = 50; } Belt = VALPURIUM belt { Enchantment = 50; } RightWielded = justifier; LeftWielded = justifier; RightGauntlet = VALPURIUM gauntlet(GAUNTLET_OF_STRENGTH) { Enchantment = 50; } RightRing = ring(RING_OF_FIRE_RESISTANCE); LeftRing = ring(RING_OF_POISON_RESISTANCE); RightBoot = PHOENIX_FEATHER boot(BOOT_OF_AGILITY) { Enchantment = 50; } } Since the valpurium palm branches weigh so much, do they exceed a weight limitation coded into the game which prevents overly cumbersome items from being wielded as weapons? EDIT: I tried to add a damage flag to the palm branch, but my player still couldn't use it as weapon. palmbranch { DefaultSize = 80; Possibility = 0; Category = MISC; DefaultMainVolume = 4000; StrengthModifier = 50; BitmapPos = 0, 240; FormModifier = 15; NameSingular = "palm branch"; NamePlural = "palm branches"; MainMaterialConfig == PALM_LEAF; Roundness = 80; IsTwoHanded = true; AttachedGod = SILVA; WieldedBitmapPos = 160, 208; IsValuable = false; DamageFlags = BLUNT; }

Freelance Berzerker- 09-08-2006

mistifilio, Planplan, and Z, Any idea why valpurium palm branches can't be wielded as weapons?

Planplan- 09-08-2006

miscitem.h ITEM(palmbranch, item) { public: virtual truth IsShield(const character*) const { return true; } }; The plambranch are considered a shield ^^

Freelance Berzerker- 09-08-2006

Aw, dude. My bad. Well, I guess that screws my efforts to try to use them as a weapon. Hell, how about we add shield-bashing to the game? Thanks for your efforts, Planplan.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.