Scripted textures

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.
I don't if this is the right place to post this (maybe a more modeling-oriented forum would yield better answers...) but I'm trying (or rather, will soon be trying) to do some interesting things with scripted textures, and have pretty much no idea how to go about doing it. If you don't know what I mean by scripted textures, the best example is the ammo indicators on the UT weapons (you know, the red text...). The scrolling marque in some UT levels is also a scripted texture, but I'm interested only in scripted textures as skins. What I need to know is:
A. How can I make an actor have a scripted texture on it.
B. Is it possible for a single actor to have more than one scripted texture on it.
If anyone could help me out, I would appreciate it very much... I think I may have seen a tutorial on this somewhere a year or so ago, but I have unfortunately lost the URL if I ever had it.

Eater.
 

nighthack

New Member
Sep 8, 2001
21
0
0
www.megabrain.f2s.com
For Point A:

Take a close look at a Weapons PostRenderFunction especially the ones that have scriptet Textures like Eightball, Flak. Schould be really selfexplenatory to a point.

For Point b:
Dont know, but probably yes , you have to figure that out yourself ....
 
Well, I'm pretty sure that the "scripted skin" calls a RenderTexture(ScriptedTexture Tex) function (or something like that) every Tick... But that's the reason I asked about point B - if you have more than one scripted texture on one actor, there is no way to tell which texture "Tex" is, or is there?

Eater.
 
But isn't MultiSkin used for something else? I know that some functions in the TournamentPlayer class deal with mulitple skins (when assigning the face and body skins), so I guess I could look into that... And I'll check on the MultiSkin thing again, although I doubt that's it. Thanks for the help anyway.

Eater.