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.

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.



  • Posts

    • Lol good joke.   If I'd be the one contacting yo then I'd say at least 50% in advance because you can basically just fuck off when things doesn't go your way, and then you as a developer just wasted days or even weeks of time with development.
    • "Just make your own game!" sounds simple until you’ve tried it. I did, with Epic Dragon World and learned the hard way that "open source" often means "free labor for resellers." The MIT license became a buffet for people to grab code, rebrand it and ghost the project. Even basic collaboration collapsed because everyone wanted their vision, not *a* vision. NCSoft’s lawyers aren’t theoretical. They’re a sword of Damocles. Even if you rebuild a client from scratch, if it feels like Lineage 2, they’ll come knocking. Ask the Chrono Trigger fangame corpses how that goes. MMOs are hospice care. The genre’s on life support, kept alive by whales and nostalgia. Look at Throne and Liberty, NCSoft’s own "successor" to L2, flopping harder than a 2004 PKer in ToI. Classic reboots (WoW, L2) are bandaids, not resurrections. This is the hobby. Optimizing old systems, reverse-engineering spaghetti code and preserving janky mechanics is the fun part. Monetizing it turns it into customer service hell. No thanks. Community? What community? The L2 scene is 90% resellers, 10% players who’ll quit the second they don’t get +16 on day one. Both asking how to install Java and why running the uncompiled server does not work.
    • Dear players, Open beta test for C3 begins today at 19:00 server time (GMT +2). 💰 All participants who find bugs during OBT will be rewarded with Coin of Luck (CoL): - 1 CoL for each staticmesh issue found — e.g., walking through textures, etc., - 2 CoL or more for server-side issues, depending on their severity., We strongly recommend reviewing the quest list - when switching to Chronicle 3, the total number of quests should match the number shown in the upper right corner of the window and correspond to the quest count from Chronicle 2. To log into the game, use the same data you use to access the Airin server. 📌 Download client: Google Drive
    • 🔥 Sale Alert! 🔥 Twitter Accounts with 50 Followers — now on SALE! Looking to launch a project or warm up your account base fast? We’ve got starter Twitter accounts with ~50 followers at a sweet price. 💰 Limited-time offer – while stock lasts! ✅ Organic-Looking ✅ Clean & Safe ✅ Perfect for boosting credibility 📦 Instant delivery
  • 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