.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 > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #11  
Old May 29th, 2008, 08:35 AM
coobe's Avatar

coobe coobe is offline
Sergeant
 
Join Date: Sep 2006
Location: Kaiserslautern, Germany
Posts: 324
Thanks: 8
Thanked 11 Times in 3 Posts
coobe is on a distinguished road
Default Re: Spell/Item Database App

awesome Snoddasmannen ! goes right to my favourites =)
Reply With Quote
  #12  
Old May 29th, 2008, 12:33 PM

Snoddasmannen Snoddasmannen is offline
Private
 
Join Date: Nov 2007
Posts: 35
Thanks: 7
Thanked 20 Times in 5 Posts
Snoddasmannen is on a distinguished road
Default Re: Spell/Item Database App

Hihi, thanks for all your encouragement guys I could probably have been a bit more proactive marketing it, but I never finished it so it kind of fizzled out. It is useful though, even in its current state.

DrPraetorious did the difficult part, extracting all the data from the binary. And of course lch helped me get it running in FF.

Quote:

Also one question... any other tools ?

The thing I did after this was a random map generator in javascript. Using a canvas object to draw the map. The results weren't all that bad, but pretty slow - took about 15 minutes or so to generate a small map. Plus it was getting painful to maintain it all in javascript

So now I am sporadically working on a map generator in C++ instead. Much faster and hopefully just as nice. I've attached a screenshot of it running - note the elegant trees and uhm, lush grasslands
Attached Images
File Type: png 610554-mapgen-output.png (321.4 KB, 88 views)
Reply With Quote
  #13  
Old May 29th, 2008, 06:36 PM
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: Spell/Item Database App

Quote:
Snoddasmannen said:
So now I am sporadically working on a map generator in C++ instead. Much faster and hopefully just as nice. I've attached a screenshot of it running - note the elegant trees and uhm, lush grasslands
Oh, awesome. I was looking into that myself, and there are a number of things that I came up with. But I didn't come up with anything usable yet. What I have:
- an EXTREMELY fast (linear time) fractal heightmap generator which gives nice results
- a fast and accurate algorithm to find neighbors of provinces
- ideas to make them both tileable, too

I usually lack the energy and determination to get such a thing through from start to finish, but I'm very good at being a code parasite. Give me a code and I'll quickly come up with improvements for it and room for extension.

So in case I'll find time for it, I'll look into your code. EDIT: Oops, that attachment was no code. Come on, share!
__________________
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
  #14  
Old May 30th, 2008, 09:59 PM

BaronDoomfist BaronDoomfist is offline
Private
 
Join Date: May 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
BaronDoomfist is on a distinguished road
Default Re: Spell/Item Database App

Hey all; we've decided our focus will be on summons and forged items. Could be used as an SC builder.

Ich: Maybe we'll toss some code your way when we get the databases finished.
Reply With Quote
  #15  
Old May 31st, 2008, 10:21 AM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: Spell/Item Database App

Ich, what algorithm are you using to generate "an EXTREMELY fast (linear time) fractal heightmap generator which gives nice results"?

Quite some time ago I toyed with an application that produces fractal heightmaps (and let's you view* them in glorious 3D**), but I just used the Diamond-Square algorithm.
* - You can move the camera in every direction as well as change Pitch and Yaw, but you can't Roll. You can change the perspective vector though. (There was also an isometric version if you feel like changing the perspective type
** - It was actually an experiment into projections more than one in terrain generation (I just stole code from my terrain generation experiment ), so it actually does all the projection calculations itself and draws it in 2d (Not even hardware accelerated 2d, though it is definitely fast enough to enjoy unless you asked to generate a huge map)

*** - my comments are bigger than the rest of the post
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #16  
Old June 1st, 2008, 02:40 AM

Zentar Zentar is offline
Corporal
 
Join Date: Jul 2007
Location: New Castle, Delaware
Posts: 67
Thanks: 10
Thanked 0 Times in 0 Posts
Zentar is on a distinguished road
Default Re: Spell/Item Database App

Quote:
Snoddasmannen said:
Oooh, I made one of those once:

http://www2.onyx.nu/pb/dom3/spells.html
It's not very cross-browser compatible though, only works in Opera and FF, effectively excluding some 75% of the community
Plus it doesn't have forgeable items in it
The concept is great and I like that it does searches for specified spell requirements, but I get this message when using it on my MAC "Exception while loading: TypeError: Null value". I am part of the 75%.
Reply With Quote
  #17  
Old June 1st, 2008, 08:08 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: Spell/Item Database App

Quote:
Agrajag said:
Ich, what algorithm are you using to generate "an EXTREMELY fast (linear time) fractal heightmap generator which gives nice results"?
I stole it from Xmountains. I had a look over the various techniques and example implementations on the web, since diamond squares isn't all there is to it, and Xmountains has a lot of optimizations in it that makes it the fastest I know.

Quote:
Zentar said:
The concept is great and I like that it does searches for specified spell requirements, but I get this message when using it on my MAC "Exception while loading: TypeError: Null value". I am part of the 75%.
EDIT: Moved to the actual thread about Snoddasmannen's page.
__________________
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
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 02:49 AM.


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