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

Reply
 
Thread Tools Display Modes
  #1  
Old May 3rd, 2010, 08:17 AM
Atreidi's Avatar

Atreidi Atreidi is offline
Sergeant
 
Join Date: Sep 2007
Location: Rio Bravo, Mexico
Posts: 247
Thanks: 4
Thanked 1 Time in 1 Post
Atreidi is on a distinguished road
Default Re: Modding tips and tricks

How do I script a ritual that will summon a random commander from a list?

Do I just add more #damage commands for each different commander I want to be included in the random list? Is there a specific #effect command? TNX.

Last edited by Atreidi; May 3rd, 2010 at 08:26 AM..
Reply With Quote
  #2  
Old May 3rd, 2010, 12:56 PM
Burnsaber's Avatar

Burnsaber Burnsaber is offline
Colonel
 
Join Date: Jun 2007
Location: Finland
Posts: 1,617
Thanks: 179
Thanked 304 Times in 123 Posts
Burnsaber is on a distinguished road
Default Re: Modding tips and tricks

Quote:
Originally Posted by Swan View Post
Doesn't nextspell work only for already existing spells?
No. Modded nextspells work fine. You're thinking of modded #onebattlespells, they don't work without a hack.

Quote:
Originally Posted by Ragnarok-X View Post
Weird. Apparently the spell does work as intended, summoning 12 units, 4+8. Whats funny is that the spells description only shows number of effects 4. Apparently subspells effects are calculated beforehand.
No spell description shows the effects of a #nextspell, modded or otherwise. You should sneak information about the #nextspell to the description of the base spell.

Quote:
Originally Posted by Atreidi View Post
How do I script a ritual that will summon a random commander from a list?

Do I just add more #damage commands for each different commander I want to be included in the random list? Is there a specific #effect command? TNX.
You can't. The only way to mod one in is to overwrite all the summons of a vanilla spell. I did this for my "Byzantine Pythium" mod with overwriting the Grigori summoning spell of Hinnom and all of the Grigori. See my sig for a link to the mod and thus to the code example that lies within the nation .dm file.


Also, with Sombre and then me (eventually) gone from the forums, I'd like to state that IrC is a good place to catch us to ask modding questions or the new forums that sombre made.
__________________
I have now officially moved to the Dom3mods forums and do not actively use this account any more. You can stll contact me by PM's, since my account gives e-mail notifications on such occasions.

If you need to ask something about modding, you can contact me here.

See this thread for the latest info concerning my mods.
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 06:15 AM.


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