Changing Textures

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Changing Textures

Post by Nightmare » March 22nd, 2006, 11:02 pm

I know it might not be possible, but I'll ask anyway.

Is it possible (with some scripting magic if needed) to make it so textures can change after a given time.

Like say, after 15 mins some of the textures in one room change to another.

I know it might not be possible but I'm just asking anyway.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
Soviet
Core Staff
Core Staff
Posts: 7762
Joined: April 23rd, 2005, 9:12 pm

Post by Soviet » March 23rd, 2006, 1:05 am

i highly doubt that would be possible, though perhaps with proper scripting you could make one brush move up and the other back, or perhaps make the brushes rotate after a certain amount of time.

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » March 23rd, 2006, 1:07 am

I was thinking doing that, I'm just wondering if there is a different way.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » March 23rd, 2006, 1:28 am

Nightmare wrote:I was thinking doing that, I'm just wondering if there is a different way.
When I read the first post my exact reply was going to be to use 2 brushes and just move them 1 unit, but Soviet already got there ;)

There are no other ways.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » March 23rd, 2006, 3:02 am

ok, I was just wondering, it would be cool to make the skybox turn from day to night in the middle of the game or something like that.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
Soviet
Core Staff
Core Staff
Posts: 7762
Joined: April 23rd, 2005, 9:12 pm

Post by Soviet » March 23rd, 2006, 3:18 am

Nightmare wrote:ok, I was just wondering, it would be cool to make the skybox turn from day to night in the middle of the game or something like that.
yea, you're right...it would, oh well

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » March 23rd, 2006, 8:09 pm

Nightmare wrote:ok, I was just wondering, it would be cool to make the skybox turn from day to night in the middle of the game or something like that.
You are not allowed 2 sky textures in 1 map.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » March 23rd, 2006, 10:19 pm

I was guessing that, but it would be cool, wouldn't it?
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » March 24th, 2006, 8:42 pm

KillerSam wrote:i asked drofder this question, the solution was to have 2 brushes, have one in a well lighted area under the map...then when the map starts have it very quickly move inside a wall...then when u want it to change texture make the 2 brushes swap VERY quickly :)
Indeed. But he wanted 2 skies. Which IS impossible as..
1. Worldspawn settings are used in compile and cannot be changed without recompiling
2. Compiler only allows 1 sky (unless you use custom sky, which will look lame :P)
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Soviet
Core Staff
Core Staff
Posts: 7762
Joined: April 23rd, 2005, 9:12 pm

Post by Soviet » March 24th, 2006, 10:23 pm

i got an idea though it would probably be too hard to do, but here it is anyway. Ok, you create your skybox, then inside that you create two brushes that can swap out right inside of the skybox. Then you create two custom textures like skies, apply them, then do scripting for interchangableness. Then of course you build your map within those brushes.

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » March 24th, 2006, 10:44 pm

I know you can only have 1 sky shader file, not sure if u can incorporate 2 sky textures in 1 shader...i'd guess not but might be worth trying

User avatar
Soviet
Core Staff
Core Staff
Posts: 7762
Joined: April 23rd, 2005, 9:12 pm

Post by Soviet » March 24th, 2006, 11:43 pm

well you woudln't necessarily have to create an actual sky texture, you could just create a texture that looks like the sky

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest