Post by superdemonsam1991 on May 3, 2012 11:26:53 GMT -5
I was working a bit on making the mma gloves to be able to airpunch enemies...... but somehow i got a crash after the CV logo by using these codes.... Anyone out there could spare a time to proofread the code so it doesn't crash? Also I am trying to add gore.....
cPlayerWeaponItem rmmaglove
{
AchievementCategory = "0"
ActionButton0 = "PLAYERBUTTON_QUICKRELEASE"
ActionButton1 = "PLAYERBUTTON_QUICKRELEASE"
ActionButton2 = "PLAYERBUTTON_CHARGEATTACK_SHORT"
ActionButton3 = "PLAYERBUTTON_CHARGEATTACK_SHORT"
ActionButton4 = "PLAYERBUTTON_QUICK_ATTACK"
ActionButton5 = "PLAYERBUTTON_QUICK_ATTACK"
ActionButton6 = "PLAYERBUTTON_QUICKRELEASE"
ActionButton7 = "PLAYERBUTTON_QUICK_ATTACK"
ActionButton8 = "PLAYERBUTTON_QUICK_ATTACK"
ActionDesiredAnimState0 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState1 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState2 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState3 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState4 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState5 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState6 = "ANIMSTATE_BIKEATTACK"
ActionDesiredAnimState7 = "ANIMSTATE_FREEFALLATTACKTOIDLE"
ActionDesiredAnimState8 = "ANIMSTATE_FREEFALLATTACKTOIDLE"
ActionRequiredAnimState1 = "ANIMSTATE_ATTACKSEQUENCE"
ActionRequiredAnimState3 = "ANIMSTATE_ATTACKSEQUENCE"
ActionRequiredAnimState4 = "ANIMSTATE_ATTACKSEQUENCE"
ActionRequiredAnimState5 = "ANIMSTATE_ATTACKSEQUENCE"
ActionRequiredAnimState6 = "ANIMSTATE_BIKEATTACK"
ActionRequiredAnimState7 = "ANIMSTATE_RUNJUMPB"
ActionRequiredAnimState8 = "ANIMSTATE_JUMPB"
ActionTargetCrawlerOnly6 = "false"
AnimationAttackChooserValue0 = "242"
AnimationAttackChooserValue1 = "243"
AnimationAttackChooserValue2 = "244"
AnimationAttackChooserValue3 = "245"
AnimationAttackChooserValue4 = "246"
AnimationAttackChooserValue5 = "247"
AnimationAttackName0 = "male_attack_Rightcross_a"
AnimationAttackName1 = "male_attack_Leftcross_b"
AnimationAttackName2 = "male_attack_Righthook_a"
AnimationAttackName3 = "male_attack_Lefthook_b"
AnimationAttackName4 = "male_attack_Rightuppercut_a"
AnimationAttackName5 = "male_attack_Leftuppercut_b"
AnimationAttackName7 = "male_attack_katana_lfoot_long"
AnimationAttackName8 = "male_attack_katana_lfoot_short"
AnimationChooserValueForHand = "20"
AnimationChooserValueForIdle = "-1"
AnimationChooserValueForPickup = "0"
AnimationChooserValueForPutdown = "0"
AnimationChooserValueForThrow = "42"
AnimationChooserValueForWalkRun = "-1"
AnimBankName = "NoveltyBoxingGloves"
AssetFilename = "mma_glove_right"
AttachPropToBoneType = "0"
AttackAudioAssetName0 = "MMAGlovesHitBody"
AttackAudioAssetName1 = "MMAGlovesHitBody"
AttackAudioAssetName2 = "MMAGlovesHitBodyBig"
AttackAudioAssetName3 = "MMAGlovesHitBodyBig"
AttackAudioAssetName4 = "MMAGlovesHitBodyBig"
AttackAudioAssetName5 = "MMAGlovesHitBodyBig"
AttackAudioAssetName6 = "MMAGlovesHitBody"
AttackAudioAssetName7 = "MMAGlovesHitBodyBig"
AttackAudioAssetName8 = "MMAGlovesHitBodyBig"
AttackDamage0 = "25"
AttackDamage1 = "25"
AttackDamage2 = "40"
AttackDamage3 = "40"
AttackDamage4 = "40"
AttackDamage5 = "40"
AttackDamage6 = "25"
AttackDamage7 = "150"
AttackDamage8 = "150"
AudioActionBits = "256"
AudioFilename = "fx_mmagloves"
AudioItemName = "MMAGloves"
BenchRestRotation = "0,0,0,1"
CollidableQuality = "0"
CollisionType = "3"
ComboBlendDuration0 = "0.1"
ComboBlendDuration1 = "0.1"
ComboBlendDuration2 = "0.15"
ComboBlendDuration3 = "0.15"
ComboBlendDuration4 = "0.1"
ComboBlendDuration5 = "0.1"
ComboBlendDuration6 = "0.05"
ComboBlendDuration7 = "0.1"
ComboBlendDuration8 = "0.1"
ComboBlendXZToUse0 = "2"
ComboBlendXZToUse1 = "2"
ComboBlendXZToUse2 = "2"
ComboBlendXZToUse3 = "2"
ComboBlendXZToUse4 = "2"
ComboBlendXZToUse5 = "2"
ComboBlendXZToUse6 = "2"
ComboBlendXZToUse7 = "2"
ComboBlendXZToUse8 = "2"
ComboBlendYToUse0 = "2"
ComboBlendYToUse1 = "2"
ComboBlendYToUse2 = "2"
ComboBlendYToUse3 = "2"
ComboBlendYToUse4 = "2"
ComboBlendYToUse5 = "2"
ComboBlendYToUse6 = "2"
ComboBlendYToUse7 = "2"
ComboBlendYToUse8 = "2"
DestroyOnThrownImpact = "false"
DisplayName = "50828"
DR2 = "true"
Durability = "5000"
EffectAudio0 = "0"
EffectAudio1 = "0"
EffectAudio2 = "0"
EffectAudio3 = "0"
EffectAudio4 = "0"
EffectAudio5 = "0"
EffectAudio6 = "0"
EffectAudio7 = "5"
EffectAudio8 = "5"
EffectOnImpact0 = "279"
EffectOnImpact1 = "279"
EffectOnImpact2 = "279"
EffectOnImpact3 = "279"
EffectOnImpact4 = "279"
EffectOnImpact5 = "279"
EffectOnImpact6 = "279"
EffectOnImpact7 = "280"
EffectOnImpact8 = "280"
EffectOnWeapon7 = "155"
EffectOnWeapon8 = "155"
FatalHitReaction0 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction1 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction2 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction3 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction4 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction5 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction6 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction7 = "HITREACTION_WEAPON_HEAVY"
FatalHitReaction8 = "HITREACTION_WEAPON_HEAVY"
Friction = "25"
HandlingStyle = "0"
HitReaction0 = "HITREACTION_STAGGER_MEDIUM"
HitReaction1 = "HITREACTION_STAGGER_MEDIUM"
HitReaction2 = "HITREACTION_WEAPON_HEAVY_MEDIUM"
HitReaction3 = "HITREACTION_WEAPON_HEAVY_MEDIUM"
HitReaction4 = "HITREACTION_FATAL_GROUP2"
HitReaction5 = "HITREACTION_FATAL_GROUP2"
HitReaction6 = "HITREACTION_STAGGER_MEDIUM"
HitReaction7 = "HITREACTION_WEAPON_HEAVY_CHARGE"
HitReaction8 = "HITREACTION_WEAPON_HEAVY_CHARGE"
IconFilename = "w_mma_gloves"
IgnoreAnyComboRequests2 = "false"
IgnoreAnyComboRequests4 = "false"
Impulse0 = "1"
Impulse1 = "1"
Impulse2 = "1.1"
Impulse3 = "1.1"
Impulse4 = "1"
Impulse5 = "1"
Impulse6 = "0.85"
Impulse7 = "1"
Impulse8 = "1"
InteractDistance = "0"
InventoryInteractionType = "0"
Is_Blocking = "true"
Is_Blunt = "true"
Is_Cliche = "true"
Is_Humour = "true"
IsWeapon = "true"
MaxDamageDealtPerAttack = "25"
MaxProjectileDamage = "25"
ObjectPaddingRadius = "0.15"
PoseAs = "MMAGloves"
ProjectileFatalHitReaction = "36"
ProjectileHitImpulse = "0.9"
ProjectileHitReaction = "51"
RequiredComboSeqCounter0 = "0"
RequiredComboSeqCounter1 = "1"
RequiredComboSeqCounter2 = "0"
RequiredComboSeqCounter3 = "1"
RequiredComboSeqCounter4 = "2"
RequiredComboSeqCounter5 = "3"
RequiredComboSeqCounter6 = "9"
RequiredComboSeqCounter7 = "-1"
RequiredComboSeqCounter8 = "-1"
ResetComboSeqCounter2 = "false"
ResetComboSeqCounter3 = "false"
ResetComboSeqCounter4 = "false"
ResetComboSeqCounter5 = "true"
ResetComboSeqCounter6 = "true"
Restitution = "0.05"
RestrictedByRegion = "false"
Reticle_ActiveInRangeMode = "false"
Reticle_ActiveInThirdPerson = "false"
Support = "true"
ThrowEffectAudio = "1"
ThrowEffectOnImpact = "279"
ThrowEffectOnVictim = "279"
ThrowEffectOnWeapon = "0"
VibrationPattern0 = "4"
VibrationPattern1 = "4"
VibrationPattern2 = "4"
VibrationPattern3 = "4"
VibrationPattern4 = "4"
VibrationPattern5 = "4"
VibrationPattern6 = "4"
VibrationPattern7 = "9"
VibrationPattern8 = "9
WeaponType = "1"
Weight = "7"
cLimbDestroyInfoItem Bowlingball_gore
{
Limb0 = "0"
mFlags0 = "1"
ProbabilityOfExploding0 = ".38"
}
cWeaponImpactPoseWarperInfoItem MMAGloves_impactwarp
{
Bone0 = "4"
Bone1 = "7"
Rotation0 = "0.000,0.000,-0.1,0.955"
Rotation1 = "0.000,0.000,-0.296,0.955"
SpeedToRecovery0 = "2.5"
SpeedToRecovery1 = "2.5"
Translation0 = "0,0,0"
WarpTime0 = "0.2"
WarpTime1 = "0.2"
}
}
cPlayerWeaponItem rmmaglove
{
AchievementCategory = "0"
ActionButton0 = "PLAYERBUTTON_QUICKRELEASE"
ActionButton1 = "PLAYERBUTTON_QUICKRELEASE"
ActionButton2 = "PLAYERBUTTON_CHARGEATTACK_SHORT"
ActionButton3 = "PLAYERBUTTON_CHARGEATTACK_SHORT"
ActionButton4 = "PLAYERBUTTON_QUICK_ATTACK"
ActionButton5 = "PLAYERBUTTON_QUICK_ATTACK"
ActionButton6 = "PLAYERBUTTON_QUICKRELEASE"
ActionButton7 = "PLAYERBUTTON_QUICK_ATTACK"
ActionButton8 = "PLAYERBUTTON_QUICK_ATTACK"
ActionDesiredAnimState0 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState1 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState2 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState3 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState4 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState5 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState6 = "ANIMSTATE_BIKEATTACK"
ActionDesiredAnimState7 = "ANIMSTATE_FREEFALLATTACKTOIDLE"
ActionDesiredAnimState8 = "ANIMSTATE_FREEFALLATTACKTOIDLE"
ActionRequiredAnimState1 = "ANIMSTATE_ATTACKSEQUENCE"
ActionRequiredAnimState3 = "ANIMSTATE_ATTACKSEQUENCE"
ActionRequiredAnimState4 = "ANIMSTATE_ATTACKSEQUENCE"
ActionRequiredAnimState5 = "ANIMSTATE_ATTACKSEQUENCE"
ActionRequiredAnimState6 = "ANIMSTATE_BIKEATTACK"
ActionRequiredAnimState7 = "ANIMSTATE_RUNJUMPB"
ActionRequiredAnimState8 = "ANIMSTATE_JUMPB"
ActionTargetCrawlerOnly6 = "false"
AnimationAttackChooserValue0 = "242"
AnimationAttackChooserValue1 = "243"
AnimationAttackChooserValue2 = "244"
AnimationAttackChooserValue3 = "245"
AnimationAttackChooserValue4 = "246"
AnimationAttackChooserValue5 = "247"
AnimationAttackName0 = "male_attack_Rightcross_a"
AnimationAttackName1 = "male_attack_Leftcross_b"
AnimationAttackName2 = "male_attack_Righthook_a"
AnimationAttackName3 = "male_attack_Lefthook_b"
AnimationAttackName4 = "male_attack_Rightuppercut_a"
AnimationAttackName5 = "male_attack_Leftuppercut_b"
AnimationAttackName7 = "male_attack_katana_lfoot_long"
AnimationAttackName8 = "male_attack_katana_lfoot_short"
AnimationChooserValueForHand = "20"
AnimationChooserValueForIdle = "-1"
AnimationChooserValueForPickup = "0"
AnimationChooserValueForPutdown = "0"
AnimationChooserValueForThrow = "42"
AnimationChooserValueForWalkRun = "-1"
AnimBankName = "NoveltyBoxingGloves"
AssetFilename = "mma_glove_right"
AttachPropToBoneType = "0"
AttackAudioAssetName0 = "MMAGlovesHitBody"
AttackAudioAssetName1 = "MMAGlovesHitBody"
AttackAudioAssetName2 = "MMAGlovesHitBodyBig"
AttackAudioAssetName3 = "MMAGlovesHitBodyBig"
AttackAudioAssetName4 = "MMAGlovesHitBodyBig"
AttackAudioAssetName5 = "MMAGlovesHitBodyBig"
AttackAudioAssetName6 = "MMAGlovesHitBody"
AttackAudioAssetName7 = "MMAGlovesHitBodyBig"
AttackAudioAssetName8 = "MMAGlovesHitBodyBig"
AttackDamage0 = "25"
AttackDamage1 = "25"
AttackDamage2 = "40"
AttackDamage3 = "40"
AttackDamage4 = "40"
AttackDamage5 = "40"
AttackDamage6 = "25"
AttackDamage7 = "150"
AttackDamage8 = "150"
AudioActionBits = "256"
AudioFilename = "fx_mmagloves"
AudioItemName = "MMAGloves"
BenchRestRotation = "0,0,0,1"
CollidableQuality = "0"
CollisionType = "3"
ComboBlendDuration0 = "0.1"
ComboBlendDuration1 = "0.1"
ComboBlendDuration2 = "0.15"
ComboBlendDuration3 = "0.15"
ComboBlendDuration4 = "0.1"
ComboBlendDuration5 = "0.1"
ComboBlendDuration6 = "0.05"
ComboBlendDuration7 = "0.1"
ComboBlendDuration8 = "0.1"
ComboBlendXZToUse0 = "2"
ComboBlendXZToUse1 = "2"
ComboBlendXZToUse2 = "2"
ComboBlendXZToUse3 = "2"
ComboBlendXZToUse4 = "2"
ComboBlendXZToUse5 = "2"
ComboBlendXZToUse6 = "2"
ComboBlendXZToUse7 = "2"
ComboBlendXZToUse8 = "2"
ComboBlendYToUse0 = "2"
ComboBlendYToUse1 = "2"
ComboBlendYToUse2 = "2"
ComboBlendYToUse3 = "2"
ComboBlendYToUse4 = "2"
ComboBlendYToUse5 = "2"
ComboBlendYToUse6 = "2"
ComboBlendYToUse7 = "2"
ComboBlendYToUse8 = "2"
DestroyOnThrownImpact = "false"
DisplayName = "50828"
DR2 = "true"
Durability = "5000"
EffectAudio0 = "0"
EffectAudio1 = "0"
EffectAudio2 = "0"
EffectAudio3 = "0"
EffectAudio4 = "0"
EffectAudio5 = "0"
EffectAudio6 = "0"
EffectAudio7 = "5"
EffectAudio8 = "5"
EffectOnImpact0 = "279"
EffectOnImpact1 = "279"
EffectOnImpact2 = "279"
EffectOnImpact3 = "279"
EffectOnImpact4 = "279"
EffectOnImpact5 = "279"
EffectOnImpact6 = "279"
EffectOnImpact7 = "280"
EffectOnImpact8 = "280"
EffectOnWeapon7 = "155"
EffectOnWeapon8 = "155"
FatalHitReaction0 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction1 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction2 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction3 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction4 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction5 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction6 = "HITREACTION_FATAL_GROUP2"
FatalHitReaction7 = "HITREACTION_WEAPON_HEAVY"
FatalHitReaction8 = "HITREACTION_WEAPON_HEAVY"
Friction = "25"
HandlingStyle = "0"
HitReaction0 = "HITREACTION_STAGGER_MEDIUM"
HitReaction1 = "HITREACTION_STAGGER_MEDIUM"
HitReaction2 = "HITREACTION_WEAPON_HEAVY_MEDIUM"
HitReaction3 = "HITREACTION_WEAPON_HEAVY_MEDIUM"
HitReaction4 = "HITREACTION_FATAL_GROUP2"
HitReaction5 = "HITREACTION_FATAL_GROUP2"
HitReaction6 = "HITREACTION_STAGGER_MEDIUM"
HitReaction7 = "HITREACTION_WEAPON_HEAVY_CHARGE"
HitReaction8 = "HITREACTION_WEAPON_HEAVY_CHARGE"
IconFilename = "w_mma_gloves"
IgnoreAnyComboRequests2 = "false"
IgnoreAnyComboRequests4 = "false"
Impulse0 = "1"
Impulse1 = "1"
Impulse2 = "1.1"
Impulse3 = "1.1"
Impulse4 = "1"
Impulse5 = "1"
Impulse6 = "0.85"
Impulse7 = "1"
Impulse8 = "1"
InteractDistance = "0"
InventoryInteractionType = "0"
Is_Blocking = "true"
Is_Blunt = "true"
Is_Cliche = "true"
Is_Humour = "true"
IsWeapon = "true"
MaxDamageDealtPerAttack = "25"
MaxProjectileDamage = "25"
ObjectPaddingRadius = "0.15"
PoseAs = "MMAGloves"
ProjectileFatalHitReaction = "36"
ProjectileHitImpulse = "0.9"
ProjectileHitReaction = "51"
RequiredComboSeqCounter0 = "0"
RequiredComboSeqCounter1 = "1"
RequiredComboSeqCounter2 = "0"
RequiredComboSeqCounter3 = "1"
RequiredComboSeqCounter4 = "2"
RequiredComboSeqCounter5 = "3"
RequiredComboSeqCounter6 = "9"
RequiredComboSeqCounter7 = "-1"
RequiredComboSeqCounter8 = "-1"
ResetComboSeqCounter2 = "false"
ResetComboSeqCounter3 = "false"
ResetComboSeqCounter4 = "false"
ResetComboSeqCounter5 = "true"
ResetComboSeqCounter6 = "true"
Restitution = "0.05"
RestrictedByRegion = "false"
Reticle_ActiveInRangeMode = "false"
Reticle_ActiveInThirdPerson = "false"
Support = "true"
ThrowEffectAudio = "1"
ThrowEffectOnImpact = "279"
ThrowEffectOnVictim = "279"
ThrowEffectOnWeapon = "0"
VibrationPattern0 = "4"
VibrationPattern1 = "4"
VibrationPattern2 = "4"
VibrationPattern3 = "4"
VibrationPattern4 = "4"
VibrationPattern5 = "4"
VibrationPattern6 = "4"
VibrationPattern7 = "9"
VibrationPattern8 = "9
WeaponType = "1"
Weight = "7"
cLimbDestroyInfoItem Bowlingball_gore
{
Limb0 = "0"
mFlags0 = "1"
ProbabilityOfExploding0 = ".38"
}
cWeaponImpactPoseWarperInfoItem MMAGloves_impactwarp
{
Bone0 = "4"
Bone1 = "7"
Rotation0 = "0.000,0.000,-0.1,0.955"
Rotation1 = "0.000,0.000,-0.296,0.955"
SpeedToRecovery0 = "2.5"
SpeedToRecovery1 = "2.5"
Translation0 = "0,0,0"
WarpTime0 = "0.2"
WarpTime1 = "0.2"
}
}