Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-28-2011, 05:02 PM
stillborn stillborn is offline
Approved Member
 
Join Date: Sep 2010
Posts: 21
Default Tasks & Stats in continuous online campaign

Here is an online mission which records and/or uploads 768 different events in game. I hope this helps making our online play more fun.

About Mission:

There are 4 ai controlled frontlines in which ships and armors try to reach the enemy's base in the same path, base defenses and 2 bomber missions in which Wellingtons and He111s bomb an area between enemy airfields. These continuous missions are inside script and loaded into ram at battle start to reduce loading times.

About Gameplay
  • Each side has two airfields and the aircrafts users can spawn are below:
    For Air Tasks
    ------[Red] SpitfireMkIa, SpitfireMkI, HurricaneMkI
    ------[Blue] Bf-109E-1, Bf-109E-3, G50
    For Ground Tasks
    ------[Red] BlenheimMkIV, HurricaneMkI
    ------[Blue] Ju-88A-1, Aircraft.BR-20M, Bf-109E-1
    For Naval Tasks
    ------[Red] BlenheimMkIV
    ------[Blue] Ju-88A-1
    also selectable bombs are limited for a balanced play
  • To complete a task you need to at least damage an internal part or cut a limb of an actor of your task type
  • Bombers spawn approximately 10km behind your base, travel all the map, bomb their target and return back to where they started, after that they turn in a circle a few times and disappear, you should consider this if you are heading to a bomber behind enemy lines and outside the map. Unfortunately they are too dumb to land and removing them by damaging leads to unfair stat collection so do not engage bombers outside the map.

Everything is written from ground up according to the examples from devs. I have included a balance system based on red75prime from sukhoi.ru's balance code which is modified not to use dictionary for performance and to be compatible with stat collection. For max performance stats processing is done asynchronously in a seperate single thread which sleeps automatically when there's nothing to be done.If you experience lags try lowering stbSr_Worker thread priority in line 140 and/or increasing queue length in line 99.

Files must be in the "missions/multi/dogfight/StbVolcanicIslands2/" folder to work. Stats are read back by default (optional) every time server/battle is restarted so collecting dta for a week or month is possible. Different stats like "tasks completed per place enters" or "ace of the week/month" can be variated.

More details about campaign can be found in attachment pics and readme.txt, i have also included the visual studio solution in zip so you can benefit from its syntax correction, dont forget to update reference paths of core.dll, gameworld.dll and part.dll in solution explorer's reference folder if you plan to use visual studio solution.

All my methods and variables have stb prefix so you can integrate your own code without any worries. You can even integrate the script to another map directly by just setting "all the boolean variables except the ones related to stat collection&balance" to false at the "customizable variables region".


Latest version (1.1) is here
Attached Images
File Type: jpg CustomizableVariables.jpg (237.4 KB, 91 views)
File Type: jpg StatsSampleHTML.jpg (92.2 KB, 76 views)
File Type: jpg StatsSampleTXT.jpg (200.0 KB, 79 views)
File Type: jpg MissionInfo.jpg (716.9 KB, 101 views)
Attached Files
File Type: zip StbVolcanicIslands2.zip (35.8 KB, 63 views)

Last edited by stillborn; 08-09-2011 at 04:13 PM.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.