Jump to content

Recommended Posts

Posted

I am struggling to force players to take the objectives on my server and I would like to give a lot of points to those that do so.
When a player captures a flag, I would like to give him, let's say +100 points. 
It seems I cannot do that for in game stats unless I am missing something, but I can maybe do it for the il2_stats by =FB=Vaal  based on missionReport logs.

Is there a way to detect this?

I have maybe an  ugly idea, but if you come up with something more direct I buy! 
Ugly idea: destroy a dummy vehicle when the flag is taken (this should be registered in the logs), then force the player to finish his mission (this should be registered as well), check if the position of player is whithin the radius of the flag and then add the points to his stats...but it is ugly to force the player to finish the mission...

Posted

hmm even the ugly solution is not working: I do not get the player positions when he hits "finish mission" (T:11058 AType:4 PLID:8193 PID:9217 BUL:0 SH:0 BOMB:0 RCT:0 (0.0000,0.0000,0.0000)).
I could damage the player with the explosion of the fakevehicle ...

 

Posted

let a target (vehicle) with an unique name  spawn close to the player, so he can destroy it

after he destroyed it he gets the additional points

 

Deci

 

  • Thanks 1
Posted

Yes, this would work and unless I am missing something I think it is actually the only way...which is a bit a pity. Not so much information gets logged it seems...

Knowing if a flag is captured and by who, who triggers some checkzones or complex triggers, where some events happen etc. would be nice to interact with the mission from the outside.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...