![]() |
|
IL-2 Sturmovik: Cliffs of Dover Latest instalment in the acclaimed IL-2 Sturmovik series from award-winning developer Maddox Games. |
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
Pardon my ignorance in all things C# or perhaps for stating something that has already been tried but if you have a script that destroys aircraft can't you use a sleep command to pause execution? e.g.
Thread.Sleep(6000); I'm not a software developer and get by with most of my server scripts written in 'lowly' bash ![]() A minutes delay to allow the pilot-less plane to crash and burn would be cool though and would clean up the server too. |
#2
|
|||
|
|||
![]()
At both Repka servers we run a script that first disables AI engine, fuel pump and controls and destroys the aircraft only in 5 minutes when it is already down. Game engine also removes these damaged aircraft from an airfield very quickly if a player exits an aircraft at an airfield before takeoff.
http://forum.1cpublishing.eu/showthr...=21518&page=10 Last edited by Ataros; 05-11-2011 at 12:16 PM. |
#3
|
|||
|
|||
![]()
Yeah, we've tried that. The scripts seem to behave differently on different beta patches. Sometimes they work, sometimes they don't work at all. Tried all sorts of delays, but with the patch we are running right now (the most stable for the server) they simply don't work right. Ataros has been building up quite an impressive list of scripts in the MP thread, they just don't seem to work in the build we are using right now.
|
#4
|
||||
|
||||
![]() Quote:
1) You make assumption that it will crash. ![]() 2) Plane can be abandoned not only by disconnecting, but by choosing other plane too. Putting timer on plane on the ground, can lead to situation in which 20 planes are sitting in the base and waiting for removal. And no, checking if it is in the air, does not work correctly now. |
![]() |
Thread Tools | |
Display Modes | |
|
|