#21
|
||||
|
||||
Quote:
After a ''perfect'' wheels up landing they send me winch, fuel, ammo and bombs (spend previous load before landing)! Ambulance is not need. Sokol1 |
#22
|
|||
|
|||
Quote:
Code:
if (!CurTechCars.Contains(TmpCar)) CurTechCars.Add(TmpCar); MissionLoading = false; Another way to do this would be an 'if (CurTechCars.count < MAX_CARS) in before the CurTechCars.Add(TmpCar) Hopefully that's a few clues, as I'm away from a computer (typing this on a pad) |
#23
|
|||
|
|||
Mington, thanks for your detailed advice, and you too Sokol1 for your response. No grandmothers and eggs rule applied here, Ming. On the contrary I’m very happy with your suggestions, pleased as Punch as people say. Put them already into practice and all went very well now! What a terrific script this Naryv script, and what a fantastic game this Cliffs of Dover!
|
#24
|
|||
|
|||
It is not possible in the game yet and not planned yet. Ask the devs to include it if it is really needed (in appropriate threads). Their argument is that R&R takes at least 30 minutes and no one would really want to waste that much time neither offline nor online.
|
#25
|
|||
|
|||
Quote:
|
#26
|
|||
|
|||
Quote:
BTW can you make the new aircraft to spawn at exactly the same position heading the same direction as the old one? If yes, the change would be hardly noticeable for a player. |
#27
|
|||
|
|||
Quote:
Anyone else dealt with a rotation angle? |
#28
|
|||
|
|||
I demand fully-automated working traffic lights in London town and fleets of Routemasters. Civilization: Cliffs of Dover
Next Week's Demand Or The Kitten Gets It: a flocking algorithm for Heinkels Ming |
#29
|
|||
|
|||
Quote:
I managed to modify the script to only work on player planes by adding a condition to ignore AI planes - using !isAiControlledPlane(aircraft) It's working for player planes only now quite nicely. I'd like to have a go at adding in some code to rearm/refuel/repair. Off the top of my head, it could probably work by automatically setting fuel etc to 1 when the relevant truck completes it's last waypoint. Or when it completes it's last waypoint, then it activates the Mission menu for the player to select the appropriate emergency service. I'm not sure if these solutions would be possible as I don't know many of the scripting commands. How can you see the API? Do you have to run kegetys -dump command or is there a different way to look at the API (in the COD folder somewhere maybe)? EDIT: I suspect it's in the maddox.dll.... Last edited by Das Attorney; 09-16-2011 at 12:31 AM. |
#30
|
|||
|
|||
The API is written using Microsoft .Net libraries, so you can examine them in things like Visual Studio (there is a free edition called Express). The 'object browser' shows the signatures and symbols of the files like game.world.dll that you reference in your project.
|
|
|