100% Orange Juice
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
< >
16 yorumdan 1 ile 15 arası gösteriliyor
you have the sprite numbers backwards, it's "units/nath_00_01"
There is a separate board for these. First error off the bat though, erase:

,



"voices": {
"character": [],
"system": []
},
"hair_color": [],
"sound_effects": []
}
En son Lunar Luminary ☾ tarafından düzenlendi; 4 Eki 2021 @ 20:07
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
En son Lunar Luminary ☾ tarafından düzenlendi; 4 Eki 2021 @ 20:13
İlk olarak Cree tarafından gönderildi:
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
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",
En son Lunar Luminary ☾ tarafından düzenlendi; 4 Eki 2021 @ 20:25
İlk olarak Cree tarafından gönderildi:
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-
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
What error does the mod throw in the mod menu? Or does it even appear?
En son Lunar Luminary ☾ tarafından düzenlendi; 4 Eki 2021 @ 21:10
The sprites simply don't appear, everything else works properly and the game doesn't report any problem with the JSON file
İlk olarak Aero Dragon tarafından gönderildi:
"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"
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.
En son Lunar Luminary ☾ tarafından düzenlendi; 4 Eki 2021 @ 21:14
Another thing, your pngs most be in a folder called "units" within the mod folder, but that should be obvious, I suppose.
En son Lunar Luminary ☾ tarafından düzenlendi; 4 Eki 2021 @ 21:15
Okay, simply changing it to nath_00 did the trick. The sprites are a bit tall though, how can I fix that?
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.
En son Lunar Luminary ☾ tarafından düzenlendi; 4 Eki 2021 @ 21:28
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?
< >
16 yorumdan 1 ile 15 arası gösteriliyor
Sayfa başına: 1530 50