Anyone able to answer these 2 questions?

Enferno

New Member
Joined
Oct 7, 2021
Messages
19
I have a two part question, please.

1) I'd like to know what I'm missing here: I have the stats right in the .lua file and they work in the game, however they do NOT display when you inspect the item(s). Does anyone know how to make it display on the item inspection screen?
https://ibb.co/L9KFW6q -- In game inspect display.
https://ibb.co/Mh58h0S -- The lua file #1
https://ibb.co/QkPCrZx -- The lua file #2


2) How come when I add the color change to the item it won't display the palette? In the .iff file it points to index_color_1 and to the earthtone.pal, however you can see that it's just blank in this screenshot. Anyone know how to fix this? (I found a link about a week ago that was along the lines of "How to make all armor like composite color change" or something similar and now I cannot find it again, perhaps that would help me.)
https://ibb.co/dPFLf1G -- It clearly works and opens the color change on the radial menu, however it's just a blank palette.

Thanks for all the help!
 

N. Poulsen

New Member
Joined
Sep 2, 2010
Messages
4
The displayed Jedi robe attributes is determined by JediRobeAttributeListComponent, which can be found here: https://github.com/TheAnswer/Core3/blob/unstable/MMOCoreORB/src/server/zone/objects/tangible/components/JediRobeAttributeListComponent.h

As you can see in the code, it only has support to display the required rank, regen bonus and force power bonus. You'll need to add the remaining ones yourself. It's very likely new attributes won't have strings to display the name properly, you can add them in the client files here: string/en/obj_attr_n.stf

As for the second question, I believe that is an issue with the Asset Customization Manager (customization/asset_customization_manager.iff), where the robes are not supported to have variable color. As far as I'm aware there isn't a public tool available to edit this file. Others might be able to shed more light on this issue though.
 

Enferno

New Member
Joined
Oct 7, 2021
Messages
19
The displayed Jedi robe attributes is determined by JediRobeAttributeListComponent, which can be found here: https://github.com/TheAnswer/Core3/blob/unstable/MMOCoreORB/src/server/zone/objects/tangible/components/JediRobeAttributeListComponent.h

As you can see in the code, it only has support to display the required rank, regen bonus and force power bonus. You'll need to add the remaining ones yourself. It's very likely new attributes won't have strings to display the name properly, you can add them in the client files here: string/en/obj_attr_n.stf

As for the second question, I believe that is an issue with the Asset Customization Manager (customization/asset_customization_manager.iff), where the robes are not supported to have variable color. As far as I'm aware there isn't a public tool available to edit this file. Others might be able to shed more light on this issue though.
First of all, thank you!

I've been trying to figure this out and struggling to no end! I thought I had everything done and displayed correctly, but it doesn't show them all.

It will only display "Jedi Toughness" and nothing else, I am not sure why. I have went over and over and over the .lua and cannot see anything wrong.

https://ibb.co/nmTr7tg <--- JediRobeAttributesListComponent.h

https://ibb.co/YdknDRw <--- How it's displayed in game.

https://ibb.co/gZTfzkf <--- The obj_attr_n.stf

EDIT I figured it out!!!

I made a few mistakes:

  1. I was thinking that the JediRobeAttributesListComponent.h was a .lua and I didn't rebuild (DUH!!)
  2. I didn't have spaces between the } at the end of each stat in the JediRobeAttributesListComponent.h file.
https://ibb.co/H4pVhhS < --- Finally! Now, I have to re-ordered them because of my OCD :p

Now to try and figure out the 2nd part of these questions...

I looked at the asset_customization_manager.iff and apparently I don't have the correct template to even try and change it. I'll play around with the strings / bools / bytes / floats and see if I can figure anything out.

EDIT 2.0

Also, do you know a way to display both the armor stats and attribute stats?
I.E. attributeListComponent = "JediRobeAttributeListComponent", "+" + "ArmorComponent",

So that this all displays on one item:

-- LIGHT, MEDIUM, HEAVY
rating = MEDIUM,

kinetic = 25,
energy = 25,
electricity = 25,
stun = 25,
blast = 25,
heat = 25,
cold = 25,
acid = 25,
lightSaber = 25,

skillMods = {
{"jedi_force_power_max", 250},
{"jedi_force_power_regen", 5},
{"jedi_toughness", 5},
{"jedi_state_defense", 5},
{"force_defense", 5},
{"ranged_defense", 5},
{"melee_defense", 5},
{"resistance_states", 5},
{"knockdown_defense", 5},
{"posture_change_down_defense", 5},
{"posture_change_up_defense", 5},
{"dodge", 5},
{"saber_block", 5},
{"force_luck", 5},
{"slope_move", 5},
},


I've been playing around inside the JediRobeAttributesListComponent.h trying to figure it out. I'll keep messing about hoping to get lucky unless you post first.

Hmm, after playing around for awhile, I noticed that perhaps there might be a way to turn a robe into armor and just add skillMods to it? Is that possible?

Again, a HUGE thank you for your time / help!
 
Last edited:
Top Bottom