.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 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old March 2nd, 2004, 05:38 PM

piawak piawak is offline
Private
 
Join Date: Mar 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
piawak is on a distinguished road
Default Modding question: Random Magic

While trying to play with the modding functions I ran into a problem. I was trying to change the magic of a tuatha and couldn't find a way to get rid of the 1 random pick. I tried using #clear and #clearmagic and ended up with a basic guy who STILL had 1 random magic pick. Any help would be appreciated.
Reply With Quote
  #2  
Old March 2nd, 2004, 07:28 PM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Modding question: Random Magic

Try this:

#magicskill 50 0
#magicskill 51 0
#magicskill 52 0
__________________
Cherry
Reply With Quote
  #3  
Old March 2nd, 2004, 08:44 PM

Ctennyson Ctennyson is offline
Corporal
 
Join Date: Jan 2004
Location: Canada
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Ctennyson is on a distinguished road
Default Re: Modding question: Random Magic

I have found some things are remarkably persistent, and just wont clear. The first time.

I have a file with the following:
#clear
#clear
#clear
#clearmagic
#clearmagic

if I remove any of them, the clears stop "taking" for a couple of the fields.

Dunno why, but hey, adding the extra clears works. lol
Reply With Quote
  #4  
Old March 2nd, 2004, 09:00 PM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Modding question: Random Magic

Dominions II uses "Onion-Oriented Programming". The data is structured one layer at a time...
__________________
Cherry
Reply With Quote
  #5  
Old March 2nd, 2004, 09:03 PM
Arryn's Avatar

Arryn Arryn is offline
Major General
 
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
Arryn is on a distinguished road
Default Re: Modding question: Random Magic

Quote:
Originally posted by Saber Cherry:
Dominions II uses "Onion-Oriented Programming". The data is structured one layer at a time...
I thought Onion-Oriented Programming was code that made you want to cry ...
__________________
Visit my Dominions II site
Reply With Quote
  #6  
Old March 2nd, 2004, 10:47 PM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default Re: Modding question: Random Magic

I think they're the same thing, yes. But if you think that constitutes code that makes you want to cry, you should see my code.

Everything is scrunched in on one line! Often times I give functions and variables perversely wrong names, just to confuse people!
Reply With Quote
  #7  
Old March 2nd, 2004, 10:59 PM

piawak piawak is offline
Private
 
Join Date: Mar 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
piawak is on a distinguished road
Default Re: Modding question: Random Magic

Thanks for the responces I'll go try those ideas out tonight after work. Thanks again.
Reply With Quote
  #8  
Old March 3rd, 2004, 07:27 PM

piawak piawak is offline
Private
 
Join Date: Mar 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
piawak is on a distinguished road
Default Re: Modding question: Random Magic

I just wanted to say thanks again for the help from all of you. Also I wanted to say that this worked for me:

#clear
#clear
#clear
#clearmagic
#clearmagic
#clearmagic
Reply With Quote
  #9  
Old March 4th, 2004, 03:14 PM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: Modding question: Random Magic

There is a little pixie in Dominions that wants one #clearmagic for every magic skill that he removes. I shall have him replaced in the next patch.
__________________
http://www.illwinter.com
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 02:37 PM.


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