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
  #9  
Old 11-16-2011, 02:23 PM
wildwillie wildwillie is offline
Approved Member
 
Join Date: Aug 2010
Posts: 111
Default

Yes the OnActorDead method picks up Static objects. Here is the line I pass from Clod to my program which identifies the Dead Ground Actor:

Code:
( 11/15/2011 4:01:27 PM ) New (STATS): DeadGA::1321390887075::0:Static24::1::bob:Artillery.3_inch_20_CWT_QF_Mk_I::AAGun::0:Static34::2::272406.84/200908.39
The "::" divides the data parts so it passes:
Event Type (DeadGA)
TimeStamp (In unix format)
Object Destroyed Name (0:Static24)
Object Destroyed Army (1)
Object Destroyed Model (The InternalTypedName )
Object Destroyed Type (AAGUN)
Destroyer (Who killed the object 0:Static34)
Destroyer Army (2)
Location of destroyed object (x/y)

The same goes for Chiefs and Planes. It still needs to be updated with the damage score value.

Thanks for the input. I think I will populate the objects in a database with their total available score there. That way it would be easier for Server Managers to adjust scoring without having to adjust code.

I've only crash landed on land. If I kill myself while doing this then the OnActorDead method gets called after about a million OnAircraftDamaged methods !


WildWillie
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 07:31 PM.


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