Starofdeath Posted September 7, 2015 Share Posted September 7, 2015 I want to increase scale of picture in the game. To do this, I change these settings. But in a game scale is not enlarged. What to do?I tried a lot of options and I have run out of ideas. Link to comment Share on other sites More sharing options...
Mobbstar Posted September 7, 2015 Share Posted September 7, 2015 Huh... what are you trying to scale up exactly? You can scale the size of a prefab using inst.Transform:SetScale(1,1,1) too (1 is normal) Link to comment Share on other sites More sharing options...
Starofdeath Posted September 7, 2015 Author Share Posted September 7, 2015 Figures "2" on screenshot. The most amazing thing that the hat on the ground changes, and on head - no ... I'm using Hat Example 1.0 mod.inst.Transform:SetScale(1,1,1) is a good thing, but it happens the same. Now at the beginning. I can not upload my mod in the Steam. The most likely reason - it is the file size with pictures. Empirically(after ~60 tries), I found out that the file must be less than 100 kilobytes. To do this I need to compress images. However, compressed images are too small and need to stretch the game. Link to comment Share on other sites More sharing options...
Mobbstar Posted September 7, 2015 Share Posted September 7, 2015 Figures "2" on screenshot. The most amazing thing that the hat on the ground changes, and on head - no ... I'm using Hat Example 1.0 mod.inst.Transform:SetScale(1,1,1) is a good thing, but it happens the same. Now at the beginning. I can not upload my mod in the Steam. The most likely reason - it is the file size with pictures. Empirically(after ~60 tries), I found out that the file must be less than 100 kilobytes. To do this I need to compress images. However, compressed images are too small and need to stretch the game. Firstly, you need to change the image size for overriding symbols. It sucks, but that's the only way it works. Secondly, I'm sure it's 100 megabytes on DS workshop. Link to comment Share on other sites More sharing options...
Starofdeath Posted September 9, 2015 Author Share Posted September 9, 2015 I'm changing x-scale and y-scale in Spriner: x2, x5... x50.. In the game changing nothing. With original files, with resize file - nothing.Please download Hat Example and try to change its scale in the game. I'm going crazy...( Link to comment Share on other sites More sharing options...
NecroAnbu Posted September 9, 2015 Share Posted September 9, 2015 It would be better to change the scale of the png image before using it in spirter. That way it will have a cleaner look when in game. Link to comment Share on other sites More sharing options...
Starofdeath Posted September 12, 2015 Author Share Posted September 12, 2015 For example mod "Additional Equipmen" have very small textures, but in the game this textures looks normal (not small). In lua-files there are no any special prefabs. How i can give result like this? Link to comment Share on other sites More sharing options...
keraunoscopia Posted September 13, 2015 Share Posted September 13, 2015 Firstly, you need to change the image size for overriding symbols. It sucks, but that's the only way it works. Secondly, I'm sure it's 100 megabytes on DS workshop. Starofdeath, Mobbstar answered your question: an item which is equippable (can be held or worn) needs two animations: (1) an animation of the object sitting on the ground, (2) an animation of the object when it's equipped. The game swaps the second animation in with AnimState:OverrideSymbol() when the item is equipped. As Mobbstar says, the second animation disregards the scale that you set in Spriter - that's just how it works. You need to scale the original image in your drawing program (such as paint.net) to change its size. Link to comment Share on other sites More sharing options...
Starofdeath Posted September 13, 2015 Author Share Posted September 13, 2015 If it interesting to somebody, i found answer on my question.Go to anim/hat_swap.rar ->(extract)-> atlas-0.tex ->(convert)-> atlas-0.pngresize atlas-0.png from 1024x1024 to (for example) 256x256. atlas-0.png ->(convert)-> atlas-0.tex ->(pack with replace)-> hat_swap.rarDone. Nothin more. Now we have small textures wich looks like normal in the game. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.