View Full Version : Modding question: Random Magic
piawak
March 2nd, 2004, 05:38 PM
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
Try this:
#magicskill 50 0
#magicskill 51 0
#magicskill 52 0
Ctennyson
March 2nd, 2004, 08:44 PM
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
Dominions II uses "Onion-Oriented Programming". The data is structured one layer at a time...
Arryn
March 2nd, 2004, 09:03 PM
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
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
Thanks for the responces I'll go try those ideas out tonight after work. Thanks again.
piawak
March 3rd, 2004, 07:27 PM
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
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.
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.