.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old January 9th, 2009, 05:50 PM

Panpiper Panpiper is offline
Corporal
 
Join Date: Aug 2004
Location: Montreal
Posts: 186
Thanks: 21
Thanked 16 Times in 7 Posts
Panpiper is on a distinguished road
Default Curious problem with #newweapon

I need to create a magic spear that is one handed. This should not be a problem, or so I would have thought.

I have a commander that was carrying an enchanted spear and shield, this being thematic for the commander. However if a player were to give the commander say, a magic shield, the spear would disappear. This because the spear is defined in game as a two handed weapon. So I need to define a new weapon that is 'called' a spear, that is actually a single hand weapon, and to equip the commander with that new weapon. So I created:

#newweapon 733
#name "Spear of Slaanesh"
#dmg 6
#att 1
#def 1
#len 4
#magic
#rcost 0
#end

Now in game when playing, the commander is in fact carrying a weapon called in game; "Spear of Slaanesh" with the listed stats. However, if I give that commander a magic shield, just like before, the spear is no longer equipped. !!!

The above described weapon does not 'copystats' from a spear, it is ostensibly as far as I know a completely unique new weapon. Why on earth is the game treating it still as a two handed weapon? Does the length of it default to a two handed weapon? Is there a command I can use to force it into a one handed weapon?
__________________
Chaos Undivided Race Mod
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:34 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.