Banner left   Banner center   Banner right

Germanenglish Home · News · Diary · Screenshots · Documentation (Wiki) · Downloads · Guestbook · Forum

Home · Benutzer registrieren · Suchen · Statistik · FAQ · Benutzerliste

Zur Zeit online: keiner ausser dir

 X-Force - Fight For Destiny - Forum —› English - gamesets —› game mechanics

Seite: 1 [2] >>

Autor Mitteilung
verfasst am: 30.06.2008, 21:32
Registrierdatum: 30.11.2007, 21:58

 Beiträge: 165
wel i dont get german so i can't look in other forums but how do weapons and armor work?
verfasst am: 30.06.2008, 22:45
Admin, Spielsatz GalWar

Registrierdatum: 31.08.2005, 21:51

 Beiträge: 5596
Basically the weapon needs a piercing strenght higher than the armor value to do any damage at all. Depending on how much higher the piercing value is above the armor value, a greater percentage of the damage is substracted from the hitpoints of the target.
verfasst am: 01.07.2008, 11:00
Registrierdatum: 30.11.2007, 21:58

 Beiträge: 165
and what is the formula?
verfasst am: 01.07.2008, 16:18
Programming

Registrierdatum: 01.07.2008, 07:53

 Beiträge: 109
http://www.xforce-online.de/forum/index.php?action=vthread&forum=29&to pic=1572

Some examples http://www.xforce-online.de/forum/index.php?action=vthread&forum=3&top ic=1111

Basically:

damage=weapon_power*(1-(armor/piercing_value))

weapon_power=splinter_power=explosion_power
piercing_value=splinter_strengh=explosion_strengh

Explosion power is divide by 4 on every meter (3 feet).

??? Piercing_value is discreased by (armor+10) after each objects. Armor value for: indestructibly=150 steel=75 concrete=50 wood=25 Pasteboard=15 other=5 ???


PS Sorry, i'm very bad both in English and Deutsch. Please confirm this data
verfasst am: 01.07.2008, 16:39
Admin, Spielsatz GalWar

Registrierdatum: 31.08.2005, 21:51

 Beiträge: 5596
yes and no - the problem is that the formula alone is not enough to calculate the damage. I would have posted it above if it was that simple.

You also need to know the armor value of each object the projectile had pierced before - and the armor of an alien and the alien itself are two different objects to be damaged and possible pierced.
verfasst am: 01.07.2008, 17:06
Programmierer, allgemeines

Registrierdatum: 06.06.2004, 17:19

 Beiträge: 3186
function TISOObject.PenetrateObject(Power: Integer): Boolean;
begin
  result:=true;
  if GetSchadensTyp=stGlobal then
    exit;

  inc(fResistance,Power);
  result:=fResistance<fPower;

  if not result then
    Explode;
end;
function TGameFigure.DoTreffer(ISOObject: TObject): boolean;
var
  Dummy    : Integer;
  Fig      : TGameFigure;
  Treffer  : TTrefferParameter;
  IStatus  : Integer;
  OffSets  : TPoint;
begin
  Assert(ISOObject is TISOObject,'TGameFigure.DoTreffer: Object ist kein gültiges ISOObject');

  result:=false;

  if (fManager=nil) or fDead then
    exit;

  // Schaden an der Panzerung verursachen (bisher nur theoretisch
  //fManager.DamagePanzer(TISOObject(ISOObject).GetDamagePoints);

  // Objekt ist an der Panzerung abgeprallt (bzw. Verringerung der Durchschlagskraft, falls Panzerung durchdrungen wird)
  if (GetTrefferZone(ISOObject)=tzHeadLeft) or (GetTrefferZone(ISOObject)=tzHeadRight) or (GetTrefferZone(ISOObject)=tzHeadFront) or (GetTrefferZone(ISOObject)=tzHeadBack) then
    if not TISOObject(ISOObject).PenetrateObject(fManager.ArmHead) then
      exit;
  if (GetTrefferZone(ISOObject)=tzTorsoLeft) or (GetTrefferZone(ISOObject)=tzTorsoRight) or (GetTrefferZone(ISOObject)=tzTorsoFront) or (GetTrefferZone(ISOObject)=tzTorsoBack) then
    if not TISOObject(ISOObject).PenetrateObject(fManager.ArmTorso) then
      exit;
  if (GetTrefferZone(ISOObject)=tzFootLeft) or (GetTrefferZone(ISOObject)=tzFootRight) or (GetTrefferZone(ISOObject)=tzFootFront) or (GetTrefferZone(ISOObject)=tzFootBack) then
    if not TISOObject(ISOObject).PenetrateObject(fManager.ArmLegs) then
      exit;


  Treffer.Strength:=random(10)+(TISOObject(ISOObject).GetDamagePoints-10 );
  Treffer.Zone:=GetTrefferZone(ISOObject);

  result:=fManager.DoTreffer(Treffer);

  // Natürlichen Widerstand der Einheit berücksichtigen (verringert nur den Schaden
  // bei nachfolgenden Einheiten)
  TISOObject(ISOObject).PenetrateObject(10);

  if (fEinsatzKI<>nil) then
    TUnitKI(fEinsatzKI).DoTreffer(TISOObject(ISOObject).Figure);

...
function TGameFigureManager.DoTreffer(var Treffer: TTrefferParameter): boolean;
const
  SchadensWerte: Array[TTrefferZone] of Double = (
                 {tzNone}               0.0,
                 {tzGlobal}             1.0,
                 {tzHeadLeft}           1.3,
                 {tzHeadRight}          1.3,
                 {tzHeadFront}          1.6,
                 {tzHeadBack}           1.2,
                 {tzTorsoLeft}          1.0,
                 {tzTorsoRight}         1.0,
                 {tzTorsoFront}         0.9,
                 {tzTorsoBack}          1.1,
                 {tzFootLeft}           1.1,
                 {tzFootRight}          1.1,
                 {tzFootFront}          1.1,
                 {tzFootBack}           1.1);

var
  Schaden : Integer;
  Abwehr  : double;
begin
  {$IFDEF NOTREFFER}
  result:=false;
  exit;
  {$ENDIF}
(*  if Treffer.Power>0 then
    {$IFDEF EXTERNALFORMULARS}
    Abwehr:=formular_utils_SolveFormular('CalcAbwehr',['Angriff','Panzer', 'Power'],[Treffer.Strength,Panzer,Treffer.Power])
    {$ELSE}
    Abwehr:=Treffer.Strength*(Panzer/Treffer.Power)
    {$ENDIF}
  else
    Abwehr:=Treffer.Strength;*)

  Schaden:=max(0,round(Treffer.Strength*SchadensWerte[Treffer.Zone]));

  // Schaden in der Trefferzone berechnen

  Treffer.SchadenAbs:=min(Gesundheit,Schaden);

  ChangeGesundheit(-Schaden);
  result:=fGesundheit<=0;
end;
verfasst am: 22.12.2021, 05:45
Registrierdatum: 22.12.2021, 05:40

 Beiträge: 15
I'm impressed, I must say. Very rarely do I come across a blog that's both informative and entertaining, and let me tell you, you've hit the nail on the head. Your blog is important.
Jaisalmer Escorts
Ajmer Escorts
Durgapur Escorts
Bani Park Escorts
Lal Kothi Escorts
verfasst am: 22.12.2021, 05:45
Registrierdatum: 22.12.2021, 05:40

 Beiträge: 15
'm glad I found this website, I couldn't find any knowledge on this matter prior to it. Also, operate a site and if you are ever interested in doing some visitor writing for me if possible feel free to let me know, I'm always looking for people to check out my website.
Jagatpura Escorts
Gopalpura Escorts
Ambabari Escorts
Civil Lines Escorts
Udaipur Escorts
verfasst am: 22.12.2021, 05:46
Registrierdatum: 22.12.2021, 05:40

 Beiträge: 15
I did so delight in examining articles or blog posts placed here. There're outstanding possesses many practical facts
Ghat Darwaja Escorts
Mansarovar Escorts
Alwar Escorts
Bais Godam Escorts
Bajaj Nagar Escorts
verfasst am: 22.12.2021, 05:46
Registrierdatum: 22.12.2021, 05:40

 Beiträge: 15
Goodness, cool post. I'd prefer to compose like this as well - setting aside time and genuine difficult work to make an extraordinary article... in any case, I put things off something over the top and never appear to begin. However, much obliged.
Barkat Nagar Escorts
Beawar Escorts
Bhankarota Escorts
Bhiwadi Escorts
Chandpole Escorts
verfasst am: 22.12.2021, 05:47
Registrierdatum: 22.12.2021, 05:40

 Beiträge: 15
This is exceptionally informatics, fresh and clear. I feel that everything has been depicted in a deliberate way so peruser could get the greatest data and learn numerous things
Gangori Bazar Escorts
Malviya Nagar Escorts
Nasirabad Escorts
New Colony Escorts
Pushkar Escorts
verfasst am: 22.12.2021, 05:47
Registrierdatum: 22.12.2021, 05:40

 Beiträge: 15
This is a post that kept me in touch with greatness. With regard to the creator.
Rewari Escorts
Salasar Escorts
Sanganer Escorts
Vaishali Nagar Escorts
Kishangarh Escorts
verfasst am: 22.12.2021, 05:47
Registrierdatum: 22.12.2021, 05:40

 Beiträge: 15
This is a fair post. This post gives truly quality data. I'm undeniably going to explore it. Totally colossal pieces of data are given here. Much appreciated. Keep up the acts of kindness
Durgapura Escorts
Raja Park Escorts
Sindhi Camp Escorts
Jodhpur Escorts
Chittorgarh Escorts
verfasst am: 22.12.2021, 05:47
Registrierdatum: 22.12.2021, 05:40

 Beiträge: 15
We are truly grateful for your blog section. You will track down a colossal heap of approaches in the wake of visiting your post. Amazing work.
Kukas Escorts
Adarsh Nagar Escorts
Achrol Escorts
Agara Road Escorts
Ahar Cenotaphs Escorts
verfasst am: 22.12.2021, 05:48
Registrierdatum: 22.12.2021, 05:40

 Beiträge: 15
I as of late went over your blog and have been perusing along. I figured I would leave my first remark. I don't have the foggiest idea what to say aside from that I have appreciated perusing. Decent blog. I will continue to visit this blog all the time
Ajmer Road Escorts
Ajmeri Gate Escorts
Amber Escorts
Ambrai Amet Haveli Escorts
Badi Chaupar Escorts
verfasst am: 22.12.2021, 05:48
Registrierdatum: 22.12.2021, 05:40

 Beiträge: 15
A debt of gratitude is in order for imparting decent data to us. I like your post and all you share with us is forward-thinking and very enlightening, I might want to bookmark the page so I can come here again to understand you, as you have worked effectively
Bagore Ki Haveli Escorts
Bagru Escorts
Bapu Bazaar Escorts
Bhawani Singh Road Escorts
Bhilwara Escorts
verfasst am: 22.12.2021, 05:48
Registrierdatum: 22.12.2021, 05:40

 Beiträge: 15
The data is extremely extraordinary, I should follow you, the data you bring is genuine, reflecting effectively and equitably, it is exceptionally helpful for society to become together.
Bikaner Escorts
Bindayaka Escorts
Biseswarji Escorts
Brahmpuri Escorts
Bundi Escorts
verfasst am: 22.12.2021, 05:49
Registrierdatum: 22.12.2021, 05:40

 Beiträge: 15
I'm happy to be here. I truly like this superb post that you have accommodated us. I guarantee this would be advantageous for the vast majority of individuals.
C Scheme Escorts
Chitrakoot Escorts
Chomu Escorts
City Palace Escorts
Doodh Talai Garden Escorts
verfasst am: 30.12.2021, 11:28
Registrierdatum: 22.12.2021, 05:54

 Beiträge: 14
verfasst am: 09.03.2022, 08:10
Registrierdatum: 19.05.2021, 09:13

 Beiträge: 42
Article. I like it. The producer of this post clarifies never-endingly strong concentrate no plans. Thankful for posting.

Surat Escorts
Escorts in Dehradun
Escorts Service in Karol-bagh
Delhi Call Girls
Call Girls in Aerocity

Seite: 1 [2] >>




Du musst dich registrieren um auf dieses Thema zu antworten.
Login :: » Name » Passwort

Ladezeit (sec.): 0.010 · Powered by miniBB 1.6 with parts of 1.7 © 2001-2003