Object Name

Posts 1–8 of 8 · Page 1 of 1
Object Name
Code:
class ObjectFX
{
public:  
     // 0 Class Name :: can be Object Name ? dunno hahaa  (RTTI) ex. str.find("HauntedTrooper") return "Haunted Trooper"
     // C Weapon Object // Credits :: dreek1
     // A4 Player & AI Object
};
@dreek1 ? possible ? i think it is
Quote Originally Posted by jayjay153 View Post
Code:
class ObjectFX
{
public:  
     // 0 Class Name :: can be Object Name ? dunno hahaa  (RTTI) ex. str.find("HauntedTrooper") return "Haunted Trooper"
     // C Weapon Object // Credits :: dreek1
     // A4 Player & AI Object
};
@dreek1 ? possible ? i think it is
For AIObject has a function that returns the name by class CAIClient, for Dropped weapon you can return name by index
Quote Originally Posted by dreek1 View Post
For AIObject has a function that returns the name by class CAIClient, for Dropped weapon you can return name by index
mate, can you give me current CCharacterHitbox description? wanna try to do real-time changing hitbox
i can't understand, how to operate with hitboxes and how i can get access to it

Code:
.text:0CA4101C ; class CCharacterHitBox: 
.text:0CA4101C                 dd offset ??_R4CCharacterHitBox@@6B@ ; const CCharacterHitBox::`RTTI Complete Object Locator'
.text:0CA41020 ; const CCharacterHitBox::`vftable'
.text:0CA41020 ??_7CCharacterHitBox@@6B@ dd offset sub_C10E800
.text:0CA41020                                         ; DATA XREF: sub_C10E710+2A↑o
.text:0CA41020                                         ; sub_C10E7B0+9↑o
.text:0CA41024                 dd offset sub_C10D490
.text:0CA41028                 dd offset sub_C10CBF0
.text:0CA4102C
.text:0CA4102C ; class CharacterHitBox_Substitution: CCharacterHitBox;  
.text:0CA4102C                 dd offset ??_R4CharacterHitBox_Substitution@@6B@ ; const CharacterHitBox_Substitution::`RTTI Complete Object Locator'
.text:0CA41030 ; const CharacterHitBox_Substitution::`vftable'
.text:0CA41030 ??_7CharacterHitBox_Substitution@@6B@ dd offset sub_C10E840
.text:0CA41030                                         ; DATA XREF: sub_C10E7A0↑o
.text:0CA41030                                         ; sub_C10E820+8↑o
.text:0CA41034                 dd offset sub_C10D490
.text:0CA41038                 dd offset sub_C10CB80
.text:0CA4103C                 align 10h
.text:0CA41040 aRighthandWeapo_0 db 'righthand-weapo',0
.text:0CA41050                 dd 0
.text:0CA41054 aHeadset        db 'Headset',0          ; DATA XREF: sub_C10E990:loc_C10E9A2↑o
.text:0CA4105C                 dd 3 dup(0)
.text:0CA41068 aEyewear        db 'eyewear',0          ; DATA XREF: sub_C10E990:loc_C10E9AA↑o
.text:0CA41070                 dd 3 dup(0)
.text:0CA4107C aShoulderItem   db 'Shoulder_item',0    ; DATA XREF: sub_C10E990:loc_C10E9B2↑o
.text:0CA4108A                 align 10h
.text:0CA41090 aBackpack       db 'Backpack',0         ; DATA XREF: sub_C10E990:loc_C10E9BA↑o
.text:0CA41099                 align 4
.text:0CA4109C                 dd 2 dup(0)
.text:0CA410A4 aWaistItem      db 'Waist_item',0       ; DATA XREF: sub_C10E990:loc_C10E9C2↑o
.text:0CA410AF                 align 10h
.text:0CA410B0                 dd 2 dup(0)
.text:0CA410B8 aThighL         db 'Thigh-L',0          ; DATA XREF: sub_C10E990:loc_C10E9CA↑o
.text:0CA410C0                 dd 3 dup(0)
.text:0CA410CC aShoulderItem_0 db 'Shoulder_item',0    ; DATA XREF: sub_C10E990:loc_C10E9D2↑o
.text:0CA410DA                 align 10h
.text:0CA410E0 aMBoneRHand_0   db 'M-bone R Hand',0
.text:0CA410EE                 align 10h
.text:0CA410F0                 dd 0
.text:0CA410F4 aMBoneHead_0    db 'M-bone Head',0      ; DATA XREF: sub_C10EA00:loc_C10EA12↑o
.text:0CA41100                 dd 2 dup(0)
.text:0CA41108 aMBoneHead_1    db 'M-bone Head',0      ; DATA XREF: sub_C10EA00:loc_C10EA1A↑o
.text:0CA41114                 dd 2 dup(0)
.text:0CA4111C aMBoneRClavicle db 'M-bone R Clavicle',0
.text:0CA4111C                                         ; DATA XREF: sub_C10EA00:loc_C10EA22↑o
.text:0CA4112E                 align 10h
.text:0CA41130 aMBoneSpine1_0  db 'M-bone Spine1',0    ; DATA XREF: sub_C10EA00:loc_C10EA2A↑o
.text:0CA4113E                 align 10h
.text:0CA41140                 dd 0
.text:0CA41144 aMBonePelvis_0  db 'M-bone Pelvis',0    ; DATA XREF: sub_C10EA00:loc_C10EA32↑o
.text:0CA41152                 align 8
.text:0CA41158 aMBoneLThigh    db 'M-bone L Thigh',0   ; DATA XREF: sub_C10EA00:loc_C10EA3A↑o
.text:0CA41167                 align 4
.text:0CA41168                 dd 0
.text:0CA4116C dword_CA4116C   dd 5 dup(0)             ; DATA XREF: sub_C10EA00:loc_C10EA42↑o
Quote Originally Posted by DengiSe View Post
mate, can you give me current CCharacterHitbox description? wanna try to do real-time changing hitbox
i can't understand, how to operate with hitboxes and how i can get access to it

Code:
.text:0CA4101C ; class CCharacterHitBox: 
.text:0CA4101C                 dd offset ??_R4CCharacterHitBox@@6B@ ; const CCharacterHitBox::`RTTI Complete Object Locator'
.text:0CA41020 ; const CCharacterHitBox::`vftable'
.text:0CA41020 ??_7CCharacterHitBox@@6B@ dd offset sub_C10E800
.text:0CA41020                                         ; DATA XREF: sub_C10E710+2A↑o
.text:0CA41020                                         ; sub_C10E7B0+9↑o
.text:0CA41024                 dd offset sub_C10D490
.text:0CA41028                 dd offset sub_C10CBF0
.text:0CA4102C
.text:0CA4102C ; class CharacterHitBox_Substitution: CCharacterHitBox;  
.text:0CA4102C                 dd offset ??_R4CharacterHitBox_Substitution@@6B@ ; const CharacterHitBox_Substitution::`RTTI Complete Object Locator'
.text:0CA41030 ; const CharacterHitBox_Substitution::`vftable'
.text:0CA41030 ??_7CharacterHitBox_Substitution@@6B@ dd offset sub_C10E840
.text:0CA41030                                         ; DATA XREF: sub_C10E7A0↑o
.text:0CA41030                                         ; sub_C10E820+8↑o
.text:0CA41034                 dd offset sub_C10D490
.text:0CA41038                 dd offset sub_C10CB80
.text:0CA4103C                 align 10h
.text:0CA41040 aRighthandWeapo_0 db 'righthand-weapo',0
.text:0CA41050                 dd 0
.text:0CA41054 aHeadset        db 'Headset',0          ; DATA XREF: sub_C10E990:loc_C10E9A2↑o
.text:0CA4105C                 dd 3 dup(0)
.text:0CA41068 aEyewear        db 'eyewear',0          ; DATA XREF: sub_C10E990:loc_C10E9AA↑o
.text:0CA41070                 dd 3 dup(0)
.text:0CA4107C aShoulderItem   db 'Shoulder_item',0    ; DATA XREF: sub_C10E990:loc_C10E9B2↑o
.text:0CA4108A                 align 10h
.text:0CA41090 aBackpack       db 'Backpack',0         ; DATA XREF: sub_C10E990:loc_C10E9BA↑o
.text:0CA41099                 align 4
.text:0CA4109C                 dd 2 dup(0)
.text:0CA410A4 aWaistItem      db 'Waist_item',0       ; DATA XREF: sub_C10E990:loc_C10E9C2↑o
.text:0CA410AF                 align 10h
.text:0CA410B0                 dd 2 dup(0)
.text:0CA410B8 aThighL         db 'Thigh-L',0          ; DATA XREF: sub_C10E990:loc_C10E9CA↑o
.text:0CA410C0                 dd 3 dup(0)
.text:0CA410CC aShoulderItem_0 db 'Shoulder_item',0    ; DATA XREF: sub_C10E990:loc_C10E9D2↑o
.text:0CA410DA                 align 10h
.text:0CA410E0 aMBoneRHand_0   db 'M-bone R Hand',0
.text:0CA410EE                 align 10h
.text:0CA410F0                 dd 0
.text:0CA410F4 aMBoneHead_0    db 'M-bone Head',0      ; DATA XREF: sub_C10EA00:loc_C10EA12↑o
.text:0CA41100                 dd 2 dup(0)
.text:0CA41108 aMBoneHead_1    db 'M-bone Head',0      ; DATA XREF: sub_C10EA00:loc_C10EA1A↑o
.text:0CA41114                 dd 2 dup(0)
.text:0CA4111C aMBoneRClavicle db 'M-bone R Clavicle',0
.text:0CA4111C                                         ; DATA XREF: sub_C10EA00:loc_C10EA22↑o
.text:0CA4112E                 align 10h
.text:0CA41130 aMBoneSpine1_0  db 'M-bone Spine1',0    ; DATA XREF: sub_C10EA00:loc_C10EA2A↑o
.text:0CA4113E                 align 10h
.text:0CA41140                 dd 0
.text:0CA41144 aMBonePelvis_0  db 'M-bone Pelvis',0    ; DATA XREF: sub_C10EA00:loc_C10EA32↑o
.text:0CA41152                 align 8
.text:0CA41158 aMBoneLThigh    db 'M-bone L Thigh',0   ; DATA XREF: sub_C10EA00:loc_C10EA3A↑o
.text:0CA41167                 align 4
.text:0CA41168                 dd 0
.text:0CA4116C dword_CA4116C   dd 5 dup(0)             ; DATA XREF: sub_C10EA00:loc_C10EA42↑o
You can use the virtual functions to do that
Quote Originally Posted by dreek1 View Post
You can use the virtual functions to do that
can You tell more about it? i'm newbie, but have much exp in programming
Quote Originally Posted by DengiSe View Post
can You tell more about it? i'm newbie, but have much exp in programming
Code:
.text:0CA41020 ??_7CCharacterHitBox@@6B@ dd offset sub_C10E800
.text:0CA41020                                         ; DATA XREF: sub_C10E710+2A↑o
.text:0CA41020                                         ; sub_C10E7B0+9↑o
.text:0CA41024                 dd offset sub_C10D490
.text:0CA41028                 dd offset sub_C10CBF0
This functions sub_C10E800,sub_C10D490,sub_C10CBF0 are the virtual functions
Quote Originally Posted by dreek1 View Post
Code:
.text:0CA41020 ??_7CCharacterHitBox@@6B@ dd offset sub_C10E800
.text:0CA41020                                         ; DATA XREF: sub_C10E710+2A↑o
.text:0CA41020                                         ; sub_C10E7B0+9↑o
.text:0CA41024                 dd offset sub_C10D490
.text:0CA41028                 dd offset sub_C10CBF0
This functions sub_C10E800,sub_C10D490,sub_C10CBF0 are the virtual functions
will think.. thx
Quote Originally Posted by DengiSe View Post
will think.. thx
Check Ur Inbox
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us