One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2018-03-28 20:13:57

Uncle Gus
Moderator
Registered: 2018-02-28
Posts: 567

My streamlined transition creation process

As a part of creating my mod, I've come up with a couple of tools that help me create transitions and ensure I have everything covered off.

I have a google spreadsheet where in each row I type in:
1) The name of the actor item (the tool)
2) The name of the target (the thing being interacted with on the ground)
3) The new actor (what you're left with in your hand)
4) The new target (the thing produced on the ground)
5) Notes (either XXs for decay or Last Use)

I also have a couple of other columns specific to my mod's code changes.

The spreadsheet looks up the items from a list and pulls back the item ID and uses this to generate the name of the transition file and the contents of the transition file.
I then copy this information into a file and run a javascript function on it which generates all of the transition files for me.

In this way, I can very quickly create new transitions from the spreadsheet, where I can sort and filter them etc. and make sure I've got all of the transitions covered. Corrections are very easy to make as well.

If anyone is interested in using these tools, I can share a copy of my google sheet with my mod specific stuff removed. The javascript file is in my github repo: https://github.com/UncleGus/OneLifeData7

Offline

Board footer

Powered by FluxBB