.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old October 30th, 2006, 11:10 AM
Nerfix's Avatar

Nerfix Nerfix is offline
Lieutenant General
 
Join Date: Sep 2003
Location: Hyvinkää, Finland
Posts: 2,703
Thanks: 0
Thanked 1 Time in 1 Post
Nerfix is on a distinguished road
Default #custommagic

So how exactly does it work?

Would

#custommagic 128 256 512 1024 100

result in a 100% Fire Air Water Earth random? Or do I have to add up the path mask numbers? The example in the modding manual states that

"Eg. use path mask 384 and chance 50 to give a commander a 50% chance of getting Fire or Air magic"

If that is the case I should use #custommagic 1920 100, right?

How do I make two linked randoms a la Kings of the Deep? If I want a mage to have say 1 Astral and 2 linked randoms which are either 2 Fire 2 Air 2 Water or 2 Earth...how do I do it?

It's quite confusing.
__________________

"Boobs are OK. Just not for Nerfix [img]/threads/images/Graemlins/Smile.gif[/img] ."
- Kristoffer O.
Reply With Quote
  #2  
Old October 30th, 2006, 11:24 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: #custommagic

You answered the first question yourself, so I'll answer the second. Or I would, but I don't know the answer. Any way, try having a 200% chance. That might work.
Reply With Quote
  #3  
Old October 30th, 2006, 11:26 AM
Nerfix's Avatar

Nerfix Nerfix is offline
Lieutenant General
 
Join Date: Sep 2003
Location: Hyvinkää, Finland
Posts: 2,703
Thanks: 0
Thanked 1 Time in 1 Post
Nerfix is on a distinguished road
Default Re: #custommagic

But which one of my answers is the correct one? The first one or the second one? D:
__________________

"Boobs are OK. Just not for Nerfix [img]/threads/images/Graemlins/Smile.gif[/img] ."
- Kristoffer O.
Reply With Quote
  #4  
Old October 30th, 2006, 03:22 PM
Amos's Avatar

Amos Amos is offline
Captain
 
Join Date: Feb 2005
Posts: 867
Thanks: 0
Thanked 41 Times in 19 Posts
Amos is on a distinguished road
Default Re: #custommagic

You combine the numbers. Just test it. Make a test mod and try it in game.
Reply With Quote
  #5  
Old October 30th, 2006, 04:23 PM

sube sube is offline
Corporal
 
Join Date: Feb 2004
Location: netherlands
Posts: 73
Thanks: 0
Thanked 1 Time in 1 Post
sube is on a distinguished road
Default Re: #custommagic

Quote:
Nerfix said:

How do I make two linked randoms a la Kings of the Deep? If I want a mage to have say 1 Astral and 2 linked randoms which are either 2 Fire 2 Air 2 Water or 2 Earth...how do I do it?

#magicskill 51 2

This will give exactly what you are looking for. However, it is limited because you cant customize the pool of magic paths in this case, the 2 lvls are chosen either from the 4 elementals (#magicskill 51) or the 4 sorcery (#magicskill 52). Check pag 12 of the modding manual for more info.
Reply With Quote
  #6  
Old October 30th, 2006, 04:28 PM
Nerfix's Avatar

Nerfix Nerfix is offline
Lieutenant General
 
Join Date: Sep 2003
Location: Hyvinkää, Finland
Posts: 2,703
Thanks: 0
Thanked 1 Time in 1 Post
Nerfix is on a distinguished road
Default Re: #custommagic

Oh, well, they have elemental magic anyway
__________________

"Boobs are OK. Just not for Nerfix [img]/threads/images/Graemlins/Smile.gif[/img] ."
- Kristoffer O.
Reply With Quote
  #7  
Old October 30th, 2006, 05:05 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: #custommagic

You combine them like has been said. Just a little note, when I tried to mod in a 10% chance to receive a certain magic path, it never worked, over dozens of tries. It could have been an incredible run of badluck, but it was enough for me change it to a 100% chance.

So after you add the random path, if it is less than a 100% chance to get one of the picks, you may want to test it in game to see if you get similar results, even if the icon for the pick does show up on the recruitment screen.
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #8  
Old October 30th, 2006, 06:30 PM
Amos's Avatar

Amos Amos is offline
Captain
 
Join Date: Feb 2005
Posts: 867
Thanks: 0
Thanked 41 Times in 19 Posts
Amos is on a distinguished road
Default Re: #custommagic

I did a 10% in my Trade Confederation mod and it worked. My mage got 1 more path. He was 1 in 30 I think.
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 11:44 AM.


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