• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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)?
 
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
 
@LordBacon:

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

https://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)
 
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.
Back
Top