Page 1 of 1

Looking For A File!

Posted: Tue Jul 22, 2014 7:18 am
by ASLY
I need a file which name is UnrealShare.Pock - It's from Unreal 1 but I don't have U1 at my PC.
This file needed for Postal 2 weapons. Thanks in advence! :tu:

Re: Looking For A File!

Posted: Tue Jul 22, 2014 8:06 am
by UTPe
hi,
are you pretty sure this is a real file (filename.xxx) ? could it be maybe an UScript class ?

Re: Looking For A File!

Posted: Tue Jul 22, 2014 8:18 am
by Higor
Unreal's UnrealShare has a couple of U1-only things in it, you won't be able to load those in UT.
Something similar happened to RTNP's UnrealShare and U1 one (i think it was unified with main U1 in 227).

Re: Looking For A File!

Posted: Tue Jul 22, 2014 10:19 am
by ASLY
Yeah, let's take a look to this topic: http://www.ut99.org/viewtopic.php?f=12&t=5661

Re: Looking For A File!

Posted: Tue Jul 22, 2014 6:09 pm
by Dr.Flay
It is a class of damage in the Unreal UnrealShare.u

Code: Select all

//=============================================================================
// pock.
//=============================================================================
class Pock expands Scorch;

#exec TEXTURE IMPORT NAME=pock0_t FILE=Textures\Decals\pock0_t.pcx LODSET=2
#exec TEXTURE IMPORT NAME=pock1_t FILE=Textures\Decals\pock1_t.pcx LODSET=2
#exec TEXTURE IMPORT NAME=pock2_t FILE=Textures\Decals\pock2_t.pcx LODSET=2
#exec TEXTURE IMPORT NAME=pock3_t FILE=Textures\Decals\pock4_t.pcx LODSET=2
#exec TEXTURE IMPORT NAME=pock4_t FILE=Textures\Decals\pock5_t.pcx LODSET=2

var() texture PockTex[5];

simulated function PostBeginPlay()
{
	if ( Level.bDropDetail )
		Texture = PockTex[0];
	else
		Texture = PockTex[Rand(5)];

	Super.PostBeginPlay();
}

simulated function AttachToSurface()
{
	bAttached = AttachDecal(100, vect(0,0,1)) != None;
}
So what you are looking for is Unreal.

Re: Looking For A File!

Posted: Wed Jul 23, 2014 5:09 am
by ASLY
Damn! UT Already have UnrealShare package so I can't do anything, right? :(