Pink Petal Games
Game Discussion => General Discussion & Download => Topic started by: Strangedog on August 30, 2016, 06:28:20 PM
-
Okay. First things first, I'm new around here. I've know about the game for about a week now and I quickly found myself sucked into the game's modding content. Thus, I ran into a few issues.
Editing and creating girls is a cinch. But creating traits, buildings, and jobs is a completely different beast. I have looked through the forums extensively, and so far, the only thing I can find on how to do is how to edit the traits file. I cannot add effects to that trait.
I've swam around in Crazy's source code, and I know what I need to do, I just don't know how to apply it to an individual copy of the game. Please assist. Thank you all dearly for such a cool game in advance. :-*
-
Okay. First things first, I'm new around here. I've know about the game for about a week now and I quickly found myself sucked into the game's modding content. Thus, I ran into a few issues.
Editing and creating girls is a cinch. But creating traits, buildings, and jobs is a completely different beast. I have looked through the forums extensively, and so far, the only thing I can find on how to do is how to edit the traits file. I cannot add effects to that trait.
I've swam around in Crazy's source code, and I know what I need to do, I just don't know how to apply it to an individual copy of the game. Please assist. Thank you all dearly for such a cool game in advance. :-*
From what i understand WM the traits effects are hardcoded in game meaning you need go (e.g. if you for example want to increase gold gain by 10%) to work file and add few lines of code here, I believe in the beginning traits were planned as something editable since we have a trait file, but from one reason or another it just weren't made.
-
I understand that, and I am fully prepared to swim through however many lines of code I need to. I just need to know what file in need to edit, because I can't find it for the life of me. I can't tell if I'm just being stupid or if my copy of the game is lacking what I need.
-
if my copy of the game is lacking what I need.
Game is written in a combination of C++, Lua and XML. You prolly need to get the source code from GitHub, if that is the latest and go through it. I think traits are a combination of compiled and readable code (in the release), but it's been a long time since I've looked at it.
-
Thank you, that's all I needed. You have my most sincere gratitude. :-*
-
Traits are hard coded into the game but I made it easy to find things by adding this everywhere traits are edited:
// `J` When adding new traits, search for "J-Add-New-Traits"