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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars > Scenarios, Maps & Mods

Reply
 
Thread Tools Display Modes
  #1  
Old July 20th, 2004, 11:00 PM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Default Re: What\'s wrong with this MOD file ?

I really should go to bed .. but .. further testing:

changed 8th line into two:

-- additional scout at startup ...
-- does not work without resetting the wholeeeeeeeeeee


as soon as you add anything to the 2nd line, DOM crashes (test with "e")
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
Reply With Quote
  #2  
Old September 24th, 2005, 08:48 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: What\'s wrong with this MOD file ?

I seem to have encountered the same problem. The stderr file DomII generates tells me that 'Något gick fel! mod has no #modname'. If the mod is in my Dominions II\mods\ folder, the crashes at startup.

I fixed it by creating a new .dm file from an existing mod, an copypasting the unworking mod command by command. In the end, everything worked. So I just pasted everything to the new mod file, and it worked! I don't know what the problem was, but having renamed the nonworking mod to something else to be able to start Dominions at all didn't do a thing. This is very strange, and could cause one to stop modding, frustrated with a mysterious bug. Had I not modded before, I would have just given up on this.
Reply With Quote
  #3  
Old September 24th, 2005, 02:05 PM

quantum_mechani quantum_mechani is offline
Lieutenant General
 
Join Date: Dec 2003
Location: Alaska
Posts: 2,968
Thanks: 24
Thanked 221 Times in 46 Posts
quantum_mechani is on a distinguished road
Default Re: What\'s wrong with this MOD file ?

Quote:
Endoperez said:
Had I not modded before, I would have just given up on this.
Heh, I ran into this exact problem with my first couple of mods.
Reply With Quote
  #4  
Old September 26th, 2005, 01:46 PM

Oversway Oversway is offline
First Lieutenant
 
Join Date: Feb 2005
Posts: 693
Thanks: 0
Thanked 0 Times in 0 Posts
Oversway is on a distinguished road
Default Re: What\'s wrong with this MOD file ?


When something like that happens in programs I've often found that either there was some weird special (non-printing) character in the original file or the last line needs a newline/linefeed/etc.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 12:50 PM.


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