Results 1 to 16 of 16

Thread: TWC Dogfight PvP

  1. #1
    Novice Pilot
    Join Date
    Aug 2020
    Posts
    64
    Post Thanks / Like
    Total Downloaded
    102.10 MB

    TWC Dogfight PvP

    Working on a PVP server and coding for scoring returning to base. Got into some great battles today with Val_Tmn bringing a variety of 109 planes to DOWN the TWC_BlacKnight. Here is my youtube channel- pure edge of the seat. After landing just jump a few minutes ahead: https://www.youtube.com/watch?v=PmbAASj_HCE

    Thanks Val for stopping by!

    Hope to see a few more drop in!

  2. #2
    Combat pilot Lorena's Avatar
    Join Date
    Nov 2017
    Location
    São Paulo / Brazil
    Posts
    173
    Post Thanks / Like
    Total Downloaded
    54.53 MB

    Re: TWC Dogfight PvP

    that is what i am talking about!
    PC: MSI 1080ti Sea Hawk | Gigabyte Z170x Gaming 7 | Intel i5 6600k @4.2gz | Noctua dh-14 |Thermaltake Versa N21 | 32gb Corsair Vengeance LPX ddr4 | Thermaltake tr2 rx 850w | 960evo NVMe SSD 250gb| 2 x 34` LG 34um67 | HyperX Cloud Stinger | Razer Deathadder v2| Trackir 4 | Microsoft ForceFeedback 2 | Ttesports Challenger keyboard |Windows 10 Enterprise x64 | Oculus Rift CV1 - 4 sensors
    VR: Oculus Rift cv1, SteamVR res: 1472x1752 per eye (120%)
    Nvidia driver version: 526.86

  3. #3
    Novice Pilot
    Join Date
    Aug 2020
    Posts
    64
    Post Thanks / Like
    Total Downloaded
    102.10 MB

    Re: TWC Dogfight PvP

    Need some help implementing a scoring script...

    1. First need a plane list for Allied and German.
    int ScoreRed = 0;
    int ScoreBlue = 0;

    private string[] RedPlanesSet = new string[] // описание наборов самолётов на спаунточках разных стран
    { "Aircraft.SpitfireMkIIa",
    "Aircraft.SpitfireMkI",
    "Aircraft.SpitfireMkIa",
    "Aircraft.HurricaneMkI_dH5-20",
    "Aircraft.HurricaneMkI"
    };

    private string[] BluePlanesSet = new string[]
    { "Aircraft.Bf-110C-7",
    "Aircraft.Bf-110C-4",
    "Aircraft.Bf-109E-3B",
    "Aircraft.G50",
    "Aircraft.Bf-109E-3",
    "Aircraft.Bf-109E-1"
    };
    2. Plane shot down 10 points- twin engine fighter 20 points
    3. If you die you lose 5 points for your team Red or Blue.
    4. If you parachute or crash land you just get the 10 points.
    5. If you make it to base and land you get X2 the points.
    6. If you complete more then 4 sorties you get 100 points.
    7. If you complete more then 8 you get 200 points.

    In the 1.07 sample file there is Red and Blue points for targets but nothing for planes...

    Also a mission reload if the points are achieved. So that we can rotate between the 2 maps.

    ANYHELP would greatly be appreciated...
    Last edited by BlacKnight; Nov-22-2022 at 15:30.

  4. #4
    Manual Creation Group DerDa's Avatar
    Join Date
    Apr 2015
    Location
    Heidelberg
    Posts
    2,019
    Post Thanks / Like
    Total Downloaded
    280.96 MB

    Re: TWC Dogfight PvP

    Sorry, I don't understand PvP.

    If this is a dogfight server, why include Blennie and Heinkels (ok, ok I had a lot of fun using the Blennie as fighter, but not everybody is as crazy as me).
    Why no 109 E-4s (Blue will whine)
    And why add the DH Hurri, I don't think anybody ever used it (I'd prefer a Blenheim ...)

  5. #5
    Novice Pilot
    Join Date
    Aug 2020
    Posts
    64
    Post Thanks / Like
    Total Downloaded
    102.10 MB

    Re: TWC Dogfight PvP

    DerDa that was a copied list from a classic script...

    Yes, it is a Dogfight Server no bombers!

  6. #6
    Manual Creation Group Maru's Avatar
    Join Date
    May 2016
    Posts
    799
    Post Thanks / Like
    Total Downloaded
    213.59 MB

    Re: TWC Dogfight PvP

    Looks fun, PvP is what I enjoy the most, DerDa PvP stands for Player versus Player.
    Blacknight have you ever played the gun game mode? Would be nice to implement this in your TWC DogFight PvP Server.

    I explain in short, basically only the slowest and "worst" aircrafts are available at the lowest amount of points, getting more points grants you better aircrafts, or the opposite : )
    this will avoid pilots using the best top aircraft all the time which is boring because there won't be much diversity.

  7. #7
    Novice Pilot
    Join Date
    Aug 2020
    Posts
    64
    Post Thanks / Like
    Total Downloaded
    102.10 MB

    Re: TWC Dogfight PvP

    Maru,

    Sounds like fun could put a Map in the rotation with older birds as well, but still looking for a unique scoring and plane play set up. Server is active with missions in the TAB Menue if you join with friends, but once you get over 6 pilots then the missions deactivate.

    So RAF and LW can call in 4, 8, or 12 fighters and perfecting the fighter script with missions that load to improve the fighters and make them more human-like.

    Thanks hope this catches on.
    Last edited by BlacKnight; Nov-22-2022 at 15:34.

  8. #8
    Team Fusion Artist's Avatar
    Join Date
    Mar 2010
    Posts
    2,708
    Post Thanks / Like
    Total Downloaded
    319.55 MB

    Re: TWC Dogfight PvP

    Quote Originally Posted by BlacKnight View Post
    Need some help implementing a scoring script...

    ANYHELP would greatly be appreciated...
    The Sample Multiplayer Mission has a module "ServerStats" and if you look in CServerStats-v1.0.0-Mission.cs at method OnActorDead() it might give you ideas.

  9. Likes Sleepy_Fly liked this post
  10. #9
    Novice Pilot
    Join Date
    Aug 2020
    Posts
    64
    Post Thanks / Like
    Total Downloaded
    102.10 MB

    Re: TWC Dogfight PvP

    Ok, Time to test the Server Numbers- Looking for a complete overload this Saturday Nov.26th at 2pm Eastern USA.
    Penalty for leaving and death is set to 30sec for now with any suggestions on kick and ban script for leaving in flight????

    Scoring is good for planes shot down still working on code for OnAircraftLanded for sortie complete Kills X4 and then OnAircraftCrashLanded Kills X2 & OnParachuteLanded Kills X2.

    OnParachuteFailed -10pts

    Also under on 4 consecutive sorties a bonus of 100 team points.

    Bases will be extremely guarded.

    Val wanted a closer Air spawn at 10000 and I will put the back one at 15000 with six airfields to spawn from on each side.

    Code for scoring right now looks like this: Works

    Anyone with the skills to make what I listed work would be great: OnAircraftLanded, OnAircraftCrashLanded, OnParachuteLanded etc...

    public override void OnActorDead(int missionNumber, string shortName, AiActor actor, List<DamagerScore> damages)
    {
    base.OnActorDead(missionNumber, shortName, actor, damages);
    //////////////////Penalty

    if (actor is AiPerson)
    {
    if ((actor as AiPerson).Player() != null) // Player is Human
    {
    /* GamePlay.gpLogServer(null, "{0} - KIA", new object[] { (actor as AiPerson).Player() }); */
    PilotsInGame.AddDeathToPlayer((actor as AiPerson).Player());
    }
    }
    ///////////////////////////Points for destroyed units
    foreach (DamagerScore ds in damages)
    {
    int Addpoints = 0;
    int value;
    bool willReportDead = false;
    string TargetName = "";

    if (ds.initiator != null)
    {
    if (ds.initiator.Actor != null)
    {
    if (actor.Army() != ds.initiator.Actor.Army())
    {
    if (actor is AiPerson) break; // At moment Pilotkills are not counted

    if (actor is AiAircraft)
    {

    if (PointsforAirTargets.TryGetValue((actor as AiAircraft).Type().ToString(), out value)) // Erstetzt wegen Stukaproblem
    Addpoints = PointsforAirTargets[(actor as AiAircraft).Type().ToString()];

    TargetName = SplitName((actor as AiAircraft).InternalTypeName());

    value = 0;
    if (actor.Army() == ArmyRed)
    {
    BlueAirKills++;
    ScoreBlue += Addpoints;
    if (Addpoints <=0)
    {ScoreBlue += 3;}
    GamePlay.gpLogServer(null, "Britisch {0} destroyed - Team scores now: RAF {1}- LW {2}", new object[] { TargetName, ScoreRed, ScoreBlue });
    break;
    if (RAFAvailableAirplanes.TryGetValue((actor as AiAircraft).InternalTypeName(), out value))
    {
    RAFAvailableAirplanes[(actor as AiAircraft).InternalTypeName()] = value - 1;
    TargetName += " (" + RAFAvailableAirplanes[(actor as AiAircraft).InternalTypeName()].ToString() + " available)"; // Shows Counter for Planetype
    }
    }

    else if (actor.Army() == ArmyBlue)
    {
    RedAirKills++;
    ScoreRed += Addpoints;
    if (Addpoints <=0)
    {ScoreRed += 3;}
    GamePlay.gpLogServer(null, "German {0} destroyed - Team scores now: RAF {1}- LW {2}", new object[] { TargetName, ScoreRed, ScoreBlue });
    break;
    if (LWAvailableAirplanes.TryGetValue((actor as AiAircraft).InternalTypeName(), out value))
    {
    LWAvailableAirplanes[(actor as AiAircraft).InternalTypeName()] = value - 1;
    TargetName += " (" + LWAvailableAirplanes[(actor as AiAircraft).InternalTypeName()].ToString() + " available)"; // Shows Counter for Planetype
    }

    }
    }
    }
    }
    }
    }
    }
    Last edited by BlacKnight; Nov-25-2022 at 09:05.

  11. #10
    Novice Pilot
    Join Date
    Aug 2020
    Posts
    64
    Post Thanks / Like
    Total Downloaded
    102.10 MB

    Re: TWC Dogfight PvP

    Another Battle with VAL_Tmn before recording he tried to turn fight slow and those kills where not recorded. After recording Val did a great job in holding his alt and E and schooled me got a few great shots in but I would say we finished even...
    https://www.youtube.com/watch?v=Yr-obUIziNE

    Really hoping we get great numbers on tomorrow when you die and bail should be ok but if you end up with a death penalty go back to a base till the thirty secs ticks down then come back in at airspwan...

  12. #11
    Novice Pilot
    Join Date
    Aug 2020
    Posts
    64
    Post Thanks / Like
    Total Downloaded
    102.10 MB

    Re: TWC Dogfight PvP

    Finishing Tobruk Dogfight Server for the rotation...

  13. #12
    Novice Pilot
    Join Date
    Aug 2020
    Posts
    64
    Post Thanks / Like
    Total Downloaded
    102.10 MB

    Re: TWC Dogfight PvP

    Event Today Nov 26th at 3 pm Eastern USA. Hope to get a large number on to test the server output. Just a Dogfight Mid Channel bases set at 10 and 15000 ft for airspawn, still working on scoring for sorties calc. Anyway been fun fighting those that want to just turn and burn.

    BlacKnight

  14. Likes Sleepy_Fly, ATAG_Snapper, OBT~Mikmak liked this post
  15. #13
    Supporting Member
    Join Date
    Oct 2020
    Posts
    116
    Post Thanks / Like
    Total Downloaded
    175.79 MB

    Re: TWC Dogfight PvP

    Quote Originally Posted by BlacKnight View Post
    Event Today Nov 26th at 3 pm Eastern USA.
    What's the GMT time ?
    "You can teach monkeys to fly better than that!"

    Win 11 Pro - I5-12600KF - 32GB Ram - RTX 3080 TI 12GB (non OC) - SSD Sata 970 GBB (System) - NVMe 980 GB (games storage) - Lenovo 27'' 144Hz - HP Reverb G2 v2 -
    WMR environment : Empty room (SkySpaces) - SteamVR resolution : 2192x2144 (48%)
    nVidia driver : 526.47

  16. #14
    Ace Bonditaria's Avatar
    Join Date
    Oct 2015
    Location
    Rotterdam
    Posts
    1,057
    Post Thanks / Like
    Total Downloaded
    2.55 GB

    Re: TWC Dogfight PvP

    Quote Originally Posted by Sleepy_Fly View Post
    What's the GMT time ?

    Fractal Design Define R5, Corsair AX 760W, Corsair Hydro H110, Asus X99-DELUXE, Intel Core i7-5820K, Corsair Vengeance 16GB, MSI GeForce GTX 970, Samsung 850 EVO 250GB, Western Digital Black 2TB, Win 10 Home 64-bit, VPC MongoosT-50 Throttle, VKB Gladiator Pro, MFG Crosswind, Wheel Stand Pro, Track-IR 5, Logitech G933, Eizo ColorEdge CS240

  17. Likes Sleepy_Fly, BlacKnight liked this post
  18. #15
    Novice Pilot
    Join Date
    Aug 2020
    Posts
    64
    Post Thanks / Like
    Total Downloaded
    102.10 MB

    Re: TWC Dogfight PvP

    OK, Map Rotation is in and if their are any other changes I need to make in plane set let me know. Should be smooth!

    Also Map is set up for three teammates to come in call a group of four planes and get into a fight, once that hits four missions can not be loaded. The AI is a personal set each plane has a personal flight characteristics.

    Last the rotation will be up constant now and I will add a group of 6 and then 12: so you three can get into a right bloody fight!

    Anyway

    I am going to let this run through the weekend and see how it goes.

    Working on Victory for number of Kills and should we throw in Model and type plane count....

    Last will be a stats page!!!! Could use some help setting this up lol!

  19. Likes ATAG_Bubba liked this post
  20. #16
    Novice Pilot
    Join Date
    Aug 2020
    Posts
    64
    Post Thanks / Like
    Total Downloaded
    102.10 MB

    Re: TWC Dogfight PvP

    Curious as to the max speed: under socket in the server.

    We are sert to lan but the socket is forcing us back down to 10000...

    udp maxChannels: 255 maxSpeed: 10000 bytes/sec
    steam maxChannels: 255 maxSpeed: 10000 bytes/sec

    Just curious why it is not LAN Setting-

    BlacKnight

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •