Пример #1
0
 public BodyPartInfo(Single DamageMultiplier, BodyPartDataFlags Flags, BodyPartType Type, Byte HealthPercent, ActorValuesByte ActorValue, Byte ToHitChance, Byte ExplosionChance, UInt16 ExplosionDebrisCount, FormID ExplosionDebris, FormID Explosion, Single TrackingMaxAngle, Single ExplosionDebrisScale, Int32 SeverableDebrisCount, FormID SeverableDebris, FormID SeverableExplosion, Single SeverableDebrisScale, Single GoreEffectsTranslateX, Single GoreEffectsTranslateY, Single GoreEffectsTranslateZ, Single GoreEffectsRotationX, Single GoreEffectsRotationY, Single GoreEffectsRotationZ, FormID SeverableImpactDataSet, FormID ExplosionImpactDataSet, Byte SeverableDecalCount, Byte ExplosionDecalCount, Byte[] Unused, Single LimbReplacementScale)
 {
     this.DamageMultiplier       = DamageMultiplier;
     this.Flags                  = Flags;
     this.Type                   = Type;
     this.HealthPercent          = HealthPercent;
     this.ActorValue             = ActorValue;
     this.ToHitChance            = ToHitChance;
     this.ExplosionChance        = ExplosionChance;
     this.ExplosionDebrisCount   = ExplosionDebrisCount;
     this.ExplosionDebris        = ExplosionDebris;
     this.Explosion              = Explosion;
     this.TrackingMaxAngle       = TrackingMaxAngle;
     this.ExplosionDebrisScale   = ExplosionDebrisScale;
     this.SeverableDebrisCount   = SeverableDebrisCount;
     this.SeverableDebris        = SeverableDebris;
     this.SeverableExplosion     = SeverableExplosion;
     this.SeverableDebrisScale   = SeverableDebrisScale;
     this.GoreEffectsTranslateX  = GoreEffectsTranslateX;
     this.GoreEffectsTranslateY  = GoreEffectsTranslateY;
     this.GoreEffectsTranslateZ  = GoreEffectsTranslateZ;
     this.GoreEffectsRotationX   = GoreEffectsRotationX;
     this.GoreEffectsRotationY   = GoreEffectsRotationY;
     this.GoreEffectsRotationZ   = GoreEffectsRotationZ;
     this.SeverableImpactDataSet = SeverableImpactDataSet;
     this.ExplosionImpactDataSet = ExplosionImpactDataSet;
     this.SeverableDecalCount    = SeverableDecalCount;
     this.ExplosionDecalCount    = ExplosionDecalCount;
     this.Unused                 = Unused;
     this.LimbReplacementScale   = LimbReplacementScale;
 }
Пример #2
0
 public BodyPartInfo(string Tag = null)
     : base(Tag)
 {
     DamageMultiplier       = new Single();
     Flags                  = new BodyPartDataFlags();
     Type                   = new BodyPartType();
     HealthPercent          = new Byte();
     ActorValue             = new ActorValuesByte();
     ToHitChance            = new Byte();
     ExplosionChance        = new Byte();
     ExplosionDebrisCount   = new UInt16();
     ExplosionDebris        = new FormID();
     Explosion              = new FormID();
     TrackingMaxAngle       = new Single();
     ExplosionDebrisScale   = new Single();
     SeverableDebrisCount   = new Int32();
     SeverableDebris        = new FormID();
     SeverableExplosion     = new FormID();
     SeverableDebrisScale   = new Single();
     GoreEffectsTranslateX  = new Single();
     GoreEffectsTranslateY  = new Single();
     GoreEffectsTranslateZ  = new Single();
     GoreEffectsRotationX   = new Single();
     GoreEffectsRotationY   = new Single();
     GoreEffectsRotationZ   = new Single();
     SeverableImpactDataSet = new FormID();
     ExplosionImpactDataSet = new FormID();
     SeverableDecalCount    = new Byte();
     ExplosionDecalCount    = new Byte();
     Unused                 = new byte[2];
     LimbReplacementScale   = new Single();
 }