100% Orange Juice

100% Orange Juice

Aero Dragon 2021 年 10 月 4 日 下午 8:01
Need help with my mod
I'm working on my own mod for OJ and it's almost done. I just received the sprite set I commissioned but they won't show up in the game even though the hyper artwork is functioning correctly. All the sprites are in a png format and have the appropriate 256x256 dimensions. Here's how my JSON file is set up:

{
"ModDefinition": {
"name": "Aero",
"description": "Replaces Nath with my avatar and Gale",
"author": "Aero",
"system_version": 2,
"changelog": "",
"contest": false,
"color": "#52ff6e"
},
"ModReplacements": {
"textures": [
"units/nath_00_00",
"units/nath_01_00",
"units/nath_02_00",
"units/nath_03_00",
"units/nath_04_00",
"units/nath_05_00",
"units/nath_06_00",
"units/nath_07_00",
"units/nath_08_00",
"units/nath_11_00",
"units/nath_12_00",
"units/nath_15_00",
{
"path": "cards/ultwep",
"face_x": 0,
"face_y": 0,
"costume_id": 0,
"custom_name": "Final Tempest",
"custom_flavor": "The power of this storm rivals that of a dragon! - Gale",
"single_file": true
}
],
"music": [
{
"unit_id": "nath",
"file": "music/tengu",
"loop_point": 0,
"volume": 0
}
],
"voices": {
"character": [],
"system": []
},
"hair_color": [],
"sound_effects": []
}
}

Could someone please tell me if I set up the pathing to Nath's sprites incorrectly or if I messed something else up. I'm so close here and I really want to see this finished
< >
正在显示第 1 - 15 条,共 16 条留言
Soap 漬物 2021 年 10 月 4 日 下午 8:06 
you have the sprite numbers backwards, it's "units/nath_00_01"
Lunar Luminary ☾ 2021 年 10 月 4 日 下午 8:07 
There is a separate board for these. First error off the bat though, erase:

,



"voices": {
"character": [],
"system": []
},
"hair_color": [],
"sound_effects": []
}
最后由 Lunar Luminary ☾ 编辑于; 2021 年 10 月 4 日 下午 8:07
Lunar Luminary ☾ 2021 年 10 月 4 日 下午 8:11 
mmm, try this:


{
"ModDefinition": {
"name": "Aero",
"description": "Replaces Nath with my avatar and Gale",
"author": "Aero",
"system_version": 2,
"changelog": "",
"contest": false,
"color": "#52ff6e"
},
"ModReplacements": {
"textures": [
"units/nath_00_00",
"units/nath_00_01",
"units/nath_00_02",
"units/nath_00_03",
"units/nath_00_04",
"units/nath_00_05",
"units/nath_00_06",
"units/nath_00_07",
"units/nath_00_08",
"units/nath_00_11",
"units/nath_00_12",
"units/nath_00_15",
{
"path": "cards/ultwep",
"face_x": 0,
"face_y": 0,
"costume_id": 0,
"custom_name": "Final Tempest",
"custom_flavor": "The power of this storm rivals that of a dragon! - Gale",
"single_file": true
}
],
"music": [
{
"unit_id": "nath",
"file": "music/tengu",
"loop_point": 0,
"volume": 0
}
]
}

If you to replace all of nath in every color use:
"units/nath_00",
"units/nath_01",
etc
最后由 Lunar Luminary ☾ 编辑于; 2021 年 10 月 4 日 下午 8:13
Soap 漬物 2021 年 10 月 4 日 下午 8:19 
引用自 Cree
mmm, try this:


{
"ModDefinition": {
"name": "Aero",
"description": "Replaces Nath with my avatar and Gale",
"author": "Aero",
"system_version": 2,
"changelog": "",
"contest": false,
"color": "#52ff6e"
},
"ModReplacements": {
"textures": [
"units/nath_00_00",
"units/nath_00_01",
"units/nath_00_02",
"units/nath_00_03",
"units/nath_00_04",
"units/nath_00_05",
"units/nath_00_06",
"units/nath_00_07",
"units/nath_00_08",
"units/nath_00_11",
"units/nath_00_12",
"units/nath_00_15",
{
"path": "cards/ultwep",
"face_x": 0,
"face_y": 0,
"costume_id": 0,
"custom_name": "Final Tempest",
"custom_flavor": "The power of this storm rivals that of a dragon! - Gale",
"single_file": true
}
],
"music": [
{
"unit_id": "nath",
"file": "music/tengu",
"loop_point": 0,
"volume": 0
}
]
}

If you to replace all of nath in every color use:
"units/nath_00",
"units/nath_01",
etc

Poses are numbered from "00" to "05" and then the first "00" increases to "01" per clothes color/costume
Lunar Luminary ☾ 2021 年 10 月 4 日 下午 8:21 
On nath its actually 0-11, hence the change. That said yes, it should only go up to 11 not to 15. OP has the pose # and clothes mixed up.

In short if u want to replace everything it would be:

"units/nath_01",
"units/nath_02",
"units/nath_03",
"units/nath_04",
etc where the first number is the coloration and the pose numbers are not included auto filled in-game.

If you just want the default color replaced then use this. Here the first number (the color) stays the same, and the second changes for each pose:
"units/nath_00_00",
"units/nath_00_01",
"units/nath_00_02",
"units/nath_00_03",
最后由 Lunar Luminary ☾ 编辑于; 2021 年 10 月 4 日 下午 8:25
Soap 漬物 2021 年 10 月 4 日 下午 8:21 
引用自 Cree
On nath its actually 0-11, hence the change. That said yes, it should only go up to 11

Oh right, Nath has extensions, my bad-
Aero Dragon 2021 年 10 月 4 日 下午 8:52 
I've tried the fix and still nothing. Here's the new JSON file:

{
"ModDefinition": {
"name": "Aero",
"description": "Replaces Nath with my avatar and Gale",
"author": "Aero",
"system_version": 2,
"changelog": "",
"contest": false,
"color": "#52ff6e"
},
"ModReplacements": {
"textures": [
{
"path": "cards/xmas",
"face_x": 0,
"face_y": 0,
"costume_id": 0,
"custom_name": "Pot of Greed",
"custom_flavor": "But what does it do? - Yugi",
"single_file": true
},
{
"path": "cards/ultwep",
"face_x": 0,
"face_y": 0,
"costume_id": 0,
"custom_name": "Final Tempest",
"custom_flavor": "The power of this storm rivals that of a dragon! - Gale",
"single_file": true
},
"units/nath_00_00",
"units/nath_00_01",
"units/nath_00_02",
"units/nath_00_03",
"units/nath_00_04",
"units/nath_00_05",
"units/nath_00_06",
"units/nath_00_07",
"units/nath_00_08",
"units/nath_00_09",
"units/nath_00_10",
"units/nath_00_11"
],
"music": [
{
"unit_id": "nath",
"file": "music/tengu",
"loop_point": 0,
"volume": 0
}
],
"voices": {
"character": [],
"system": []
},
"hair_color": [],
"sound_effects": []
}
}

I have all the sprites in the folder labeled units and all of them are named properly
Lunar Luminary ☾ 2021 年 10 月 4 日 下午 9:10 
What error does the mod throw in the mod menu? Or does it even appear?
最后由 Lunar Luminary ☾ 编辑于; 2021 年 10 月 4 日 下午 9:10
Aero Dragon 2021 年 10 月 4 日 下午 9:12 
The sprites simply don't appear, everything else works properly and the game doesn't report any problem with the JSON file
Zomoroko 2021 年 10 月 4 日 下午 9:13 
引用自 Aero Dragon
"units/nath_00_00",
"units/nath_00_01",
"units/nath_00_02",
"units/nath_00_03",
"units/nath_00_04",
"units/nath_00_05",
"units/nath_00_06",
"units/nath_00_07",
"units/nath_00_08",
"units/nath_00_09",
"units/nath_00_10",
"units/nath_00_11"
Remove all of this and replace it with just "units/nath_00"
Lunar Luminary ☾ 2021 年 10 月 4 日 下午 9:14 
Go to file explorer -> view -> and make sure extensions is check marked. its possible ur files are called nath_00_00.png.png and yeah what Zoe said above would be a shorted code you could use.
最后由 Lunar Luminary ☾ 编辑于; 2021 年 10 月 4 日 下午 9:14
Lunar Luminary ☾ 2021 年 10 月 4 日 下午 9:15 
Another thing, your pngs most be in a folder called "units" within the mod folder, but that should be obvious, I suppose.
最后由 Lunar Luminary ☾ 编辑于; 2021 年 10 月 4 日 下午 9:15
Aero Dragon 2021 年 10 月 4 日 下午 9:23 
Okay, simply changing it to nath_00 did the trick. The sprites are a bit tall though, how can I fix that?
Lunar Luminary ☾ 2021 年 10 月 4 日 下午 9:26 
Easiest way is to just edit your png files and put it lower. Not sure what you mean by tall though. If you mean the sprite is too big, use a program like gimp and shrink the image layer but not the canvas size.
最后由 Lunar Luminary ☾ 编辑于; 2021 年 10 月 4 日 下午 9:28
Aero Dragon 2021 年 10 月 4 日 下午 9:30 
The png files are using the correct dimensions. How should I adjust the sprites? Do I just reduce the size and then put them in a transparent background with the 256x256 dimensions?
< >
正在显示第 1 - 15 条,共 16 条留言
每页显示数: 1530 50