Bay 12 Games Forum

Please login or register.

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

Author Topic: Giant creature raw creation utility (now working for current version)  (Read 2507 times)

Naes Draw

  • Bay Watcher
  • She likes modding for their customizability.
    • View Profile
Re: Giant creature raw creation utility (now working for current version)
« Reply #15 on: February 19, 2010, 09:43:49 am »

Uh, the one I ran through the system to test didn't have it's size tag changed. The script says that it's supposed to bump that to 20? It was still 7.

Unless I'm missing something of course, this is really the first time I've ever looked at Python.
Logged
[CREATURE:CAT]
   [NAME:sena cat:sena cat:sena cat]
   [INTELLIGENT] [MISCHIEVOUS] [FEMALE]
   [PREFSTRING:craziness]
   [SHOES:ITEM_SHOES_SHOES:UNCOMMON]
   [PERMITTED_JOB:MODDER]

Zantan

  • Bay Watcher
    • View Profile
Re: Giant creature raw creation utility (now working for current version)
« Reply #16 on: February 19, 2010, 09:14:02 pm »

hmmm....I just tried this on a fresh install of DF on a new computer, and I'm getting the right output.  Which version of Python are you using?  I made this with 2.6.4, so if you used 3.1.1 there may be some issues (Python 3 broke backwards compatibility, and most of its features have been added to Python 2, so that's what I'm working with)

What exactly did you get for the output?  Were there any changes?  Some tags should have been removed, and more tags should have been added at the end.  It's supposed to remove vermin tags and give bodies and attacks to vermin, change modvalue, petvalue, add buildingdestroyer, megabeast, fanciful, change biome to all_land, etc.
« Last Edit: February 19, 2010, 09:36:35 pm by Zantan »
Logged

Naes Draw

  • Bay Watcher
  • She likes modding for their customizability.
    • View Profile
Re: Giant creature raw creation utility (now working for current version)
« Reply #17 on: February 19, 2010, 09:36:20 pm »

I did it with 2.6.4.

Everything else was fine, building destroyer and the works, the only thing that was the same was the size.
The rest of the tags were there/changed.

I'm looking through a Legends list now to find any individuals.
Logged
[CREATURE:CAT]
   [NAME:sena cat:sena cat:sena cat]
   [INTELLIGENT] [MISCHIEVOUS] [FEMALE]
   [PREFSTRING:craziness]
   [SHOES:ITEM_SHOES_SHOES:UNCOMMON]
   [PERMITTED_JOB:MODDER]

Zantan

  • Bay Watcher
    • View Profile
Re: Giant creature raw creation utility (now working for current version)
« Reply #18 on: February 21, 2010, 09:07:43 pm »

Right now I'm unable to recreate that bug, even changing the program to make the raw change on every eligible creature...is this working for anyone else? 
Logged

Naes Draw

  • Bay Watcher
  • She likes modding for their customizability.
    • View Profile
Re: Giant creature raw creation utility (now working for current version)
« Reply #19 on: February 21, 2010, 09:58:22 pm »

On an unrelated note, I just realized why my new mega wasn't showing up, it has no biome...  ::)
Logged
[CREATURE:CAT]
   [NAME:sena cat:sena cat:sena cat]
   [INTELLIGENT] [MISCHIEVOUS] [FEMALE]
   [PREFSTRING:craziness]
   [SHOES:ITEM_SHOES_SHOES:UNCOMMON]
   [PERMITTED_JOB:MODDER]

Zantan

  • Bay Watcher
    • View Profile
Re: Giant creature raw creation utility (now working for current version)
« Reply #20 on: February 21, 2010, 10:29:10 pm »

yeah, it's supposed to change the biome to [BIOME:ANY_LAND], in part to let forts meet any megabeast, and in part so that turtles act properly (their biome is pools, so they don't do anything in worldgen, and I can picture nasty things happening on embark...)

Again, this is working fine on both of my computers...what operating system are you using?  Maybe if it's vista, it could be reluctant to write files, though it worked fine on my vista computer.

I assume this is happening with all your megabeasts...How many have you made? (just so you know, it should prompt you to enter the number of megabeasts you want...tel me if that isn't turning up)
Logged

Naes Draw

  • Bay Watcher
  • She likes modding for their customizability.
    • View Profile
Re: Giant creature raw creation utility (now working for current version)
« Reply #21 on: February 21, 2010, 10:36:34 pm »

I'm on XP.

I only tried one, and I stacked the deck by only having one in the file. Tomorrow I'll see about letting run a normal set.
Logged
[CREATURE:CAT]
   [NAME:sena cat:sena cat:sena cat]
   [INTELLIGENT] [MISCHIEVOUS] [FEMALE]
   [PREFSTRING:craziness]
   [SHOES:ITEM_SHOES_SHOES:UNCOMMON]
   [PERMITTED_JOB:MODDER]

Zantan

  • Bay Watcher
    • View Profile
Re: Giant creature raw creation utility (now working for current version)
« Reply #22 on: February 21, 2010, 10:55:17 pm »

Okay, I tried running the program in a folder with only body_default and creature_amphibians, to guarantee that I got a toad (what I think you meant by stacking the deck).  It worked as it's supposed to like that.

However, when I forgot to include body_default, the program ended prematurely when it tried to add the insect body to body_default.  Since I did not add a pause at the end of the program, I couldn't see that error.

When you run the program next, could you do it from IDLE (the Python graphical user interface, which should be in your start menu).  If you load and run (F5) the program from there, you will be able to see if any errors are popping up.
Logged

Naes Draw

  • Bay Watcher
  • She likes modding for their customizability.
    • View Profile
Re: Giant creature raw creation utility (now working for current version)
« Reply #23 on: February 25, 2010, 03:36:10 pm »

Sorry for the delay, school.

I ran it in IDLE the first time, there were no errors.
Logged
[CREATURE:CAT]
   [NAME:sena cat:sena cat:sena cat]
   [INTELLIGENT] [MISCHIEVOUS] [FEMALE]
   [PREFSTRING:craziness]
   [SHOES:ITEM_SHOES_SHOES:UNCOMMON]
   [PERMITTED_JOB:MODDER]
Pages: 1 [2]