Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Jolly Roger

Pages: [1]
1
ASL Scripts / Re: How to get full texture filename?
« on: June 12, 2008, 11:26:53 pm »
I've finally worked it out.  :)

This seems to do the trick:

$name[1] = $tex[1].GetFileName();
$name[2] = $tex[1].name +"."+$name[1].GetExt;
$output.print("TextureFilename {\n");
$output.print("\"%s\";\n", $name[2]);

2
ASL Scripts / Re: How to get full texture filename?
« on: June 11, 2008, 06:57:51 pm »
I've tried tinkering with the code but I can't seem to get it to work. Although I'm no stranger to programming I know next to nothing about c.
I'd be grateful for a snippet of code to show me how to do this.
Thanks.

Roger

3
ASL Scripts / Re: How to get full texture filename?
« on: June 10, 2008, 08:11:36 pm »
Thanks for your help.

Roger

4
ASL Scripts / How to get full texture filename?
« on: June 09, 2008, 06:56:20 pm »
The example c export plugin script writes the name of the texture to file but don't include it's extension (jpg, gif, bmp).
How would I go about getting the full filename of a texture?
Thanks.

Roger

Pages: [1]