Feature #19634

Civilian Casualties

Added by UGLY58 about 4 years ago. Updated about 4 years ago.

Status:Closed Start date:05/08/2011
Priority:Normal Due date:
Assignee:Spyder001 % Done:

100%

Category:-
Target version:-
Affected Version: Reproducible for you:

Description

Any chance you could add side of kill to these stats.

We play a lot of scenarios where civilians are involved and recording civcas would be great

History

Updated by Spyder001 about 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Spyder001

Scripting wise probably really easy to implement. I would just add some special event handlers to the civ AI. I'll get it in this week. I really need some testers so that I can ensure nothing breaks when the system is being abused.

Updated by UGLY58 about 4 years ago

Let me know, I run three active servers. Be glad to do some testing.

Updated by Spyder001 about 4 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Okay added this in there. For later reference just add this to the AI/players who you want count as civilian non-combatants

this setVariable ["SPY_bStats_civCas", true, true]; this addEventHandler ["Killed", "_null = [_this select 0, _this select 1] spawn SPY_reviewKill"];

Thanks that would be great. I just need people to find ways to break bStats and record how to replicate the event so I can then fix it. We are discussing when a good time will be for the test and then we will post the announcement in our forums (www.jdam-hq.net/phpbb3).

Updated by UGLY58 about 4 years ago

Spyder,

Awesome thanks,

I am wondering if there is a way to add that onto ALICE generated civilians, maybe into the module init itself ?

Look forward to start testing, registering on the forums.

Updated by Spyder001 about 4 years ago

Not sure how the BIS modules work. If I am not mistaken ALICE dynamically creates civilians. I'm going to improve the civcas concept a bit. I want to make sure players will not get a civcas if the guy had a RPG in his hand.

Yeah can't wait to iron out bStats and release it.

Updated by DarkWanderer about 4 years ago

I am wondering if there is a way to add that onto ALICE generated civilians, maybe into the module init itself ?

There's a parameter called ALICE_civilianinit in the ALICE module:
http://community.bistudio.com/wiki/ALICE#Set_variables_to_BIS_alice_mainscope_with_desired_values
One could use it for the task.

Updated by Spyder001 about 4 years ago

Thanks for the info!

Updated by Spyder001 about 4 years ago

  • Status changed from Resolved to Closed

Will open a new ticket when the time to optimize CIVCAS arises

Also available in: Atom PDF