Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (alibaba, vicknick), 1,379 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Naming system (what does the system see?) #90880
09/21/06 03:17
09/21/06 03:17
Joined: Feb 2006
Posts: 371
New England
Rad_Daddy Offline OP
Senior Member
Rad_Daddy  Offline OP
Senior Member

Joined: Feb 2006
Posts: 371
New England
I am currently using the tex_name command to trace the name of three seperate terrain files as my player moves over them. However, I have noticed that, even if I save my terrain file as "terrainone", it shows up as "terrainone_hmp_000" inside of WED. In the case of tex_name, what does the engine see as the entity's name? The exact name I entered when I saved the file, or does it add the file type on the end (Ex: .mdl, .hmp, ect.)?

Regards,
Raddaddy


"Read not to contradict and confute, nor to find talk and discourse, but to weigh and consider." Sir Francis Bacon www.deckscapedesign.com
Re: Naming system (what does the system see?) [Re: Rad_Daddy] #90881
09/21/06 08:22
09/21/06 08:22
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
As the manual said in c_trace->scan_texture: The predefined string
tex_name is set to the texture name of the surface hit by the ray, or
the entity file name if a model, sprite, or terrain was hit.


It is the file name (xxxxxx.MDL), or you can check it in
WED->entity->properties->File.


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1