The Unreal Admins Page - Forums

The Unreal Admins Page - Forums (https://unrealadmin.org/forums/index.php)
-   Suggestions & Comments (https://unrealadmin.org/forums/forumdisplay.php?f=100)
-   -   Help with mutator or script! (https://unrealadmin.org/forums/showthread.php?t=30207)

[rev]rato.skt 21st September, 2010 01:34 PM

Help with mutator or script!
 
Some scripter it could help? i need of mutotar or tutorial one basic ,
I wanted to change the texture of the weapons of belt armor heltpack boots and others…
somebody aid making the tutorial basic or same mutator with tips
they can help me with uscript?
basically I do not know nothing nor oque is one variable L O L O L O L O L

[rev]rato.skt 21st September, 2010 02:01 PM

EXEMPLE:

CPanoplyd 21st September, 2010 10:43 PM

See the code snippet below. I think this is the easiest way with a mutator to reskin stuff.

Code:

function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
{

        if ( Other.IsA('tournamentpickup') )
        {
                //Boots, Armor, Thighpads REPLACEMENT
                if ( Other.IsA('Armor2') )
                {
                        if ( bArmor )
                                return false;
                        else
                        {
                                Other.MultiSkins[1] = texture(DynamicLoadObject(AIM.ArmorTexture ,class'Texture',false));
                                return true;
                        }
                }
                if ( Other.IsA('ThighPads') )
                {
                        if ( bThighpads )
                                return false;
                        else
                        {
                                Other.MultiSkins[1] = texture(DynamicLoadObject(AIM.ThighPadsTexture ,class'Texture',false));
                                Other.MultiSkins[2] = texture(DynamicLoadObject(AIM.ThighPadsTexture ,class'Texture',false));
                                return true;
                        }
                }


[rev]rato.skt 22nd September, 2010 05:24 AM

Thanks man this is very hard!

How would be the .int can teach?

CPanoplyd 23rd September, 2010 12:40 AM

http://chimeric.beyondunreal.com/tutorials/tut29.php
http://wiki.beyondunreal.com/

Basically what you'll need to know is:
1. what textures you need to replace.
2. what textures you are going to use.
3. how to use the #import line with the file type, size, color depth, etc to use.
4. how to compile a package, I used UMake a long time ago.
5. finish up the CheckReplacement portion.
6. finally lots of testing.

As far as the INT lines, it's just the same as other mutators, just change the name to you name i.e., mypackage.class or say your mutator is called RECOLOR and your mutator class is Weapons. INT would have RECOLOR.Weapons. Then you just put in the friendly name.

It's been at least 2 years since I've worked in UScript so......anyone else please help out.

back4more 23rd September, 2010 03:24 PM

^_^ Thats a damn good start point Cpanoplyd I'm impressed already :)

thanks :)

[rev]rato.skt 23rd September, 2010 08:07 PM

Quote:

Originally Posted by back4more (Post 158149)
^_^ Thats a damn good start point Cpanoplyd I'm impressed already :)

thanks :)

Can create this mutator?

and others so change other textures too?

I do not understand anything uscript for me is very complicated to do this!!!

back4more 24th September, 2010 03:30 AM

i myself , no unfortunately at this point in time however Thedane maybe Able to help you here :thumbup: be sure to link to this thread so that he knows what youre talking about.

:)


All times are GMT +1. The time now is 07:33 AM.

 


All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.