Jump to content

Recommended Posts

Posted

Hi guys.

I would appreaciate if anyone knows witch file from H5 is responsible for the visual of arrows when you auto attack just as in this video below (no intention of propaganda) and which line i do modify:

 

 

  • 2 weeks later...
Posted (edited)

Hey, that's done through LineageEffect.u, you can't really 'modify' it, you can only try to recompile the whole file.
The arrow mesh is located inside LineageWeapons.ukx, you should be able to edit that.

you can take a look at the script:
 

Class NArrow extEnds NProjectile;

simulated function PostBeginPlay()
{
    local Mesh temp;

    super(Actor).PostBeginPlay();
    temp = Mesh(DynamicLoadObject("LineageWeapons.wooden_arrow_m00_et", Class'SkeletalMesh'));
    if(temp != none)
    {
        Mesh = temp;
    }
    return;
}

simulated function Tick(float DeltaTime)
{
    if((Physics == PHYS_MovingTrailer) && TargetActor != none)
    {
        TargetActor.GetEffTargetLocation(LastTargetLocation);
    }
    super(Actor).Tick(DeltaTime);
    return;
}

simulated event ShotNotify()
{
    SetPhysics(PHYS_MovingTrailer);
    return;
}

DefaultProperties
{
    Speed=1500
    AccSpeed=3000
    DrawType=2
    CollisionRadius=0.2
    CollisionHeight=18
}

(this script is from IL but it should be the same for H5)

Edited by 911reg
  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...