Jump to content

Recommended Posts

Posted

Well i tried to implement the Zakensword class on lower chronicles from CT 2.5.
And i figured out that on CT 2.5 "AttachedBone" was implemented on NAgathion class.

What i tried to do was to make a new class since was not able to 'touch' engine.NAgathion

so i made my own:

class MyAga extends Pawn;


var enum EAgathionMovementType
{
	EAMT_FOLLOW,
	EAMT_FLOAT,
	EAMT_ONVEHICLE,
} MovementType;

var enum EAgathionType
{
	EAT_DEFAULT,		
	EAT_ATTACHED,		
} AgathionType;

var enum EAttachedBone
{
	EAB_NONE,
	EAB_HEADBONE,
	EAB_SPINEBONE,
	EAB_R_HANDBONE,
	EAB_L_HANDBONE,
	EAB_R_ARMBONE,
	EAB_L_ARMBONE,
	EAB_R_FOOTBONE,
	EAB_L_FOOTBONE,
} AttachedBone;


var vector		DestLocation;
var Rotator		OriginalRotationRate;
var int			RandomAnimPercent;
var int			RandomSpecialAnimationState;	// -1 to decide, 0 failed, 1 success
var bool		NeedMaster;						// for 3D UI
var pawn		Master;
var int			MasterWaitType;
var float		MasterWaitTypeChangeUpdate;

defaultproperties
{
    OriginalRotationRate=(Pitch=0,Yaw=30000,Roll=0),
    RandomAnimPercent=20
    NeedMaster=True
    bCollideActors=False
    bCollideWorld=False
}

And my own class for npc

class br_aga_zaken extends MyAga
  Config(User);

defaultproperties
{
    GroundMaxSpeed=180.00
    GroundMinSpeed=60.00
    AgathionType=1
    AttachedBone=2
    CollisionRadius=0.01
    CollisionHeight=5.50
}

when i compile those two properties disappear :     AgathionType=1    AttachedBone=2

 

image.png.69dda3c47b91ba4f18830cd1b2d73a31.png

 

and what i get ingame is this

DWikld6.png

MPwijsI.png

 

 

It doesn't follow the character but it spawns on the correct position

Posted
7 hours ago, CriticalError said:

well as far understand maybe wrong, the attach no work, because if you move, they still need be in your back, or you can try use another bone to attach.

The attach config is not recognized at all from my engine so I have to find a way to modify engine.u if there's any way...

Posted
On 5/31/2019 at 5:10 PM, filimon said:

Well i tried to implement the Zakensword class on lower chronicles from CT 2.5.
And i figured out that on CT 2.5 "AttachedBone" was implemented on NAgathion class.

What i tried to do was to make a new class since was not able to 'touch' engine.NAgathion

so i made my own:


class MyAga extends Pawn;


var enum EAgathionMovementType
{
	EAMT_FOLLOW,
	EAMT_FLOAT,
	EAMT_ONVEHICLE,
} MovementType;

var enum EAgathionType
{
	EAT_DEFAULT,		
	EAT_ATTACHED,		
} AgathionType;

var enum EAttachedBone
{
	EAB_NONE,
	EAB_HEADBONE,
	EAB_SPINEBONE,
	EAB_R_HANDBONE,
	EAB_L_HANDBONE,
	EAB_R_ARMBONE,
	EAB_L_ARMBONE,
	EAB_R_FOOTBONE,
	EAB_L_FOOTBONE,
} AttachedBone;


var vector		DestLocation;
var Rotator		OriginalRotationRate;
var int			RandomAnimPercent;
var int			RandomSpecialAnimationState;	// -1 to decide, 0 failed, 1 success
var bool		NeedMaster;						// for 3D UI
var pawn		Master;
var int			MasterWaitType;
var float		MasterWaitTypeChangeUpdate;

defaultproperties
{
    OriginalRotationRate=(Pitch=0,Yaw=30000,Roll=0),
    RandomAnimPercent=20
    NeedMaster=True
    bCollideActors=False
    bCollideWorld=False
}

And my own class for npc


class br_aga_zaken extends MyAga
  Config(User);

defaultproperties
{
    GroundMaxSpeed=180.00
    GroundMinSpeed=60.00
    AgathionType=1
    AttachedBone=2
    CollisionRadius=0.01
    CollisionHeight=5.50
}

when i compile those two properties disappear :     AgathionType=1    AttachedBone=2

 

image.png.69dda3c47b91ba4f18830cd1b2d73a31.png

 

and what i get ingame is this

DWikld6.png

MPwijsI.png

 

 

It doesn't follow the character but it spawns on the correct position

If on your chronicles engine.u doesn't have attachBone property, that means engine.dll doesn't handle this property, so even if u add it in .u, it wouldn't work (there is no native logic that has to add add aghation mesh over your character bone) !

Still maybe u choose wrong class to inherit ,

  

Posted
2 minutes ago, LightFusionMain said:

If on your chronicles engine.u doesn't have attachBone property, that means engine.dll doesn't handle this property, so even if u add it in .u, it wouldn't work (there is no native logic that has to add add aghation mesh over your character bone) !

Still maybe u choose wrong class to inherit ,

  

You can check how br_aga_zaken gets attached on EAB_HEADBONE if you deeply search it on H5 Chronicle, what i tried to do was to expand the engine's properties.

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


  • Posts

    • Some new features that we added: - 2 new quests - PvP Arena (to get hero status) Olympiad is disabled - Love Event - Dressme for armor/weapons/accessories - HWID Protection - More monsters - New farm zone - New autofarm system (works almost like adrenaline) - Auto enchant - Auto augment - 3 levels of armors - 3 levels of weapons - Anti KS System - Rebirth Manager - 30 days checking rewards - Small event (daily checking with small reward for all online players)
    • Added FloodProtector utility to prevent packet flooding for actions like item use and dice rolling. Integrated flood protection checks in relevant client packet handlers and registered/removal hooks in player lifecycle. Updated movement logic in L2PcInstance for improved position synchronization and geodata handling. Minor fixes and refactoring in attack logic, private store handling, and admin NPC editing. Refactored AI classes to enhance movement, attack, and skill usage logic for characters and mobs. Improved distance checks, attack range calculations, and skill casting conditions. Removed unused intention command logic from L2CharacterAI. Updated configuration to enable CellPathFinding. Minor code cleanups and bug fixes for more reliable AI behavior. Enhanced GeoPathFinding with detailed debug and error messages for region loading, including success/failure counts and file checks. Refactored L2AttackableAI and L2CharacterAI to improve attack range tolerance, immediate attack behavior, and added safety checks for missing targets. Updated configuration to disable CellPathFinding by default and added a new ShowRedName option for aggressive mobs. Minor config and log updates included. Applied TCP socket optimizations (e.g., TCP_NODELAY, buffer sizes, keepalive) in ClientThread, Connection, and SelectorThread to reduce latency and improve throughput. Enhanced L2AttackableAI with better random walk, aggro, and attack logic, including silent move checks, quest monster handling, and improved faction/raid/minion behavior. Added silent move support to L2PlayableInstance and quest monster flag to L2NpcTemplate/L2NpcInstance. These changes aim to improve server responsiveness, AI realism, and overall stability.
    • I’ve been using this Escape from Tarkov Hack for about a week now with no issues at all. ESP works great without any lag, and the aimbot is smooth and doesn't feel obvious. Had a quick setup with the loader, and support answered my questions right away. The HWID spoofer also did its job without messing with my system. So far, the cheat's staying undetected on my side.
  • Topics

×
×
  • 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