Author Topic: Touhou-related Mod Questions  (Read 2340 times)

Offline Taberone

  • NPC
  • **
  • Posts: 162
    • View Profile
Touhou-related Mod Questions
« on: October 10, 2016, 04:09:18 AM »
I've been thinking about making custom professions based off of Touhou characters for a while now (which would save me all the trouble of having to debug myself the items whenever I start a new survivor named after a Touhou character). How easy would it be? Do I just go into an existing mod with custom professions, copy the json files, and edit them with notepad++? Do I always have to compile the game myself when making a mod (I've never compiled the game before, I've only used the CDDA launcher)?
« Last Edit: January 23, 2017, 04:47:32 AM by Taberone »
Something like 15:00-18:00 is good time to kill the children
This is art right here

Offline Noctifer

  • Survivor
  • ***
  • Posts: 2832
  • Evening Star
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #1 on: October 10, 2016, 04:28:53 AM »
I've been thinking about making custom professions based off of Touhou characters for a while now (which would save me all the trouble of having to debug myself the items whenever I start a new survivor named after a Touhou character). How easy would it be? Do I just go into an existing mod with custom professions, copy the json files, and edit them with notepad++? Do I always have to compile the game myself when making a mod (I've never compiled the game before, I've only used the CDDA launcher)?

The custom professions won't be exactly the same as Touhou, though. As close as you can get to a Touhou character in vanilla Cataclysm.
just copy a mod with professions and put the stuff you want in and change the name, easy and no compile nessesasy.
May mother Venus guide us all!

...Noctifer's incredibly loot bloated Survivor Emcampments™...

Offline Taberone

  • NPC
  • **
  • Posts: 162
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #2 on: October 10, 2016, 04:38:59 AM »
Same thing for custom clothing/weapons/etc, where I just copy/paste/edit?
« Last Edit: October 10, 2016, 04:43:14 AM by Taberone »
Something like 15:00-18:00 is good time to kill the children
This is art right here

Offline Noctifer

  • Survivor
  • ***
  • Posts: 2832
  • Evening Star
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #3 on: October 10, 2016, 04:51:12 AM »
Same thing for custom clothing/weapons/etc, where I just copy/paste/edit?

Yes, most stuff is copy, paste, edit, profit.
May mother Venus guide us all!

...Noctifer's incredibly loot bloated Survivor Emcampments™...

Offline BorkBorkGoesTheCode

  • Survivor
  • ***
  • Posts: 794
  • What could possibly go wrong....
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #4 on: October 10, 2016, 06:14:28 AM »
Nearly all items can be found in the json/item folder. Armor is split between tool armor and armor.
The hollow earth and the Dyson sphere share an origin? Do some research

Offline Taberone

  • NPC
  • **
  • Posts: 162
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #5 on: October 15, 2016, 01:52:09 AM »
Is there a limit to how many starting locations can be displayed? If I were to make it so that absolutely every single starting location was available, would the box for choosing starting locations be able to scroll down?
Something like 15:00-18:00 is good time to kill the children
This is art right here

Offline Noctifer

  • Survivor
  • ***
  • Posts: 2832
  • Evening Star
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #6 on: October 15, 2016, 01:53:45 AM »
Is there a limit to how many starting locations can be displayed? If I were to make it so that absolutely every single starting location was available, would the box for choosing starting locations be able to scroll down?
I don't think that has been tried before and without code knowledge the only answer is to try.
May mother Venus guide us all!

...Noctifer's incredibly loot bloated Survivor Emcampments™...

Offline Taberone

  • NPC
  • **
  • Posts: 162
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #7 on: October 15, 2016, 06:34:37 AM »
Is there a limit to how many starting locations can be displayed? If I were to make it so that absolutely every single starting location was available, would the box for choosing starting locations be able to scroll down?
I don't think that has been tried before and without code knowledge the only answer is to try.



Looks like it's working so far. Only error so far is when I try to put in the island temple from the Arcana mod.



I currently have Yomou Konpaku mostly finished, with two new clothing items modded in. The dress being dark green and white is based off of the Touhou wiki's description of Yomou. Yomou also has a profession trait that gives her Niten Ichi Ryu for added ass-kicking. Not exactly aiming for professions balanced for the core game here.

At the moment, playing as a male character only changes the underwear to boxer shorts and still leaves in everything else. Might be able to find equivalent clothing for players who want to be a genderswapped Yomou later on. Seems like adding in Touhou characters as professions isn't too bad and difficult, but there's other stuff I haven't considered doing yet, like adding in custom weapons and possibly making them work with the game's default martial arts styles, or getting any clothing from this mod to spawn naturally.
« Last Edit: October 15, 2016, 06:41:58 AM by Taberone »
Something like 15:00-18:00 is good time to kill the children
This is art right here

Offline Noctifer

  • Survivor
  • ***
  • Posts: 2832
  • Evening Star
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #8 on: October 16, 2016, 09:36:58 AM »
Using the time stopping cbms for a Sakuya profession would be sweet.

P.S: Youmu is my favorite 2hu.
May mother Venus guide us all!

...Noctifer's incredibly loot bloated Survivor Emcampments™...

Offline Taberone

  • NPC
  • **
  • Posts: 162
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #9 on: October 20, 2016, 06:34:51 AM »
Is it acceptable for mods to require other mods? Theres a Seiga Kaku profession I finished recently that starts with one of the Arcana mod items, and some of the starting locations are from other mods too. Also, trying to do a Tenshi profession with a unique profession trait that gives a bonus to hit points. Are hit point bonuses from traits hardcoded?
« Last Edit: October 20, 2016, 06:49:16 AM by Taberone »
Something like 15:00-18:00 is good time to kill the children
This is art right here

Offline Noctifer

  • Survivor
  • ***
  • Posts: 2832
  • Evening Star
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #10 on: October 20, 2016, 06:51:18 AM »
Is it acceptable for mods to require other mods? Theres a Seiga Kaku profession I finished recently that starts with one of the Arcana mod items, and some of the starting locations are from other mods too. Also, trying to do a Tenshi profession with a unique profession trait that gives a bonus to hit points. Are hit point bonuses from traits hardcoded?
It's OK for mods to have dependencies, just look at the tank mod for how to so this.

If by hit points you mean health points then just make the profession have a mutation that raises the hp.
May mother Venus guide us all!

...Noctifer's incredibly loot bloated Survivor Emcampments™...

Offline Taberone

  • NPC
  • **
  • Posts: 162
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #11 on: October 20, 2016, 02:31:46 PM »
Is it acceptable for mods to require other mods? Theres a Seiga Kaku profession I finished recently that starts with one of the Arcana mod items, and some of the starting locations are from other mods too. Also, trying to do a Tenshi profession with a unique profession trait that gives a bonus to hit points. Are hit point bonuses from traits hardcoded?
It's OK for mods to have dependencies, just look at the tank mod for how to so this.

If by hit points you mean health points then just make the profession have a mutation that raises the hp.

The code for the bonus hp mutations doesn't seem to have any numbers I can modify for the extra hp, though. Like Unbreakable, from mutations.json. Although I could just make Tenshi start with the Unbreakable mutation and give her an improved version of Thick Skin.

Code: [Select]
{
        "type" : "mutation",
        "id" : "TOUGH3",
        "name" : "Unbreakable",
        "points" : 4,
        "description" : "Nothing can break you!  You get a 40% bonus to all hit points.",
        "valid" : false,
        "cancels" : ["FLIMSY", "FLIMSY2", "FLIMSY3", "GLASSJAW"],
        "prereqs" : ["TOUGH2"]
    },
Something like 15:00-18:00 is good time to kill the children
This is art right here

Offline Noctifer

  • Survivor
  • ***
  • Posts: 2832
  • Evening Star
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #12 on: October 20, 2016, 04:17:17 PM »
You can't modify the hp that it gives so you have to just give the profession the mutation.
May mother Venus guide us all!

...Noctifer's incredibly loot bloated Survivor Emcampments™...

Offline Coolthulhu

  • Contributor
  • Survivor
  • ****
  • Posts: 3839
    • View Profile
Re: How easy would it be to make custom professions?
« Reply #13 on: October 20, 2016, 06:55:48 PM »

Offline Noctifer

  • Survivor
  • ***
  • Posts: 2832
  • Evening Star
    • View Profile
May mother Venus guide us all!

...Noctifer's incredibly loot bloated Survivor Emcampments™...