.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 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old June 13th, 2008, 01:33 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default What am I missing ? Commaner Creation

#newmonster 2200
#name "Atlantis Void Summoner"
#descr "The Atlantis Void Summoner was brought from the Void as a wish granted from the Djinn. The Void Summoner remains serving Atlantis with the promise it will one day be returned to the void."
#copystats 560
#copyspr 607
#resize 5
#immobile
#fireres 120
#fireshield 12
#ap 4
#reinvigoration 5

#end


I'm not sure what I'm doing wrong... a commander appears in the test map but it's the default unit#0 and the wrong sprite with none of the specified attributes.
__________________
There can be only one.
Reply With Quote
  #2  
Old June 13th, 2008, 01:40 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: What am I missing ? Commaner Creation

First thing I can see is that you've put copystats after the name and description, which is a nono since they'll get overwritten.

Also it's #ressize

I don't think you can have #fireres over 100

Hmm what else,..... how are you actually getting it into the test map? Are you recruiting it or setting it as a starting commander or what? If the unit you're getting is unit #0 that has nothing to do with this code - it's the code you're using to actually put the unit there that will have a problem.
Reply With Quote
  #3  
Old June 13th, 2008, 01:48 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: What am I missing ? Commaner Creation

Actually you can have fireres over 100... it was one of my mod requests which became possible. All elemental resistances can be over 100. This allows fire elementals not to be killed by barkskin since logically throwing wood on any fire shouldn't kill it.

I changed #ressize to using just #size... still no luck.

For testing I place it into a small map using
#setland 1
#owner 21
#commander 2200
__________________
There can be only one.
Reply With Quote
  #4  
Old June 13th, 2008, 02:00 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: What am I missing ? Commaner Creation


Well I tried the following and still no luck:

#newmonster 2083
#copyspr 607
#copystats 560
#name "Atlantis Void Summoner"
#descr "The Atlantis Void Summoner was brought from the Void as a wish granted from the Djinn. The Void Summoner remains serving Atlantis with the promise it will one day be returned to the void."
#size 5
#immobile
#fireres 120
#fireshield 12
#ap 4
#reinvigoration 5

#end
__________________
There can be only one.
Reply With Quote
  #5  
Old June 13th, 2008, 02:01 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: What am I missing ? Commaner Creation

Like I said, it's nothing to do with the unit code if you're getting unit ID #0, it's to do with the way you're placing it. I don't know much about map codes so I can't really comment on that.

I just added the unit into the Ulm Reborn dm with #addreccom 2200 and he showed up fine. Baphomet sprite with the stats of a void summoner guy, plus the stuff you added.


#newmonster 2200
#copystats 560
#copyspr 607
#name "Atlantis Void Summoner"
#descr "The Atlantis Void Summoner was brought from the Void as a wish granted from the Djinn. The Void Summoner remains serving Atlantis with the promise it will one day be returned to the void."
#ressize 5
#immobile
#fireres 120
#fireshield 12
#ap 4
#reinvigoration 5
#end

------- Add leaders

#addreccom 2307 -- Captain Hammer
#addreccom 2309 -- Black Acolyte
#addreccom 2310 -- Black Priest
#addreccom 2314 -- White Acolyte
#addreccom 2200 -- NTjedi thingy

Those are just the bits that matter taken out of the context of the dm.
Reply With Quote
  #6  
Old June 13th, 2008, 02:27 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: What am I missing ? Commaner Creation

After more testing I found the bug... apparently it works fine as a recruitable commander yet it cannot be placed on the map as a starting commander... I estimate all newmonsters from mods will not appear if their number is listed within a .map file.

EDIT UPDATE:
HOWEVER... it will appear on the map if I specify by name within the .map file. So just don't specify by number for new modded monsters.


Also thanks for your help Sombre
__________________
There can be only one.
Reply With Quote
  #7  
Old June 13th, 2008, 03:59 PM
Edratman's Avatar

Edratman Edratman is offline
First Lieutenant
 
Join Date: May 2007
Location: Reading, PA
Posts: 724
Thanks: 93
Thanked 37 Times in 27 Posts
Edratman is on a distinguished road
Default Re: What am I missing ? Commaner Creation

I place new monsters from mods in map files all the time without problems and I only use unit ID number. I place them both as starting commanders and sole units, like a scout or mage. But you actually place them in a province, which you set as your starting province.

I've forgotten to specify ownership of the province that I've set commanders in. They then become indies.

You should be able to place your monster as a third commander in your starting castle using a map edit #commander. To make it one of the two starting commanders you have to change the #startcom command in the dm file.
__________________
Men do not quit playing because they grow old; they grow old because they quit playing.
Oliver Wendell Holmes
Reply With Quote
  #8  
Old June 13th, 2008, 04:06 PM

tombom tombom is offline
Private
 
Join Date: Oct 2006
Posts: 31
Thanks: 9
Thanked 0 Times in 0 Posts
tombom is on a distinguished road
Default Re: What am I missing ? Commaner Creation

This is a bit tangential but I'm interested in what elemental res over 100 actually does (or should do).
Reply With Quote
  #9  
Old June 13th, 2008, 04:09 PM
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 am I missing ? Commaner Creation

Immunity and nothing else. You can get it by combining e.g. Dragon Helmet with Ring of Fire, IIRC. It's just harder for friendly mages to reduce that below 100.
Reply With Quote
  #10  
Old June 13th, 2008, 11:10 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: What am I missing ? Commaner Creation

Quote:
tombom said:
This is a bit tangential but I'm interested in what elemental res over 100 actually does (or should do).
Allows you to cast buffing protection spells on those units/commanders and still have complete immunity for the unit.
__________________
There can be only one.
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 01:45 AM.


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