.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 November 26th, 2006, 12:36 AM
UninspiredName's Avatar

UninspiredName UninspiredName is offline
Sergeant
 
Join Date: Oct 2006
Posts: 351
Thanks: 0
Thanked 0 Times in 0 Posts
UninspiredName is on a distinguished road
Default Pretender Troubles *RESOLVED*

At the time, I'm trying to place my own pretender into the game. However, whenever I test, the pretender just doesn't appear on the list. The game doesn't crash, it just doesn't appear. I've, at times, tried removing the quotation marks on the 'spr' commands, in which case it crashes and gives me a complaint about the sprite command. It's also got on my case (Crash) for giving the pretender's second form a first form that hadn't technically been created yet, (Which I got around by using a selectmonster below the would-be first form.) which I guess shows the computer is paying attention. I've also tried wishing for my pretender, in which case the Wish casts fine, but the unit doesn't appear in any way, shape or form.

Technical Jargon:

The pretender has all his 'standard' stats, hp, startage, itemslots, etc typed in.

I put the pretender's sprites (16x32 TGA) in a folder in the mods folder, and access it with #spr1 ".\foldername\spritename.tga".

The pretender has a domcost, a pathcost, and a goldcost. Also, at one point for testing, a restrictedgod command.

I put one space in-between my commands, and use enters (Not changing the amount of spaces in any way) to improve readability.

The pretender doesn't have an outstanding number of special abilities. Only the pathcost and domcost, a secondform, and two magicskills, assuming goodleader/maxage etc don't count. At least, only that little during one particular test.

The dm file doesn't contain anything aside from the monster mods (And the mod name/description/version, of course) of the pretender and his second form. I end up using three '#end' commands. One for the second form, one for the standard pretender, and one for the second form again when I gave it the standard pretender as the first form.

The first form and second form monster numbers are 2460 and 2450, respectively.


Soo... Can anyone help me?
__________________
Just because you're paranoid doesn't mean they're not out to get you.
Reply With Quote
  #2  
Old November 26th, 2006, 01:00 AM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default Re: Pretender Troubles

Well, I'm stumped.

Make a zip file of the mod containing your custom pretender so that we can examine it?
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Reply With Quote
  #3  
Old November 26th, 2006, 01:47 AM
UninspiredName's Avatar

UninspiredName UninspiredName is offline
Sergeant
 
Join Date: Oct 2006
Posts: 351
Thanks: 0
Thanked 0 Times in 0 Posts
UninspiredName is on a distinguished road
Default Re: Pretender Troubles

Alright, here's the 'full' file, unscathed by my recent tests. The Pretender in question is Mario of Super Mario Brothers fame. What can I say, I enjoy making goof-off mods.

EDIT: And thanks for helping.
Attached Files
File Type: zip 473641-Mariopretender.zip (2.4 KB, 63 views)
__________________
Just because you're paranoid doesn't mean they're not out to get you.
Reply With Quote
  #4  
Old November 26th, 2006, 05:35 PM
UninspiredName's Avatar

UninspiredName UninspiredName is offline
Sergeant
 
Join Date: Oct 2006
Posts: 351
Thanks: 0
Thanked 0 Times in 0 Posts
UninspiredName is on a distinguished road
Default Re: Pretender Troubles

Update: After giving him a 'Jump' weapon, I succeeded in summoning him with a Wish spell. I don't recall changing anything aside from creating the 'Jump' weapon and adding the attack (Removing one of his two 'Kick' attacks) to Mario. and am not sure why it worked. He still doesn't appear on the pretender physical form list, despite having a pathcost and domstrength.
__________________
Just because you're paranoid doesn't mean they're not out to get you.
Reply With Quote
  #5  
Old November 26th, 2006, 06:38 PM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Pretender Troubles

When I load it, it looks like there are multiple mod commands on the same line. Did you try putting only one mod command per line?
Reply With Quote
  #6  
Old November 26th, 2006, 06:42 PM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Pretender Troubles

Also there is one line where it looks like you missed a space and got "1#magicskill", which probably needs at least a space before the #.
Reply With Quote
  #7  
Old November 26th, 2006, 07:00 PM
UninspiredName's Avatar

UninspiredName UninspiredName is offline
Sergeant
 
Join Date: Oct 2006
Posts: 351
Thanks: 0
Thanked 0 Times in 0 Posts
UninspiredName is on a distinguished road
Default Re: Pretender Troubles

Well, logically speaking, since the 'jump' weapon works okay, and Mario can be wished for, chances are it doesn't really care about lines. Thanks for catching the syntax error, though. Unfortunately, the problem persists.
__________________
Just because you're paranoid doesn't mean they're not out to get you.
Reply With Quote
  #8  
Old November 26th, 2006, 07:36 PM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Pretender Troubles

He shows up as a god if I use him in a mod without the line
#secondshape "Mini Italian Plumber"

Putting in:
#secondshape "Phoenix"
or
#secondshape 5

also has him not appearing.

I think maybe it's a side effect of that command to make the unit unavailable as a pretender.
Reply With Quote
  #9  
Old November 26th, 2006, 07:38 PM
UninspiredName's Avatar

UninspiredName UninspiredName is offline
Sergeant
 
Join Date: Oct 2006
Posts: 351
Thanks: 0
Thanked 0 Times in 0 Posts
UninspiredName is on a distinguished road
Default Re: Pretender Troubles

Update: For the time being, I've managed to give Mario Pretender status by selecting the Sacred Statue instead of making him from scratch. I like the Sacred Statue, so I'll probably swap him out for one of the humans. I'm thinking Frost Father. To those that have tried making Pretenders in the past, is there another way of allowing a new unit to become a pretender?
__________________
Just because you're paranoid doesn't mean they're not out to get you.
Reply With Quote
  #10  
Old November 26th, 2006, 07:49 PM
zepath's Avatar

zepath zepath is offline
Sergeant
 
Join Date: Jan 2006
Posts: 216
Thanks: 0
Thanked 9 Times in 2 Posts
zepath is on a distinguished road
Default Re: Pretender Troubles

I've never had a problem integrating new pretenders.

Things I notice from the .dm file you posted:

-You have no #restrictedgod commands so far as I can see. You will need to enter one to have the monster selectable as a pretender. Only one per new monster seems to work so you may have to make additional new monsters to use him with multiple nations.

-I don't know what's up with your forward-slash and back-slash usage in your #spr1 and #spr2 calls. Should be "/" only.

-You don't need to "re-open" the monster to give it a #firstshape or #secondshape after coding the alternate form. You can put those commands in the original code for the creature (between #newmonster <#> and #end) even if the other creature's code comes afterward.

*edit, forgot that...
-#firstshape and #secondshape commands should call to a monster number, not a name.
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:44 AM.


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