Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-02-2011, 06:42 PM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default AI actors: airport.cpp, baseAntiAir.cpp, bus_car.cpp, car.cpp, emrg_car.cpp

Don't you just love the way that mission builders are kept in the dark (with no FMB documentation) & have to figure things out for themselves?

I have some question regarding the AI section in FMB. There are three types of AI: Airfield, AntiAir, Ground. To these you can apply six AI actors: airport.cpp, baseAntiAir.cpp, bus_car.cpp, car.cpp, emrg_car.cpp, powerOn.cpp .... Can anyone shed light on these *.cpp elements?

powerOn.cpp
I believe this is used for searchlights. I've put searchlight & generator within the poweron.cpp radius & "set" the searchlight to the AI control but no searchlights go on when enemy planes overhead at night-time.

car.cpp
I believe that car.cpp gets a vehicle to follow a sline road back & forwards indefinitely, but I can't seem to get it to do this. I've positioned a spline roadway within the car.cpp radius, placed a vehicle within the car.cpp radius, "set" the vehicle to the AI control, but no joy

Also, anyone know how to "attach" a trailer to a moving vehicle?
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE

Last edited by salmo; 10-02-2011 at 06:48 PM.
Reply With Quote
  #2  
Old 10-02-2011, 06:49 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

@power on
Do you have attach a Airfield AI also?

@car
do you select the spline with the target command (waypoint)
Reply With Quote
  #3  
Old 10-02-2011, 06:52 PM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

Quote:
Originally Posted by FG28_Kodiak View Post
@power on
Do you have attach a Airfield AI also?
Forgot to mention, I also have a baseAntiAir.cpp

Quote:
Originally Posted by FG28_Kodiak View Post
@car
do you select the spline with the target command (waypoint)
You can set the vehicle to the sline roadway, but the vehicle just travels down the roadway (one-way) & doesn't turn around & come back
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE

Last edited by salmo; 10-02-2011 at 06:55 PM.
Reply With Quote
  #4  
Old 10-02-2011, 06:57 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Quote:
Originally Posted by salmo View Post
Forgot to mention, I also have a baseAntiAir.cpp
No not this there must be a entry called AI, in the menu you select your planes, trains etc. Sorry have a german Version so i don't know exactly how this menues looks in other language versions. Make a Airfield Ai select the radius and connect the generators with this AI via target selection.
Quote:
Originally Posted by salmo View Post
The spline roadway cannot be set to the vehicle, FMB wants to set to the AI car.cpp control.
Yepp this is correct, set the actor to NPC and car.cpp then the car follow the Spline Road to its end and vice versa after you select a waypoint target.

Attachment sample searchlight mission
Attached Files
File Type: zip searclights_01.zip (749 Bytes, 71 views)

Last edited by FG28_Kodiak; 10-02-2011 at 07:04 PM.
Reply With Quote
  #5  
Old 10-02-2011, 07:15 PM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

OK, I see how the searchlights are setup. Can you supply a car.cpp example please?
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE
Reply With Quote
  #6  
Old 10-02-2011, 07:27 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

A mission i made with splineroads NPC with car.cpp
Attached Files
File Type: zip stuka.zip (15.3 KB, 53 views)
Reply With Quote
  #7  
Old 11-07-2011, 11:58 AM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

Has anyone figured out what the other cpp scripts do? airport.cpp, baseAntiAir.cpp, bus_car.cpp, car.cpp, emrg_car.cpp
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:56 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.