Ritsu
Orc
- Messages
- 95
- Reaction score
- 104

System/LineageEffect.u - added e_u093_a and e_u093_b classes from Hellbound
SysTextures/LineageEffectsTextures.utx - added Particles.fx_m_t0137, Particles.fx_m_t0143, Etc.fx_m_t0150, Etc.fx_m_t0151, Etc.fx_m_t0152, Etc.fx_m_t0153 and Etc.fx_m_t0154 textures from Hellbound
System/Engine.u
before:
after:
SysTextures/LineageEffectsTextures.utx - added Particles.fx_m_t0137, Particles.fx_m_t0143, Etc.fx_m_t0150, Etc.fx_m_t0151, Etc.fx_m_t0152, Etc.fx_m_t0153 and Etc.fx_m_t0154 textures from Hellbound
System/Engine.u
before:
Code:
// interactionmaster class
event bool Process_KeyEvent(array<Interaction> InteractionArray, out EInputKey Key, out EInputAction Action, FLOAT Delta)
{
local int Index;
for (Index = 0; Index < InteractionArray.Length; Index++)
{
if (InteractionArray[Index].bActive && !InteractionArray[Index].bNativeEvents
&& InteractionArray[Index].KeyEvent(Key, Action, Delta))
return true;
}
return false;
}
// markprojector class
function UpdateMarkProjector()
{
if (bAttachMark)
{
DetachProjector(true);
SetCollision(false, false, false);
FOV = 1;
UpdateDesireLocation();
SetLocation(DesireLocation);
SetRotation(Rotator(-OffsetDesireLocation));
SetDrawScale(0.10);
AttachProjector();
SetCollision(true, false, false);
bAttachMark = false;
SetTimer(10, false);
}
}
simulated function Tick(float DeltaTime)
{
super.Tick(DeltaTime);
UpdateMarkProjector();
}
after:
Code:
// interactionmaster class
event bool Process_KeyEvent(array<Interaction> InteractionArray, out EInputKey Key, out EInputAction Action, FLOAT Delta)
{
local int Index;
if (Key == IK_LeftMouse && Action == IST_Press)
class'MarkProjector'.default.FOV = 1;
for (Index = 0; Index < InteractionArray.Length; Index++)
{
if (InteractionArray[Index].bActive && !InteractionArray[Index].bNativeEvents
&& InteractionArray[Index].KeyEvent(Key, Action, Delta))
return true;
}
return false;
}
// markprojector class
function UpdateMarkProjector()
{
if (bAttachMark)
{
DetachProjector(true);
SetCollision(false, false, false);
FOV = 1;
UpdateDesireLocation();
SetLocation(DesireLocation);
SetRotation(Rotator(-OffsetDesireLocation));
SetDrawScale(0.001);
AttachProjector();
if (ProjectedActor != None)
{
ProjectedActor.NDestroy();
ProjectedActor = None;
}
foreach RadiusActors(class'L2Pickup', ProjectedActor, 60, DesireLocation);
if (ProjectedActor != None)
ProjectedActor = None;
else
ProjectedActor = Spawn(class<Actor>(DynamicLoadObject("LineageEffect.e_u093_a", class'Class')),
None, '', DesireLocation, rot(0,0,0));
SetCollision(true, false, false);
bAttachMark = false;
SetTimer(30, false);
}
}
simulated function Tick(float DeltaTime)
{
if (default.FOV > 0)
{
default.FOV = 0;
if (!bAttachMark && ProjectedActor != None)
{
UpdateDesireLocation();
bAttachMark = false;
if (VSize(DesireLocation - Location) > 50)
{
ProjectedActor.NDestroy();
ProjectedActor = None;
}
DesireLocation = Location;
}
}
if (ProjectedActor != None && ProjectedActor.bDeleteMe)
ProjectedActor = None;
if (ProjectedActor != None && RenderInfo.Ptr == 0)
{
ProjectedActor.NDestroy();
ProjectedActor = None;
}
if (ProjectedActor != None
&& VSize(Level.GetLocalPlayerController().Pawn.Location - DesireLocation) < 30)
{
ProjectedActor.NDestroy();
ProjectedActor = Spawn(class<Actor>(DynamicLoadObject("LineageEffect.e_u093_b", class'Class')),
None, '', DesireLocation, rot(0,0,0));
ProjectedActor = None;
}
if (ProjectedActor != None && ProjectedActor.LifeSpan < 29
&& VSize(Level.GetLocalPlayerController().Pawn.Velocity) < 1)
{
ProjectedActor.NDestroy();
ProjectedActor = None;
}
super.Tick(DeltaTime);
UpdateMarkProjector();
}
Last edited:



