• The move of Eco-Mods.com has taken place and the merge of our old officials forums is currently ongoing, read more here.

Multiple issues with my first Mod

Cyranius

Stone
Messages
2
Reaction score
0
Hello,
I tried to get my first mod running but encountered several problems to make it work properly.
1. The WorldObject is floating although I set the shader to Courved.
photo_2020-02-07_18-29-08.jpg



2. Minimap Icon is super Large
photo_2020-02-07_18-29-02.jpg



3. The set object scale in transform will only applied to the ghosted object. As soon as I place it, it goes back to its original size.
Here a picture of the object ghost. When it gets placed it looks like in the first Picture. It gets 33% larger.
photo_2020-02-07_18-28-47.jpg


I would realy appreciate some help since I work to get this running for hours already.
Desperation is creeping in :cry:
 

Kye

Copper
Trusted Dev
Mod Dev
Messages
52
Reaction score
9
Hi there! !

first question, did you make your model in blender?


Secondly, the icons are really big when they are normal images, changing it to a sprite should fix this

Make all transformations (scale etc) in your model making software then import into unity
 
OP
Cyranius

Cyranius

Stone
Messages
2
Reaction score
0
Hey there!

I was able to fix the most of the issues by myself.
Such simple thinks as the herachy in unity should not be underestimated ;)
I made the mistake that the object child had the world object component loaded. It seems that it HAS TO be the parent.
In that regard I was able to fix the scale issue and the floating. (the modified Y coord. and the scale value set in unity got transfered into the game)

I set the icon to sprite in unity. Sadly that doesnt help me.
The icon in the Inventory is fine but just not on the map.

The model is btw downloaded from a 3D model providing website. some of them are free.
 

Kye

Copper
Trusted Dev
Mod Dev
Messages
52
Reaction score
9
haha that is true, yes the parent must always be a world object, even if you want to group up your objects for better organisation the parent will still need to be a worldobject even if its not an object itself,

as for the sprite, the size of the sprite still matters, so try setting the image to around 32px x 32px and see what effects it has for you
 
Top Bottom