Few noob question (variables, doodas)

Status
Not open for further replies.
Level 17
Joined
Nov 13, 2006
Messages
1,814
1. why dont appear the texture if example if i use a doodas or tree model for unit model
example:
Doodads\Terrain\AshenTree\AshenTree.mdl - this missing model
Doodads\Terrain\CityscapeTree\CityscapeTree0S.mdl -this white texture
if i want use for paladin

2. what is the maximum value for integer/real, so what is the maximum number what i can store to variable (coz i see gold cant be more than 10^9)?
 
Level 2
Joined
Aug 5, 2010
Messages
24
trees as doodads dont work since the tree models dont have a texture. That is done in the destructible tab Art:replacable textures if you want a tree to have textures you propably have to make a custom model that comes with the desire texture. Atleast i think thats how it all works
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
@LordBacon:

I guess you're referring to something similar to this?:

http://www.hiveworkshop.com/forums/general-mapping-tutorials-278/new-trees-world-editor-150515/

Which is in fact possible...

@shadowvzsL

1: A texture is blp or tga format, not mdl. A doodad can not be used as a unit model unless altered.
(As far as I've learned from personal experiences, the doodad models have textures applied to them within the model file. Which is impossible for units if I recall correctly.
But it might be better talking about this with a modeling expert...)

2: I have absolutely no idea, but it might be 8192 digits long ^.^ (Not sure though)
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
I'm pretty sure that is not possible. 2^34 causes an overflow. The calculation will produce a wrong result.

ok so, example the 256 x 256 map is 256000 x 256000 if we use coordinate?

because if yes then if we want calculate distance between 2 point on map, and a unit is on top/left corner, b unit is bottom/right corner then distance calculation could cause problem , since 256000^2 is higher than 2^31.

or that 256 x 256 or 496 x 496 got 1:100 ratio when we use coordinates?
 
Status
Not open for further replies.
Top