.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 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old December 12th, 2006, 06:50 PM
B0rsuk's Avatar

B0rsuk B0rsuk is offline
Second Lieutenant
 
Join Date: Mar 2004
Location: Gdansk, Poland
Posts: 420
Thanks: 0
Thanked 15 Times in 4 Posts
B0rsuk is on a distinguished road
Default You can\'t grep dead trees.

I finished the basic version of necronomicon file. It contains all common spells of all schools (531), but not national ones. Columns: paths(primary first), spell name, research level, research school, battle/ritual.

I tested it with my spellbook script and with the following command:

Code:
egrep -v '(F|W|A|E|S|D|N|B)* [^ ]* [0-9] (Conjuration|Alteration|Enchantment|Construction|H  oly|Thaumaturgy|Evocation|Blood_Magic) (battle|ritual)' necronomicon



...but it's not a perfect way, I'm afraid. It found two typos (Conuration, Enchantmen) so there could be more. Please report if you find any. It was a very tedious work, and I occasionaly caught myself writing wrong spell levels or battle instead of ritual (or vice versa).

Dust off your regular expression skills and have some fun ! Also check following linux commands: egrep, awk, wc, diff, sort, uniq, cut, cat, and cowsay. The last one is not installed by default.
And don't forget to praise me.

ToDo:
- national spells
- additional columns: number of effects, range, area of effect, duration, underwater/surface/anywhere, spell type, damage, and other boring stuff.
Attached Files
File Type: zip 478740-necronomicon.zip (5.4 KB, 171 views)
__________________
Those who do not understand Master Of Magic are condemned to reinvent it - badly.
Reply With Quote
  #2  
Old December 12th, 2006, 10:59 PM

Evil Dave Evil Dave is offline
Corporal
 
Join Date: Jan 2004
Location: Wilmington, Delaware, USA
Posts: 191
Thanks: 1
Thanked 13 Times in 2 Posts
Evil Dave is on a distinguished road
Default Re: You can\'t grep dead trees.

Excellent! Thanks, B0rsuk!
__________________
No plan survives contact with the enemy.
--Helmut von Moltke

Have too may pretender files to keep track of? Use catgod to view them.
Reply With Quote
  #3  
Old December 12th, 2006, 11:43 PM
Uh-Nu-Buh's Avatar

Uh-Nu-Buh Uh-Nu-Buh is offline
Sergeant
 
Join Date: Jan 2004
Location: athens, georgia
Posts: 274
Thanks: 0
Thanked 1 Time in 1 Post
Uh-Nu-Buh is on a distinguished road
Default ANNOUNCEMENT: B0rsuk is new Prophet

I hereby announce to the world that B0rsuk, greatest Hero in the world, slaughterer of the beast, Sorceror of the Necronomicon, is the Prophet of Uh-Nu-Buh.

Good work, my dark jedi.

This will make a lot of people in the mod section happy too, so make sure you post a link to it there as well!!
__________________
--Uh-Nu-Buh, Fire/Death
Reply With Quote
  #4  
Old December 12th, 2006, 11:47 PM
UninspiredName's Avatar

UninspiredName UninspiredName is offline
Sergeant
 
Join Date: Oct 2006
Posts: 351
Thanks: 0
Thanked 0 Times in 0 Posts
UninspiredName is on a distinguished road
Default Re: ANNOUNCEMENT: B0rsuk is new Prophet

Are prophets allowed to have such long titles?
__________________
Just because you're paranoid doesn't mean they're not out to get you.
Reply With Quote
  #5  
Old December 12th, 2006, 11:54 PM
Uh-Nu-Buh's Avatar

Uh-Nu-Buh Uh-Nu-Buh is offline
Sergeant
 
Join Date: Jan 2004
Location: athens, georgia
Posts: 274
Thanks: 0
Thanked 1 Time in 1 Post
Uh-Nu-Buh is on a distinguished road
Default Re: ANNOUNCEMENT: B0rsuk is new Prophet

Mine are. Don't worry, UninspiredName, you can be my next prophet (after B0rsuk gets smashed by one of my numerous enemies on the forum, we'll have to wait a few turns, then I will make the announcement.)
__________________
--Uh-Nu-Buh, Fire/Death
Reply With Quote
  #6  
Old December 13th, 2006, 04:54 AM
HoneyBadger's Avatar

HoneyBadger HoneyBadger is offline
General
 
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
HoneyBadger is on a distinguished road
Default Re: ANNOUNCEMENT: B0rsuk is new Prophet

B0rsuk, to properly honor you, I shall wear the icon you so generously gifted me, just as soon as I get around to equipping it, lazy fat procrastinator that I am.

thank you again!
__________________
You've sailed off the edge of the map--here there be badgers!
Reply With Quote
  #7  
Old December 13th, 2006, 01:51 PM

tibbs tibbs is offline
Sergeant
 
Join Date: Mar 2004
Posts: 304
Thanks: 0
Thanked 0 Times in 0 Posts
tibbs is on a distinguished road
Default Re: ANNOUNCEMENT: B0rsuk is new Prophet

I'm a little confused as to the purpose of this. What do I do with it?
Reply With Quote
  #8  
Old December 13th, 2006, 02:20 PM

PDF PDF is offline
Colonel
 
Join Date: Apr 2002
Location: Near Paris, France
Posts: 1,566
Thanks: 0
Thanked 0 Times in 0 Posts
PDF is on a distinguished road
Default Re: ANNOUNCEMENT: B0rsuk is new Prophet

It's a plain text file, for us Windoze users I've put it in Excel format, much more practical
Attached Files
File Type: zip 479044-necronomicon.zip (17.9 KB, 139 views)
Reply With Quote
  #9  
Old December 13th, 2006, 03:05 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: ANNOUNCEMENT: B0rsuk is new Prophet

Looks good. Since stealing that outright would be bad manners, do I have permission to swipe this for use in the Dom3 DB project if I decide to do spells as well?

Edi
Reply With Quote
  #10  
Old December 13th, 2006, 03:25 PM
B0rsuk's Avatar

B0rsuk B0rsuk is offline
Second Lieutenant
 
Join Date: Mar 2004
Location: Gdansk, Poland
Posts: 420
Thanks: 0
Thanked 15 Times in 4 Posts
B0rsuk is on a distinguished road
Default Re: ANNOUNCEMENT: B0rsuk is new Prophet

You're allowed to do that, but keep in mind I'll add more columns and spells (national) in future. You may have additional work to do later if you use it now.
__________________
Those who do not understand Master Of Magic are condemned to reinvent it - badly.
Reply With Quote
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 05:54 AM.


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