I had success placing Fsx Simobjects with Simconnect AICreateSimulatedObject.
But when calling them by Guid following this thread:http://www.fsdeveloper.com/forum/showthread.php?t=4414 i have no results.
Replay
First I open a new folder in Simobjects sub folder GroundVehicles : let's say My_New_truck with a sim.cfg .
In this folder I open two empty folders (Model and Texture)
Then I copied and pasted in the sim.cfg
[fltsim.0]
title=SceneContainer VEH_Air_PickupUS_Blue
model=
texture=
visual_model_guid={AAC710F6-68FB-4E7B-BF1D-458843B34C56}
ui_type=SceneryObject
[General]
category=SimpleObject
[contact_points]
destroy_on_impact=0
Then i call AICreateSimulatedObject(My_New_truck etc.....).
Well, no way to see it , always getting exception 22.
I tried several ways ( and others object and their GUID)changing the title category, ui_type and so on and naturally when directly calling VEH_Air_PickupUS_Blue... it appears!
Dont know where i'm wrong ( and i'm wrong i know
).
Thanks in advance.
Rob
P.s. working with Acceleration Pack and SDK
But when calling them by Guid following this thread:http://www.fsdeveloper.com/forum/showthread.php?t=4414 i have no results.
Replay
First I open a new folder in Simobjects sub folder GroundVehicles : let's say My_New_truck with a sim.cfg .
In this folder I open two empty folders (Model and Texture)
Then I copied and pasted in the sim.cfg
[fltsim.0]
title=SceneContainer VEH_Air_PickupUS_Blue
model=
texture=
visual_model_guid={AAC710F6-68FB-4E7B-BF1D-458843B34C56}
ui_type=SceneryObject
[General]
category=SimpleObject
[contact_points]
destroy_on_impact=0
Then i call AICreateSimulatedObject(My_New_truck etc.....).
Well, no way to see it , always getting exception 22.
I tried several ways ( and others object and their GUID)changing the title category, ui_type and so on and naturally when directly calling VEH_Air_PickupUS_Blue... it appears!
Dont know where i'm wrong ( and i'm wrong i know
Thanks in advance.
Rob
P.s. working with Acceleration Pack and SDK
