.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 9th, 2007, 10:46 AM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default Code diving - 3.10 list of sites and spells

EDIT: Made a slight error in my code-diving, had the wrong field width for names. Fixed now.

See the posts below for individual files in the archive.

One love,
TNDP
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe

Last edited by Edi; August 27th, 2008 at 05:26 PM.. Reason: Prefix
Reply With Quote
  #2  
Old October 9th, 2007, 11:17 AM
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: Code diving

Nice stuff. I think you should just change the title to reflect more what this is about.
__________________
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
  #3  
Old October 9th, 2007, 11:50 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Code diving

Thanks! Saves me from making a separate request.

I've got most things done, but the specials can now be added, as well as terrain masks.
Reply With Quote
  #4  
Old October 9th, 2007, 11:57 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Code diving

I need to pull new text lists. Nation numbers, items, monsters, etc.

Plus the All View map for monsters and the All View map for sites should be updated.

And the auto-programs for adding to maps such as the chaotica themes.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #5  
Old October 9th, 2007, 12:25 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Code diving

I can do the monsters, weapons, armor, sites and items for you as soon as I finish updating the DB. The string dumps of weapon lists and armor you have done in the pasts have been missing things. It's literally a matter of minutes to do them once the DB is up to snuff.

Does anyone remember where the old Code Diving thread is? Because it has all the explanations for the raw dump columns, which I don't quite remember.
Reply With Quote
  #6  
Old October 9th, 2007, 12:56 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Code diving

Never mind, I found the old thread. It's here.

DrPraetorious, can you do the same kind of summary as you did the last time, or give me column names for the various things in the new .csv file? Try as I might, without some sort of informative column headers, I can't do anything with that data since I won't know what's what.
Reply With Quote
  #7  
Old October 9th, 2007, 01:54 PM
Zylithan's Avatar

Zylithan Zylithan is offline
Sergeant
 
Join Date: Aug 2007
Posts: 379
Thanks: 0
Thanked 1 Time in 1 Post
Zylithan is on a distinguished road
Default Re: Code diving

you guys rock!
Reply With Quote
  #8  
Old October 9th, 2007, 04:41 PM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default Re: Code diving

I'm going to fix it this evening when I get back from rehearsal.
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Reply With Quote
  #9  
Old October 9th, 2007, 04:49 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Code diving

Thanks! Take your time, it's nearly 11 pm here and I've got morning shift tomorrow from 8 to 4 pm, so you have no hurry.
Reply With Quote
  #10  
Old October 9th, 2007, 10:23 PM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default Re: Code diving

Here's a nearly-readable version in .xls format. Here are the fields explained:

How to read it:
The Path and Rarity columns are pretty self-explanatory, and match to the number values used in the modding manual.

Each site has up to 5 powers, each of which has an argument.

Power1 corresponds to Argument1, Power2 corresponds to Argument2, and so forth.

The codes for powers and their arguments are (unused powers are not noted, but may do things - for example, I bet there's a power that generates temples):
Powers 1-8 are *gem income* - these are off by 1 from the ordinary path numbers (so fire is 1 instead of 0, etc.). Argument is the number of gems.

Power 10 was probably once extra-resources in capital. May not do anything now?

Power 11 is a recruitable troop. Argument is unit #.

Power 12 is a recruitable commander. Argument is unit #.

Power 13 is gold income. Argument is amount of gold.

Power 14 is resource income. Argument is number of resources.

Power 15 generates labs when found. Argument is just 1.

Power 16 generates temples when found, but is not used. Argument would presumably be 1 if it existed.

Power 17 makes fortresses when found. Argument is fort #.

Power 18 is enter-to-summon - it's repeated for each unit that appears. The type of mage automatically matches the type of site. Argument is unit #.

Power 19 is unrest adjustment - argument gives amount. Negative numbers increase unrest. Note that negative numbers are represented as very bug numbers in the spreadsheet (sorry).

Power 20 is supplies adjustment. Argument gives amount.

Power 21 is spreads disease. Argument is percent chance of disease per turn in the province.

Power 22 is enter for (argument) experience points.

Power 24 is horrormarking. Argument is percent chance of horrormark per turn in the province.

Power 29 is capital-only-unit. Argument is unit #.

Power 30 is capital-only-commander. Argument is unit #.

Power 31 is increase scales:
Argument 0 -> Order
Argument 1 -> Productivity
Argument 2 -> Heat
Argument 3 -> Growth
Argument 4 -> Fortune
Argument 5 -> Magic

Power 32 is *decrease scales*. Same arguments.

Power 57 is enter to summon void monsters. Argument is always 20 - might be base chance of success.

Power 60+X is a bonus for a given school of magic. Argument is %.

Power 67 is holy power. Argument is % chance of each undead being hit by AN10. "Your undead units in <province name> are being killed by a holy force native to this province."

Power 68 is holy fire. Argument is % chance of each undead or demon being hit by AN10. "Your undead and demonic troops in <province name> are being hit by holy fire".

Power 70 is probably remove battle afflictions. Argument would presumably be % chance.

Power 71 is curse. Once again, argument is % chance per unit per turn.

Power 72 is enter-to-scry.

Power 192 is enter for adventure. Edi speculates that the argument is % chance of getting anything useful.

D'oh! I had two field lengths wrong!

Replaced with a new attachment.
Attached Files
File Type: zip 555262-sites_310.zip (117.7 KB, 348 views)
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Reply With Quote
The Following User Says Thank You to DrPraetorious For This Useful Post:
Reply

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 07:59 AM.


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