Forum Archives » Complete » IL-2 Sturmovik » Respawn Times
Topic Options
Hop to:
#2286029 - 08/16/07 11:32 AM Respawn Times
Oscar_352nd Offline
Member

Registered: 05/02/04
Loc: Montgomery, Alabama
I seem to have lost my crib sheet on setting Respawn times for objects. Once upon a time, Oleg gave us a code block for the mis files that would allow you to set these times. Does ANYBODY still have this information?

Thanks
_________________________
Oscar
352nd Virtual Fighter Group
Pentium XE 3.8 Dual Core-HyperThread
ATI X850XT PE
Touch-Buddy Addict


Top Bookmark and Share
#2286695 - 08/17/07 02:19 AM Re: Respawn Times [Re: Oscar_352nd]
Aviar Offline
Member

Registered: 06/12/00
Loc: Passaic County, NJ USA
For online dogfight missions (on a server) you may use the following functions:



1. To freeze daytime changes in the game, add TIMECONSTANT 1 into section [MAIN] of the MIS file.

*Example:

[MAIN]
MAP Kuban/load.ini
TIME 12.0
CloudType 2
CloudHeight 1300.0
army 1
playerNum 0
TIMECONSTANT 1 <-----Added Function
[NStationary]
2_Static ships.Ship$Tramp 1 184649.82 49110.10 675.00 0.0
3_Static ships.Ship$Tanker 1 184681.46 48986.47 495.00 0.0
4_Static ships.Ship$Tanker 1 184972.95 48790.90 485.00 0.0


2. Object respawn times for dogfight missions are set up in the [RespawnTime] section of the MIS file.

Available object categories are:

Bigship - (Category: Stationary Ships-Larger Ships)
Ship - (Category: Stationary Ships-Smaller Ships)
Aeroanchored - (Air Balloons)
Artillery - (Categories: Artillery, Stationary Armor)
Searchlight - (Searchlights)

The time is measured in seconds. Minimum allowed delay is 20 seconds and maximum is 1000000. 1800 seconds (30 minutes) is the default value.

*Example:

[RespawnTime]
Bigship 1800 <----30 minutes (default)
Ship 900 <----15 minutes
Aeroanchored 600 <----10 minutes
Artillery 300 <-----5 minutes
Searchlight 3600 <-----1 hour


**Example in actual MIS file:

[MAIN]
MAP Net3Summer/load.ini
TIME 12.0
CloudType 2
CloudHeight 1000.0
army 1
playerNum 0
[RespawnTime] <-----Added Section
Bigship 300 <-----Added Category\Value
Ship 300 <-----Added Category\Value

**This will respawn all ships in 5 minutes.
-------------------------------------------

***These added categories seem to erase if map is changed (edited) and saved! You will have to enter them again.

****The 'Artillery' respawn function does not work on Stationary Objects or Stationary Aircraft, but it does work on anything in the 'Stationary Armor' and 'Artillery' categories in the FMB. For instance, the ZSU-37 (stationary armor) will respawn using the 'Artillery' setting. Basically, anything that spawned earlier can have their respawn time changed.

Happy Flying!

Aviar
_________________________
Intel Core 2 Duo E6700
Asus P5N32-SLI SE Deluxe
2GB DDR2-800 PC6400 Dual
nVidia 7900GTX 512MB
Creative X-Fi
Logitech X-530 5.1 Speakers
Logitech G15 Keyboard
CH FighterStick-Pro Throttle-Pro Pedals
TM Tacticalboard
GoFlight GF-T8 Module


Top Bookmark and Share

#2286706 - 08/17/07 02:42 AM Re: Respawn Times [Re: Aviar]
Oscar_352nd Offline
Member

Registered: 05/02/04
Loc: Montgomery, Alabama
Thank You Aviar - exactly what I was looking for!
_________________________
Oscar
352nd Virtual Fighter Group
Pentium XE 3.8 Dual Core-HyperThread
ATI X850XT PE
Touch-Buddy Addict

Top Bookmark and Share



Forum Use Agreement | Privacy Statement | SimHQ Staff
Copyright 1997-2012, SimHQ Inc. All Rights Reserved.