.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Modding question: Random Magic (http://forum.shrapnelgames.com/showthread.php?t=18129)

piawak March 2nd, 2004 05:38 PM

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.

Saber Cherry March 2nd, 2004 07:28 PM

Re: Modding question: Random Magic
 
Try this:

#magicskill 50 0
#magicskill 51 0
#magicskill 52 0

Ctennyson March 2nd, 2004 08:44 PM

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

Saber Cherry March 2nd, 2004 09:00 PM

Re: Modding question: Random Magic
 
Dominions II uses "Onion-Oriented Programming". The data is structured one layer at a time...

Arryn March 2nd, 2004 09:03 PM

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...
<font size="2" face="sans-serif, arial, verdana">I thought Onion-Oriented Programming was code that made you want to cry ... http://forum.shrapnelgames.com/images/icons/tongue.gif

Norfleet March 2nd, 2004 10:47 PM

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!

piawak March 2nd, 2004 10:59 PM

Re: Modding question: Random Magic
 
Thanks for the responces I'll go try those ideas out tonight after work. Thanks again.

piawak March 3rd, 2004 07:27 PM

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

Johan K March 4th, 2004 03:14 PM

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.


All times are GMT -4. The time now is 01:21 PM.

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