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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old April 16th, 2004, 06:28 AM
Thilock_Dominus's Avatar

Thilock_Dominus Thilock_Dominus is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Denmark
Posts: 471
Thanks: 23
Thanked 28 Times in 16 Posts
Thilock_Dominus is on a distinguished road
Default 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

__________________
| Ubuntu Linux 12.04 64-bit |

Nosophoros: The Vampire Lords - v1.02
Conquest of Elysium 3 GUI mods
Reply With Quote
  #2  
Old April 16th, 2004, 06:37 AM

Yossar Yossar is offline
Sergeant
 
Join Date: Feb 2004
Posts: 365
Thanks: 0
Thanked 0 Times in 0 Posts
Yossar is on a distinguished road
Default Re: What\'s wrong with this script

#modename "Miasma Marsh rider"

There's one obvious problem.
Reply With Quote
  #3  
Old April 16th, 2004, 06:41 AM
Thilock_Dominus's Avatar

Thilock_Dominus Thilock_Dominus is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Denmark
Posts: 471
Thanks: 23
Thanked 28 Times in 16 Posts
Thilock_Dominus is on a distinguished road
Default 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
__________________
| Ubuntu Linux 12.04 64-bit |

Nosophoros: The Vampire Lords - v1.02
Conquest of Elysium 3 GUI mods
Reply With Quote
  #4  
Old April 16th, 2004, 06:43 AM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default Re: What\'s wrong with this script

#modename should be #modname

#addrecunit "Marsh Rider" 2000 should be #addrecunit 2000 IIRC
__________________
www.illwinter.com
Reply With Quote
  #5  
Old April 16th, 2004, 06:46 AM
Thilock_Dominus's Avatar

Thilock_Dominus Thilock_Dominus is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Denmark
Posts: 471
Thanks: 23
Thanked 28 Times in 16 Posts
Thilock_Dominus is on a distinguished road
Default Re: What\'s wrong with this script

aaaahhh...thanks
__________________
| Ubuntu Linux 12.04 64-bit |

Nosophoros: The Vampire Lords - v1.02
Conquest of Elysium 3 GUI mods
Reply With Quote
Reply

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 06:37 AM.


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