#Yep

1 messages ยท Page 1 of 1 (latest)

true torrent
sly tundra
# true torrent

Yes but you need to check the category on your equipment and your armor is correct

true torrent
#

would Type be what's considered to be the category

sly tundra
#

Check ingame

#

In the prototype Explorer

true torrent
#

equpment used to work by doing the same as armour i belive

sly tundra
#

Or check how base mod does it

#

Also read my porting guide ๐Ÿ˜›

true torrent
#

yea i have no clue to what category i have to set, check or change

sly tundra
#

so check your equipment items in the ingame prototype explorer

#

and check the armor you want them to go in, in the ingame prototype explorer

true torrent
#

and i used ther git page to match the 2 yet i see no diffrences

sly tundra
#

and see if the categories match

#

Check ingame - source of truth

true torrent
#

all i don't have is the factoriopedia

sly tundra
#

Check your equipment ingame

#

and the armor ingame

true torrent
#

category is dam missiong tho how

sly tundra
sly tundra
#

then click on your equipment that isn't working

true torrent
sly tundra
#

and see what it says the categories is

true torrent
#

category is set armour in the bottom and this is the same on all equipment

sly tundra
true torrent
sly tundra
#

that's the EquipmentCategory

#

not the ArmorPrototype

#

The EquipmentCategory is the 'link' between EquipmentPrototype and ArmorPrototype

true torrent
sly tundra
true torrent
#

item

sly tundra
sly tundra
#

You're right, the EquipmentGrid is what decides the equipment category, not the Armor

sly tundra
true torrent
#

then why i have this issue

sly tundra
#

what does the armor tooltip say when it lists which equipment can be used in it?

#

does it list yours?

true torrent
#

fun part only the left over vanilla items

sly tundra
#

I think you want 10 * gram lol

true torrent
#

no i want it as light as i can

sly tundra
#

in case you're wondering those gram kg tons etc are just numbers

#

so instead of writing weight = 5000 you can write weight = 5 * kg

#

you can just write weight = 10 or weight = 1

true torrent
#

I would think that 2 relates to the rocket no as that is whast i have figured out on my own

sly tundra
#

yes this is related to the rocket launch capacities

true torrent
#

Thnaks for clearifying that one i'll tweak this deeper as i go on

#

still back to the issue if we can?

sly tundra
#

but weight = 10 + gram is nonsensical. Either write just a number weight = 10 (which already means 10 grams), or weight = 10 * gram or weight = 10 * grams to make it clear to the reader that you mean/intend it to be 10 grams and not 10 something-else

sly tundra
true torrent
#

the + or * as far I'm aware would increase the weight by the tiers

sly tundra
#

it's just maths

true torrent
#

i know

sly tundra
#

10 + gram = 11 (and is a weird/nonsensical way of writing it)

#

10 * gram = 10

sly tundra
# true torrent

can you show the ArmorPrototype actually, perhaps the armor is not correctly defined to use this specific equipment grid

true torrent
#

I'll Tweak that more as i fix the mod. still can we find a solution to the equipemnt?

sly tundra
# true torrent

this grid is 100x100. The one you showed in the prototype explorer is 10x10. Make sure you are checking the correct grid-prototype/armor-prototype exactly.

true torrent
#

nether of the tiers works so i don't see why that would be a problem yet if it even is one at all equipment

true torrent
sly tundra
#

None of your images show the Armor item itself

#

Maybe it is just under "Item" in the prototype explorer

true torrent
sly tundra
#

yep thanks

#

so it is using par-a1-equipment-grid

true torrent
sly tundra
true torrent
sly tundra
# true torrent

and yet, it does not accept this equipment, which has category armor

true torrent
#

yep

sly tundra
#

I am flummoxed

true torrent
#

i can show in VC when you are not as busy

sly tundra
#

I've seen everything I need

#

and I've just realised what is wrong ๐Ÿ˜‚

#

Renamed ItemPrototype::placed_as_equipment_result to place_as_equipment_result to match the runtime name.
You should read the changelog more carefully

#

Your equipment items aren't correctly defining the equipments that they create

#

So the equipments exist but there's no items that can be used to place them

true torrent
#

like the mod worked fine in 1.1 so if nothing changed in 2.0 regarding this then it should of work i would believe

sly tundra
#

Things did change

#

You need to replace placed_as_equipment_result with place_as_equipment_result in all your code

#

That would have flagged this up too

true torrent
sly tundra
#

Since all your items would be defining placed_as_equipment_result and the game would log a warning saying something like

true torrent
#

haven't slept yet

#

this bug as benn bugging me

sly tundra
#

Well follow step 7 and you'll probably pre-emptively fix some other bugs

true torrent
#

Thanks for this a lot tho would you be able to guide me bit better when it comes to doing guide Remove hr_version as i I'm worried that i break some of the generative code structure that has the Mipmap integrated and HR

sly tundra
#

mipmaps - just delete every icon_mipmaps = X thing

#

it doesn't do anything anymore

true torrent
#

yea that is not as easy since my icon_mipmaps is 256, 4, tier

#

which is having the icon size too

sly tundra
#

huh?

true torrent
sly tundra
#

oh

true torrent
#

if Im not wrong tho

sly tundra
#

well you can just leave it as-is, it isn't harming anything

true torrent
#

ok

sly tundra
#

hr_version only applies to actual graphics, not icons

sly tundra
#

you could edit create_equipment_icon function to not set icon_mipmaps

true torrent
#

yea i think some need fixing but i ain't sure what yet tho is has to to with icon.

sly tundra
#

yeah that's nothing to do with hr_version

true torrent
#

no... not

sly tundra
#

that's the icon layers changes that I was just talking to Exfret about in #mod-dev-help

#

also - better to go back to that channel - then others can help too

true torrent
#

still HR and mip

sly tundra
#

I'm not your designated helper

#

They don't/won't

#

thread discoverability is poor

#

and there's no point having a thread for disjointed things

#

if it is in a thread, and I am the only person in the thread, then I feel obligated to answer because no one else will see it, which I don't like