View Single Post
Old 03-21-2003, 12:06 PM   #14 (permalink)
CopyKat
Senior Member
 
Join Date: Mar 2003
Location: Netherlands
Posts: 139
Default

Quote:
Originally Posted by Navek
ARGE!! The bloody code wont work.Ive got it so it should worj, but it wont, ill post it here. Here it is:
Quote:
; -----------------------------------------------------------------------------
; -----------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_ArtilleryBarrage1

VisiblePayloadTemplateName = TomahawkMissileWeapon ;Created when payload is dropped.
This causes my game to crash when ever i use it... :cry:

VERY true indeed. Just look at the one tiny bit I quoted from your quote. That is the very source of your problem. If you looked correctly in the original artillery code, it had ArtilleryBarrageShells which you replaced with TomahawkMissileWeapon. However, that is NOT a valid entry for that bit. Anything with the suffix Weapon behind it, should only be used to replace other entries with the suffix Weapon (like in this case, ArtilleryBarrageDamageWeapon).

Anyways, to be short, just replace TomahawkMissileWeapon with TomahawkMissile and you'll be fine (seeing as I messed around with the same bit heavily and I learned a lot from it. It works for me now ) Check my attachment to see a screenie of the TomahawkBarrage weapon I was able to create by using hte artilleryweapon template (although this is a new SW, not a replacement for the Artillery itself...)
CopyKat is offline   Reply With Quote