Scout-kun is a lie... right?

Changing the texture of a surface in-game

For questions and discussion about UnrealEd, UnrealScript, and other aspects of Unreal Engine design.

Moderators: Semfry, ividyon

bob
Skaarj Lord Skaarj Lord
Posts: 205
Joined: 23 Apr 2011, 02:24
Location: USA
Contact:

Subject: Re: Changing the texture of a surface in-game

Post Posted: 18 Jun 2014, 02:01

var texture is a thing.
so is for each all texture.
so is vector location.
decompile code of skws christmas.u
it can change level textures... good luck

User avatar Sat42
Skaarj Warlord Skaarj Warlord
Posts: 865
Joined: 14 Jul 2013, 16:42
Contact:

Subject: Re: Changing the texture of a surface in-game

Post Posted: 18 Jun 2014, 10:59

Hmm... I'll take a look later on, this could be useful for things I hadn't envisioned yet.
Thanks for the info! :)
Nali: Magic or Telekinesis
Waffnuffly wrote:It's tarydium-doped smoothies. Drunk by the player, I mean. The player is tripping balls. The whole game actually takes place in a large city and the player thinks he's on an alien world.

bob
Skaarj Lord Skaarj Lord
Posts: 205
Joined: 23 Apr 2011, 02:24
Location: USA
Contact:

Subject: Re: Changing the texture of a surface in-game

Post Posted: 18 Jun 2014, 16:21

i will note that it could be a illusion that it changed level textures, might have been dumping fake actors to cover it up ; (


http://pastebin.com/jYUV6prQ


class MH expands Actor;

simulated function DI(texture T, string S, string S2)
{
if(caps(S)=="BMIRRORED")
T.bMirrored = bool(S2);
else if(caps(S)=="BX2")
T.BX2 = bool(S2);
else if(caps(S)=="BX3")
T.BX3 = bool(S2);
else if(caps(S)=="BX4")
T.BX4 = bool(S2);
else if(caps(S)=="BX5")
T.BX5 = bool(S2);
else if(caps(S)=="BX6")
T.BX6 = bool(S2);
else if(caps(S)=="BX7")
T.BX7 = bool(S2);
else if(caps(S)=="UBITS")
T.UBits = Byte(S2);
else if(caps(S)=="VBITS")
T.VBits = Byte(S2);
else if(caps(S)=="USIZE")
T.USize = int(S2);
else if(caps(S)=="VSIZE")
T.VSize = int(S2);
else if(caps(S)=="UCLAMP")
T.UClamp = int(S2);
else if(caps(S)=="VCLAMP")
T.VClamp = int(S2);
}

User avatar Sat42
Skaarj Warlord Skaarj Warlord
Posts: 865
Joined: 14 Jul 2013, 16:42
Contact:

Subject: Re: Changing the texture of a surface in-game

Post Posted: 19 Jun 2014, 12:13

Thanks for the link, bob :) I'll take a closer look when I have more time, this is complicated stuff for me! :P
Nali: Magic or Telekinesis
Waffnuffly wrote:It's tarydium-doped smoothies. Drunk by the player, I mean. The player is tripping balls. The whole game actually takes place in a large city and the player thinks he's on an alien world.

User avatar Dr.Flay
Skaarj Lord Skaarj Lord
Posts: 222
Joined: 23 Aug 2012, 06:24
Location: Kernow, UK
Contact:

Subject: Re: Changing the texture of a surface in-game

Post Posted: 07 Jul 2014, 06:55

I wonder if the old Screen mod would do what you want?
http://web.archive.org/web/200704291449 ... com/screen
After all it is just animating textures on brushes (v132 is the last version I think).

User avatar Sat42
Skaarj Warlord Skaarj Warlord
Posts: 865
Joined: 14 Jul 2013, 16:42
Contact:

Subject: Re: Changing the texture of a surface in-game

Post Posted: 10 Jul 2014, 18:55

Thanks for the link, Dr.Flay! I'll check it out in due time :)
cheers!
Nali: Magic or Telekinesis
Waffnuffly wrote:It's tarydium-doped smoothies. Drunk by the player, I mean. The player is tripping balls. The whole game actually takes place in a large city and the player thinks he's on an alien world.

Previous

Who is online

Users browsing this forum: No registered users and 38 guests

Copyright © 2001-2024 UnrealSP.org

Powered by phpBB® Forum Software © phpBB Limited