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

    • 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
    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! ➡ Our Online Shop: socnet.store  ➡ Our SMM-Boosting Panel: socnet.pro  ➡ Telegram Shop Bot: socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: 79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! ➡ Our Online Shop: socnet.store  ➡ Our SMM-Boosting Panel: socnet.pro  ➡ Telegram Shop Bot: socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: 79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
  • 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