.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   What's wrong with this script (http://forum.shrapnelgames.com/showthread.php?t=18775)

Thilock_Dominus April 16th, 2004 06:28 AM

What\'s wrong with this script
 
Okay, I'd never been great for scripting but what am I missing in this script to get it to work? Every time I starting Dom2 up it exiting before I can get to the menu.

The script:
Quote:

#modename "Miasma Marsh rider"
#description "Miasma Marsh rider mod adds lizard cavalry to the Miasma theme plus a riding hero."
#Icon "Miasma Marsh Riders.tga"
#Version 0.05
#domVersion 2.11


#newmonster 2000
#name "Marsh Rider"
#spr1 "stand.tga"
#spr2 "attack.tga"
#descr "The Marsh Rider are fearsome warriors"


#ap 23
#mapmove 3
#hp 25
#prot 5
#size 3
#str 15
#enc 1
#att 12
#def 14
#prec 12
#mr 12
#mor 14
#gcost 80
#rcost 20


#weapon "28"
#weapon "10"
#weapon "127"
#weapon "167"

#armor "7"

#coldblooded
#poisoncloud 6
#poison armor
#poisonres 100
#swampsurvival
#goodleader
#poormagicleader
#poorundeadleader

#end


#selectnation 5

#addrecunit "Marsh Rider" 2000
#end


<font size="2" face="sans-serif, arial, verdana">

Yossar April 16th, 2004 06:37 AM

Re: What\'s wrong with this script
 
#modename "Miasma Marsh rider"

There's one obvious problem.

Thilock_Dominus April 16th, 2004 06:41 AM

Re: What\'s wrong with this script
 
I know I can't adding it to the Miasma theme yet, but for time being am adding the new unit to all C'tis. I don't think the modname would make the crashes.


Thilock

Kristoffer O April 16th, 2004 06:43 AM

Re: What\'s wrong with this script
 
#modename should be #modname

#addrecunit "Marsh Rider" 2000 should be #addrecunit 2000 IIRC

Thilock_Dominus April 16th, 2004 06:46 AM

Re: What\'s wrong with this script
 
aaaahhh...thanks http://forum.shrapnelgames.com/images/icons/icon7.gif


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

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