![]() |
I was just looking at the .mis files in notepad...
Example Code:
[PARTS] Also looks like we can edit aircraft here much "easier"... if you know what your doing! :D NOTE - not at home to test it myself lol Ross |
Quote:
|
Argh german language:
Das bomber! -> (singular) Der Bomber! (plural) Die Bomber! Das jager! -> (singular) Der Jäger! (plural) Die Jäger! Next time i fly a bombing raid over the translator. :grin: AircraftType could be: AmphibiousPlane BNZFighter Bomber DiveBomber Fighter Glider HeavyFighter JaBo SailPlane Scout Sturmovik TNBFighter TorpedoBomber Transport UNKNOWN So if you are in a Ju87 or Ju88 there should be Bomber or DiveBomber to Show that you are in a Bomber Code:
if ((aircraft.Type() == AircraftType.Bomber) || (aircraft.Type() == AircraftType.DiveBomber)) // if Bomber or Divebomber |
Quote:
|
Quote:
I think you can shut server down with .cmd file. |
Start mission... plays... End mission... Start mission again... etc etc
Well as you know we both start a mission through the script, but i want to know if we can stop it... as we had already discused :S
But as we dont know how to do this via scipt, i was woundering is we could do it through the .mis file... |
Yeah, I would like to know this as well. The way the MP missions are designed are amazing (with missions able to be loaded into missions etc.) but, for instance, lets say you want an ongoing war, how are you going to stop it from going into the night?
Or could you just load a mission and make the sun appear again out of nowhere, without missing a beat, while others are playing at the same time? More testing I guess :) |
I wish I were a part of the dev team and know all the answers :grin:
Meanwhile another script destroying abandoned planes from ru forums. Tell me what you think of it. Code:
using System; Quote:
Quote:
Quote a Dev: Quote:
My guess is you can switch server off, but you can not unload a mission as you can not unload life as it gives birth to smth :grin: This is not a game this is real life simulator. |
Problem with exploding fuel tanks could be that other players also get damaged.
|
Hi Guys, im having some fun with this scripting business and have finally got a script that works, however I could do with some help with the timing commands:
I know that 1800 ticks = 1 minute but im not entirely sure what these two number cause to happen. From my script file: if (Time.tickCounter() % 126000 == 18000) When this counts down a mission is launched but im unsure as to the significane of the two timings: does the 126000 give the time between each repeat operation of the operation? I have found the second number, 18000 in this case appears to set the time for the first operation. Is this correct? SO, if i want the operation (in this case a mission starts within themain mission and planes spawn) to repeat every 2 hours, but the first operation is 10 minutes after the main mission begins would this be correct? if (Time.tickCounter() % 216000 == 18000) Thanks! |
All times are GMT. The time now is 08:22 PM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.