#1
|
|||
|
|||
Very stupid questions for those in the know
For MP, is there a script I can use that deletes damaged static objects over a certain amount of time? (say a AAA that was destroyed, static plane, truck etc.)
In the FMB, what does the NPC checkbox mean and the number you can assign to it? What does the in game scripts do under AI for emergency car, bus, anti air, (I understand what power on does, but don't fully understand all the rest)? I've tested and tested and I've finally come to the conclusion that I just flat out need to ask questions lol Thanks in advance! |
#2
|
|||
|
|||
If you create NPC units with car script you can assign a spline road to them as a target. The script will make them travel along this road back and forth.
Other scripts may be similar but some are rudimentary. There is a thread in this section regarding units removal with script examples. (search for destroy actor or actor destroy). Repka1 mission with one example can be found in Multiplayer section in the MP Missions thread. |
#3
|
|||
|
|||
Thanks Ataros!
I'll have a gander, but this is like trying to learn a new language |
#4
|
|||
|
|||
Not entirely sure on this, but i think the anti-air script is used when you have directed flak guns. For example, you set an 88mm and an acoustic locator. You link the locator to the gun (i think it's the "set target" command) and then add the AA script and give it a sufficient radius so that it includes these objects.
I'm not exactly familiar with it, i simply tried it on a sample FMB mission a few weeks ago where i had a few blenheims attacking an airbase, so i can't be completely sure. In fact, i think i even forgot to link the locator to my guns, so maybe it works on non-directed guns too. For what it's worth, it seemed to me as if the flak was much closer to the Blenheims than what i've seen when flying online, in fact the smaller caliber guns were bracketing the bomber formation pretty well with fully automatic fire. As for the emergency car, maybe it's an ambulance? Set up a suitable ground unit on the airfield, place the emergency car script on the center of the airfield and give it a sufficient radius. Then try landing/crash-landing in a damaged aircraft and see if he comes towards you. This reminds me of the old red baron II, whenever i would land with a damaged aircraft a small ambulance came rushing to me. I haven't tried this, but it's worth a shot |
#5
|
|||
|
|||
That gives me visions of soldiers in jeeps rushing up to an enemy aircraft when they crash land behind enemy territory
|
#6
|
|||
|
|||
R1 mission with actor destroy script is here http://forum.1cpublishing.eu/showpos...5&postcount=44
The thread on actor destruction might be also located in the MP section. IIRC the author is TheEnlightenedFlorist or adonys or someone else fluent in C#. |
#7
|
|||
|
|||
Thanks fellas!
I'm going to do some testing and see what happens |
|
|