Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4 ... 6

Author Topic: Exponent's For Each Tile - A Flexible Map Alteration Tool (v0.6 beta release)  (Read 10709 times)

Idiom

  • Bay Watcher
  • [NO_THOUGHT]
    • View Profile

"Reading of the map data resulted in an unknown exception"?
Tweak for 39e with version 0.2 of the Exponents For Each Tile (E.F.E.T.?)
Logged

Sprout

  • Bay Watcher
    • View Profile

Alright, I tried your files, Slappy, but it's still not working, BUT I did get this error message with 0.2:

Reading of the map data resulted in an exeption

Exeption Type:
    KeyNotFoundExeption
Exeption Message
    The given key is not present in the dictionary


As for the trees, my current test will be to turn a large section of underground complete with river into above ground light with muddy floor- currently it's under my swamp biome, so assuming this works, I belive it will grow swamp trees.

There's also the fact that if there's a cave river or pool and you discover it, Tower Caps will start growing underground anywhere- as long as it's muddy. So if we could get a utility to enable that without the water source, that would make this MUCH easier.
« Last Edit: August 09, 2008, 08:26:49 am by Sprout »
Logged

Exponent

  • Bay Watcher
    • View Profile

That error message means that one of the addresses or offsets that are needed were not found in the xml files.  Which is kind of strange, since you double checked all of that, and even used someone elses copies that are working.  I'll look at the code and see if anything else looks amiss, while I update for this wonderful new DF version.
Logged

Exponent

  • Bay Watcher
    • View Profile

I fixed some errors regarding the reading of optional memory addresses/offsets (which may have been causing the problem experienced by Sprout), and updated the code to work with the new DF v0.28.181.39f.  Version 0.3 is now available from DFFD:  http://dffd.wimbli.com/file.php?id=404.  You'll need the new addresses/offsets that are listed on the wiki page in order to work with the latest version of DF.
Logged

Sprout

  • Bay Watcher
    • View Profile

Today is just not my day.. I can't get Tweak to work for 39f...

Do you know how to solve this? :/
Logged

Exponent

  • Bay Watcher
    • View Profile

Let's see.  First you need to add the following line to the versions.xml file in the tweak folder:

   <version name="0.28.181.39f" hash="33db0401081058fb54252210bf371344" />

Then you need to create a subfolder in the tweak/versions folder called "0.28.181.39f" (the same as the name attribute in the line above), and within it have the same xml files as is in the "0.28.181.39e" subfolder, but with the updated addresses listed on my wiki page.
Logged

Sprout

  • Bay Watcher
    • View Profile

And... IT WORKS!


:D


Now to create an underground tree farm.


Thank you a TON by the way. :)
Logged

Sprout

  • Bay Watcher
    • View Profile

Alright- a few bug reports


River Source tiles don't actully generate water. -I read the tooltip  :-X

Apparently, digging NEAR it also works, though this was only tested with an upward staircase. (and testing isn't really the best word, more like accidentally discovered.)


Water doesn't do anything unless you dig out or otherwise unblock a tile next to it, thus starting the flow.


I'll get to more as I come to them.
« Last Edit: August 09, 2008, 02:53:33 pm by Sprout »
Logged

Exponent

  • Bay Watcher
    • View Profile

Yeah, I'm aware of those bugs.  Though the river source tiles should create water, but you have to jump-start the flow just like with any other artificial water.  I did successfully get it to work, though, as I remember being very happy about it.  I've looked a little bit into tricking the game into thinking it is already flowing, but haven't found anything yet.

Thanks for the info, though.  I'm sure there are plenty of other oddities lurking in the dark corners of my program.
Logged

Sprout

  • Bay Watcher
    • View Profile

As for the tree thing...


I found the best way for this to work is to make an in_viewport macro that turns all floor tiles into Outside, Aboveground, Light Grass. After the season changes, you SHOULD see a few saplings. Now, this won't work if the atrium is under a mountainous biome, (unless you mod in some mountainous trees or something) but assuming that your game doesn't explode, you should get the equivalent of what we'll call luminous fungi to prevent hard thinking.


Now just channel a river (optional) through it, wait a few years, and you'll have your own little forest! And probobly some vomit.

An interesting note, is that if the grass is removed due to exessive through traffic and the like, it will reveal the soil lair of your biome underneath it as a floor type.
Logged

Sprout

  • Bay Watcher
    • View Profile

Placing a River Source tile in the air will cause a crash. (I suspect the same for chasms, etc.
Logged

Slappy Moose

  • Bay Watcher
    • View Profile

I found the best way for this to work is to make an in_viewport macro that turns all floor tiles into Outside, Aboveground, Light Grass.
Thank you!

Now I can have a functioning sealed off fort! Ha ha!
Logged
Zaneg Thazor: Armok Reincarnate Story http://www.bay12games.com/forum/index.php?topic=19291.msg196691#msg196691

[Healthcare Update Thread] Personally, I can't wait for doctors to get possessed and start surgically attaching axes to champion soldier's arms.

Sprout

  • Bay Watcher
    • View Profile

Now, I don't know how tree growing mechanics work, perse, but i'm pretty sure new ones sprout every spring. So you might not have anything for a bit, but from what i've seen, it looks like it will work.




Now, a general question for Exponent..


How hard would it be to create something that would allow us to generate creatures? IE, building an underground forest and putting some dragons to breed in it.

(yes, I modded dragons to breed. I like war dragons.)
Logged

Exponent

  • Bay Watcher
    • View Profile

A lot harder, given my current knowledge.  This program is only able to modify values that are stored in a single consistent way for every single tile of the map.  Creatures, items, and other various things (even the materials used in a constructed wall, for example) are not stored within these basic blocks of data, and I don't know how to access or alter them yet.  I might look into it eventually, but for now, I think I'm starting to become burned out on researching memory layouts.
Logged

Slappy Moose

  • Bay Watcher
    • View Profile

For some reason, whenever a program has the "in_viewport" query, I cannot execute it, because the button is greyed out.

I can't make large areas outside and such. How can I fix this?
Logged
Zaneg Thazor: Armok Reincarnate Story http://www.bay12games.com/forum/index.php?topic=19291.msg196691#msg196691

[Healthcare Update Thread] Personally, I can't wait for doctors to get possessed and start surgically attaching axes to champion soldier's arms.
Pages: 1 [2] 3 4 ... 6