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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock