last version of GIMP has this exporter already integrated.DaggorathMaster wrote: ↑Sun Sep 29, 2024 10:59 pm The atlas image needs to be exported as dds, BC3 / DXT5 (which gives decent transparency).
GIMP has a free downloadable exporter for that.
Search found 76 matches
- Thu Oct 10, 2024 9:22 pm
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3194592
Re: Ask a simple question, get a simple answer
- Thu Oct 10, 2024 9:08 pm
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3194592
Re: Ask a simple question, get a simple answer
For gfxIndex, in the definition files you can add: 'gfxAtlas = "mod_assets/textures/atlas/<user_atlas_1>.tga,"' 'gfxIndex = (#),' To individual game object definitions. (user_atlas_1, or whatever your own files are named). Then you can keep the default icons for most things, and add your ...
- Sat Sep 28, 2024 9:06 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3194592
Re: Ask a simple question, get a simple answer
where are files where i can take or modify images like "editorIcon" or "gfxIndex"?
i can't find files who contains these references
i can't find files who contains these references
- Sat Sep 28, 2024 8:59 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3194592
Re: Ask a simple question, get a simple answer
right. better!
- Sat Sep 28, 2024 1:59 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3194592
Re: Ask a simple question, get a simple answer
i did it :D function connectBreakables() local objects = Dungeon.getMap(self.go.level):allEntities() for obj in objects do local oggetto = findEntity(obj.id) if oggetto.obstacle and oggetto.health and oggetto.health:getConnectorCount() < 1 then print("oggetto: "..oggetto.id) oggetto.health...
- Sat Sep 28, 2024 1:35 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3194592
Re: Ask a simple question, get a simple answer
this was my last try: function connectBreakables() local objects = Dungeon.getMap(self.go.level):allEntities() local newObjects = {} for i in objects do if i then table.insert(newObjects,i.id) end end for _, obj in ipairs(newObjects) do local oggetto = findEntity(obj).class if obj.class == "Obs...
- Thu Sep 26, 2024 8:02 pm
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3194592
Re: Ask a simple question, get a simple answer
i don't get it, can you be more specific about this concept?Zo Kath Ra wrote: ↑Sat Sep 21, 2024 9:20 pm You can list an entity's components with GameObject:componentIterator()
https://github.com/JKos/log2doc/wiki/Ob ... gameobject
or can someone explain what does it means?
- Sat Sep 21, 2024 6:38 pm
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3194592
Re: Ask a simple question, get a simple answer
here we go again, hi everybody. i've been away for long ime and now i forgot many things about LUA in LOG2. so my question is: ho can i find "breakable" objects in a map? getClass() doesn't work. getHealth() doesn't work. here is my short code in a script_entity: function connectBreakables...
- Sun Jun 14, 2020 6:13 pm
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3194592
Re: Ask a simple question, get a simple answer
There are many ways to implement this. It depends on the behavior that you want. Will the player know to precisely center the figurine, or should they not have any clue that it needs to be centered? (Would whole-tile item centering spoil it, or instead be what you need?) Should other objects also b...
- Sun Jun 14, 2020 2:19 pm
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3194592
Re: Ask a simple question, get a simple answer
You need to place them?... or does the player need to place—or re-place them? Even so, the socket component is probably what you need. You can position the socket to precisely anywhere, and there can be more than one socket. The socket(ed) object need not even be visible. If you elaborate with the ...