Warning: Illegal string offset 'type' in [path]/includes/class_postbit.php(294) : eval()'d code on line 65
Wishlist Modding shortlist - .com.unity Forums
.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

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

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old March 22nd, 2009, 12:59 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Modding shortlist

Quote:
Originally Posted by pyg View Post
So I've tried to implement overwriting national spells without success perhaps due to not knowing enough about modding. Anyway I tried #selectspell 109 followed by #clear followed by the content of the new spell to #end. I get a name2spell crash every time. Any tips?
You have to select them by name, not number. Which is a problem, because there may be more than one spell by the same name. Spells are being references by name, not number, everywhere, in the unit and item data as well. On the other hand, in your specific case, they should probably have the same restrictions, so if you chose to overwrite one of them, you'll probably want to overwrite all of them, and you should be able to do that if you change their names while doing so.

Quote:
Originally Posted by pyg View Post
Also it doesn't seem possible to force a spell number on creating newspells.
Correct.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
 

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 08:23 AM.


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