textures question...

Talk about anything related to Platinum Arts Sandbox here!
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
haywiresystem
Member
Member
Posts: 25
Joined: January 21st, 2013, 5:38 pm
Name: Stephen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

textures question...

Postby haywiresystem » February 10th, 2013, 4:16 am

I followed the excellent guide in the tutorial for adding textures... It worked, but can someone describe for me the proper format for textures that fill one cube like the ones that come with pas?

I checked and it seems the ones I checked (which fit to one cube in the editor) are 512x512

Tried saving mine to that but it does not seem to work. I mean the texture loads but it takes many squares to display it in full, otherwise it only displays a portion of it in one cube...

haywiresystem
Member
Member
Posts: 25
Joined: January 21st, 2013, 5:38 pm
Name: Stephen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: textures question...

Postby haywiresystem » February 10th, 2013, 4:56 am

After some trial and error I got it....

Its 64x64 to make a texture fill one square, way off the 512x512 I was trying... DOH!

I also managed to import my BIG map from pas schoolhouse to pas water wars edition. I have been building things in that map for a few weeks on the largest map.... So I was happy to not have to start completely over. Next up... Adding tons of new textures and continue building the map.

I will keep the textures I am working on and I will put them up for download for anyone who wants them. So far I've got marble, brick, stone, and glass textures, as well as some much more ornamental stuff...

haywiresystem
Member
Member
Posts: 25
Joined: January 21st, 2013, 5:38 pm
Name: Stephen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: textures question...

Postby haywiresystem » February 10th, 2013, 6:33 am

Okay new question, does anyone know... Can you NOT add new textures to an existing map at all? Gives invalid texture when I tried to add textures.... Works with new map...?

That kinda sucks, this means once you start a map your stuck with just the textures you started with, and you can never add any more? That will require some pretty good planning if your doing a huge map, and even then I'm not sure not being able to add new textures is a good idea. What if you have a great idea for say, the last building in your huge map after you've been editing the map for months? Just make due with the textures you started with?

Anyhow, I have a map I spent 3 weeks on, looks likes its trash now... unless can you just replace old textures with new ones? Any way to modify the map file to allow new texture files?

chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: textures question...

Postby chocolatepie33 » February 10th, 2013, 7:27 pm


haywiresystem
Member
Member
Posts: 25
Joined: January 21st, 2013, 5:38 pm
Name: Stephen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: textures question...

Postby haywiresystem » February 11th, 2013, 10:57 am

Hey, I did learn how to add textures with the packages.cfg and that works for new maps only. The textures show up as blank on old maps.
Are you saying I can add those textures to the map art file and then the old map can use the new textures?

haywiresystem
Member
Member
Posts: 25
Joined: January 21st, 2013, 5:38 pm
Name: Stephen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: textures question...

Postby haywiresystem » February 11th, 2013, 10:58 am

I mean what I'm trying to do is add new textures to an existing, not new map.

Oh and thanks for your reply,.

haywiresystem
Member
Member
Posts: 25
Joined: January 21st, 2013, 5:38 pm
Name: Stephen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: textures question...

Postby haywiresystem » February 11th, 2013, 10:58 am

I mean what I'm trying to do is add new textures to an existing, not new map.

Oh and thanks for your reply,.

haywiresystem
Member
Member
Posts: 25
Joined: January 21st, 2013, 5:38 pm
Name: Stephen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: textures question...

Postby haywiresystem » February 11th, 2013, 11:07 am

Sorry I forgot one other thing, I have collected almost 1000 royalty free textures from various sources. I would be happy to zip my new texture dir along with the packages.cfg file.

Adding so many textures is very tedious work, if I can help others, I'd be happy to do that if there is interest.

chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: textures question...

Postby chocolatepie33 » February 11th, 2013, 7:52 pm


haywiresystem
Member
Member
Posts: 25
Joined: January 21st, 2013, 5:38 pm
Name: Stephen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: textures question...

Postby haywiresystem » February 12th, 2013, 6:27 am

Thank you, I copied the info from my packages.cfg file into the untitled-art file (the file for the map I've been working on) And it worked. At first, my whole world was screwed up because I didn't put that at the end of the textures list... Once I put it at the end and restarted, everything worked perfectly... Thanks for your help!


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Sandbox General Chat”

Who is online

Users browsing this forum: No registered users and 5 guests