Raised This Month: $ Target: $400
 0% 

How to get list of texture names


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 01-07-2009 , 19:36   Re: How to get list of texture names
Reply With Quote #4

Quote:
Originally Posted by arkshine View Post
It's possible to get the texture name ( http://forums.alliedmods.net/showthr...656#post737656 ) but I don't know how to get a complete list, probably with a software. I know that there some maps ( texture name + class ) listed in materials.txt file but It will not help really.. (client)
Ok...

but:

PHP Code:
new iCvarStr[65];
get_cvar_string("test"iCvarStr64);
new 
iReturn dllfunc(DLLFunc_PM_FindTextureTypes_Texture); 
So 'iReturn' is allways 67 'C'. I'm confused...

// edit...

Ok, found out: first this dllfunc works only for textures in materials.txt list. Second if texture isn't there it returns 'C'. Third - if map was compiled using -nowad function (or whatever that function is - function that formats .wad file in .bsp), server crashes.

So is there anyother way ?
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 01-07-2009 at 20:00.
MPNumB is offline
Send a message via Skype™ to MPNumB
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode