Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help with editing a race?  (Read 798 times)

BLazerules

  • Bay Watcher
    • View Profile
Help with editing a race?
« on: January 11, 2013, 12:11:04 pm »

Hello everyone! Not sure if I should post this in the Mods section or here so Ill post it here just to be safe. Though I am not quite sure since its editing a race yet solely for the purpose of adventure mode, oh well I guess I will never know.

Anyways, As I could see I can not add a new "Status" (Peasant, Hero, Demigod) so I tried adding a new race. Failed badly because the game thought the character was a "She" for some reason (I copy pasted the human Civ and changed it.) Anyways my question is how can I make it so that all the attributes are maxed out? They are always Average Straight, Agility etc and its even stuck at average now so I am obviously doing something wrong. I just changed the elf race to be highly over powered.

So anyways here is what I added into the 2 txts.

Creature_standard.txt
Spoiler (click to show/hide)

entity_default.txt
Spoiler (click to show/hide)

Not exactly the best "modder" in the world (And I use the term modder as loosely as it could possibly be used, more like editor of text files.). There is probably a ton of useless stuff in there but then again I was only editing these for 3 days and now I decided the best thing to do would be to ask for help then guess for days. So yeah what am I doing wrong that the Attributes (Strength, Agility etc) always stay at average? And an explanation as to why they stay this way would be nice (Id rather understand then copy paste some code or the like).

As for reasons for why am I doing this (since I know someone will ask sooner or later), it's because I would like to just go around doing whatever I feel like doing because I can. Nice change of pace after playing the game as a hero. More of a "god mode" I guess? Oh well.
Logged

McFeel

  • Bay Watcher
    • View Profile
Re: Help with editing a race?
« Reply #1 on: January 11, 2013, 01:44:25 pm »

You have deleted the original elves? If you wan't a custom race, but you want to keep the vanilla elves, you must change the name of the creature and entity, and change [ADVENTURE_TIER:X] to a diferent correlative number.

You have two adventure tier, 4 and 2 (this is the problem of copy paste). If you only want to play it in adventure mode, you can delete [CIV_CONTROLLABLE]. You haven't added any military to the entity, don't know if this is what you want. Also I would remove [WOOD_WEAPONS] [WOOD_ARMOR] [TREE_CAP_DIPLOMACY] and [AT_PEACE_WITH_WILDLIFE], and add permited reactions for steel (and pig iron).

The problem with this entity is that it will be common (they will build towns), and won't be easily killable. You can lower [MAX_STARTING_CIV_NUMBER:100]  [MAX_POP_NUMBER:10000] and [MAX_SITE_POP_NUMBER:10000], for make the entity less common. Also you can lower progress triggers to 0 if you don't want that they appear by your fortress.
Logged

BLazerules

  • Bay Watcher
    • View Profile
Re: Help with editing a race?
« Reply #2 on: January 11, 2013, 02:21:33 pm »

Yeah I figgured that much on my own over the past few days. Thing is when I play in Adventure mode all the attributes are at Average. Even if I made it higher than average in the character creation so I guess this is to blame:
Spoiler (click to show/hide)

After using MENT_ATT_RANGE I gave up and went onto the wiki and found this piece of code somewhere. Then copy pasted it in because I was too lazy to write it all by hand (And since it would take ages). However it does absolutely NOTHING. I would like to know why and what can I do to make the race of elves have max attributes. Once I know how to do this I will make my own race and try to figure out why everyone in that race is considered Female but that is a job that isnt as important right now for me.

And yeah I am using the Elves that are already in the game. They are already there but are currently Unused I think so I thought "hell why not?". Good start till I make my own race.

EDIT: My own race will use Humans as a template and will thus hopefully be easier to make. And easier to make it so they don't exist in the world because a civilization of people essentially in "God mode" might cause some problems to arise.
« Last Edit: January 11, 2013, 02:23:23 pm by BLazerules »
Logged

McFeel

  • Bay Watcher
    • View Profile
Re: Help with editing a race?
« Reply #3 on: January 11, 2013, 03:38:10 pm »

Why you don't try a simplified version like this:
[NATURAL_SKILL:X:15] (Begins with this skill, and never rust)
[PHYS_ATT_RANGE:X:5000:5000:5000:5000:5000:5000:5000]
[MENT_ATT_RANGE:X:5000:5000:5000:5000:5000:5000:5000]

I don't know why all your entity members are female, this should work:
[CASTE:FEMALE]
   [FEMALE]
   [MULTIPLE_LITTER_RARE]

[CASTE:MALE]
   [MALE]
Logged

BLazerules

  • Bay Watcher
    • View Profile
Re: Help with editing a race?
« Reply #4 on: January 11, 2013, 04:19:31 pm »

Hmm I see, I will try it thanks. As for the female one I will use it once I start making my own race so thanks in advance. I will see how this works out.

EDIT: Hmm this does nothing... The attributes remain at average it is as if something in the code stops it from being higher than average...

EDIT 2: Added the same line of code onto humans and it did nothing. I wonder if there is a way to add a new status to the game (Which would make this whole thing easier) but I doubt it.
Starting to wonder if maybe its location within the code matters? That could also be a factor but I am not sure.
« Last Edit: January 11, 2013, 04:31:28 pm by BLazerules »
Logged

McFeel

  • Bay Watcher
    • View Profile
Re: Help with editing a race?
« Reply #5 on: January 12, 2013, 02:55:57 am »

In the attribute screen you see average, but average correspond to 5000.
This:
[PHYS_ATT_RANGE:X:5000:5000:5000:5000:5000:5000:5000]
Correspond to:
[PHYS_ATT_RANGE:X:very low:low:below average:average:above average:high:superhuman]

For test it, start a new adventure, select a very low agility, and see what is your initial speed.
Logged

Findulidas

  • Bay Watcher
  • [NATURAL_SKILL:OFFTOPIC:5][NOTHOUGHT]
    • View Profile
Re: Help with editing a race?
« Reply #6 on: January 12, 2013, 04:11:57 am »

Isnt there a modding part of the forum made for questions like this?
Logged
...wonderful memories of the creeping sense of dread...

BLazerules

  • Bay Watcher
    • View Profile
Re: Help with editing a race?
« Reply #7 on: January 12, 2013, 09:48:46 am »

Thing is, I'm not sure where this goes xD
Logged

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: Help with editing a race?
« Reply #8 on: January 14, 2013, 06:54:09 am »

There's this really small thing niggling me here. I think it's got something to do with you making Armok-damned elves overpowered. Seven hells, why the elves!?
Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.

Sergei_Andropov

  • Bay Watcher
    • View Profile
Re: Help with editing a race?
« Reply #9 on: January 15, 2013, 09:18:20 am »

There's this really small thing niggling me here. I think it's got something to do with you making Armok-damned elves overpowered. Seven hells, why the elves!?
Maybe the experiments are really painful?
Logged

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: Help with editing a race?
« Reply #10 on: January 15, 2013, 06:56:46 pm »

There's this really small thing niggling me here. I think it's got something to do with you making Armok-damned elves overpowered. Seven hells, why the elves!?
Maybe the experiments are really painful?
Yeah, but they're elves...
Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.