- Messages
- 91
- Country
Hey all,
I have been trying to use the CREATEAGNLIBOBJ and CREATEXMLLIBOBJ commands for Point shapes. Scenproc makes the AGN files. However, I am having no luck in getting them to show in FSX. The only one I can get to work is for type=hotels that uses the GUID (Urban Buildings Large Modern 65x35 ). All the others are no shows. I was under the impression that all objects could be used in scenproc? On the other hand, I have also tried to load these objects using the Autogen Annotation tool and they dont appear there either. I am aware that some GUIDs can only be used for either XML or OBJ, but im not sure which GUIDS I can use and which I cant. The ones on lc0277.gratsim.fr/sceneobjects are for XML format right? Any help here would be much appreciated. Here is my code
#
SPLITGRID|AGN|FROMFILE=buildings.shp
SETAGNBUILDINGHEIGHT|*|0,8;0,3;0,1;0,0
# points along a highway. 120;150 is the distance between each light, 5 and 7 are from centre of road
PLACEPOINTSALONGLINE|highway=secondary|120;150|5;7|OBJECT|LIGHT|HDG
# NATURAL.SHP
#CREATEAGNPOLYVEG|FTYPE=POLYGON;type=forest|{2ce948be-5b15-4fa2-8d2e-4b2939cd18a5}
#CREATEAGNPOLYVEG|FTYPE=POLYGON;type=park|{2ce948be-5b15-4fa2-8d2e-4b2939cd18a5}
#CREATEAGNPOLYVEG|FTYPE=POLYGON;type=riverbank|{acd89c1c-2a87-4168-8cb6-a1ca8e2859ac}
# LANDUSE.SHP
CREATEAGNPOLYVEG|FTYPE=POLYGON;type=cemetery|{2fde0277-1697-4dab-b481-c3985c80596f}
CREATEAGNPOLYVEG|FTYPE=POLYGON;type=farmland|{64ba39c2-0701-44aa-96b4-cb1a17177480}
CREATEAGNPOLYVEG|FTYPE=POLYGON;type=orchard|{4E67E187-5D51-420C-83DC-F2DBDE9E0518}
CREATEAGNPOLYVEG|FTYPE=POLYGON;type=grass|{08eebf57-0dd8-4e73-b8ba-d491000ea4ce}
#CREATEAGNGENBUILD|FTYPE=POLYGON;type=residential|{311de8c7-e596-4e28-a94d-da09d0252ce4}
# BUILDING.SHP , FNUMVERT is the no of vertices
#CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=buildings.shp;FWIDTH<20|{ac80451e-af91-42af-945a-4ee53e70eaf7}|MAXRATIO=2
#CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=buildings.shp;FWIDTH>20|{311de8c7-e596-4e28-a94d-da09d0252ce4}|MAXRATIO=1
CREATEAGNLIBOBJ|FTYPE=POINT;type=mall|{b46c5fbe-4963-52ea-78b8-548c4a4ebfda}|HDG|0|100;50
CREATEAGNLIBOBJ|FTYPE=POINT;type=cinema|{b3cdc75d-4696-8e08-2637-cdbbebbeb5f0}|HDG|10|50;50
CREATEAGNLIBOBJ|FTYPE=POINT;type=fuel|{2a2281a9-4d49-c558-6ca8-2297ad034d9e}|HDG|0|10;10
CREATEXMLLIBOBJ|FTYPE=POINT;type=hospital|{B5187AC3-8AA4-4A73-A06C-67DCBDD64060}|HDG|0|NOAUTOGENSUPPRESSION
CREATEAGNLIBOBJ|FTYPE=POINT;type=hostel|{3f7df9f6-11e0-0e99-3000-6bb2d8103067}|HDG|10|5;5
CREATEAGNLIBOBJ|FTYPE=POINT;type=hotel|{47d63f58-43ae-7906-42bb-2f9be3d8fbe5}|HDG|10|20;10
CREATEAGNLIBOBJ|FTYPE=POINT;type=parking|{1434bb2c-43d7-7030-b4e7-70af2b18033c}|HDG|10|10;10
#CREATEAGNLIBOBJ|FTYPE=POINT;type=place_of_worship|{7af89112-4447-afdb-6f95-699a3254e7a2}|HDG|0|6;6
CREATEXMLLIBOBJ|FTYPE=POINT;type=place_of_worship|{7af89112-4447-afdb-6f95-699a3254e7a2}|HDG|00|NOAUTOGENSUPPRESSION
EXPORTAGN|FSX|D:\FSX\Scenery\Countries\Bahrain\texture
I have been trying to use the CREATEAGNLIBOBJ and CREATEXMLLIBOBJ commands for Point shapes. Scenproc makes the AGN files. However, I am having no luck in getting them to show in FSX. The only one I can get to work is for type=hotels that uses the GUID (Urban Buildings Large Modern 65x35 ). All the others are no shows. I was under the impression that all objects could be used in scenproc? On the other hand, I have also tried to load these objects using the Autogen Annotation tool and they dont appear there either. I am aware that some GUIDs can only be used for either XML or OBJ, but im not sure which GUIDS I can use and which I cant. The ones on lc0277.gratsim.fr/sceneobjects are for XML format right? Any help here would be much appreciated. Here is my code
#
SPLITGRID|AGN|FROMFILE=buildings.shp
SETAGNBUILDINGHEIGHT|*|0,8;0,3;0,1;0,0
# points along a highway. 120;150 is the distance between each light, 5 and 7 are from centre of road
PLACEPOINTSALONGLINE|highway=secondary|120;150|5;7|OBJECT|LIGHT|HDG
# NATURAL.SHP
#CREATEAGNPOLYVEG|FTYPE=POLYGON;type=forest|{2ce948be-5b15-4fa2-8d2e-4b2939cd18a5}
#CREATEAGNPOLYVEG|FTYPE=POLYGON;type=park|{2ce948be-5b15-4fa2-8d2e-4b2939cd18a5}
#CREATEAGNPOLYVEG|FTYPE=POLYGON;type=riverbank|{acd89c1c-2a87-4168-8cb6-a1ca8e2859ac}
# LANDUSE.SHP
CREATEAGNPOLYVEG|FTYPE=POLYGON;type=cemetery|{2fde0277-1697-4dab-b481-c3985c80596f}
CREATEAGNPOLYVEG|FTYPE=POLYGON;type=farmland|{64ba39c2-0701-44aa-96b4-cb1a17177480}
CREATEAGNPOLYVEG|FTYPE=POLYGON;type=orchard|{4E67E187-5D51-420C-83DC-F2DBDE9E0518}
CREATEAGNPOLYVEG|FTYPE=POLYGON;type=grass|{08eebf57-0dd8-4e73-b8ba-d491000ea4ce}
#CREATEAGNGENBUILD|FTYPE=POLYGON;type=residential|{311de8c7-e596-4e28-a94d-da09d0252ce4}
# BUILDING.SHP , FNUMVERT is the no of vertices
#CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=buildings.shp;FWIDTH<20|{ac80451e-af91-42af-945a-4ee53e70eaf7}|MAXRATIO=2
#CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=buildings.shp;FWIDTH>20|{311de8c7-e596-4e28-a94d-da09d0252ce4}|MAXRATIO=1
CREATEAGNLIBOBJ|FTYPE=POINT;type=mall|{b46c5fbe-4963-52ea-78b8-548c4a4ebfda}|HDG|0|100;50
CREATEAGNLIBOBJ|FTYPE=POINT;type=cinema|{b3cdc75d-4696-8e08-2637-cdbbebbeb5f0}|HDG|10|50;50
CREATEAGNLIBOBJ|FTYPE=POINT;type=fuel|{2a2281a9-4d49-c558-6ca8-2297ad034d9e}|HDG|0|10;10
CREATEXMLLIBOBJ|FTYPE=POINT;type=hospital|{B5187AC3-8AA4-4A73-A06C-67DCBDD64060}|HDG|0|NOAUTOGENSUPPRESSION
CREATEAGNLIBOBJ|FTYPE=POINT;type=hostel|{3f7df9f6-11e0-0e99-3000-6bb2d8103067}|HDG|10|5;5
CREATEAGNLIBOBJ|FTYPE=POINT;type=hotel|{47d63f58-43ae-7906-42bb-2f9be3d8fbe5}|HDG|10|20;10
CREATEAGNLIBOBJ|FTYPE=POINT;type=parking|{1434bb2c-43d7-7030-b4e7-70af2b18033c}|HDG|10|10;10
#CREATEAGNLIBOBJ|FTYPE=POINT;type=place_of_worship|{7af89112-4447-afdb-6f95-699a3254e7a2}|HDG|0|6;6
CREATEXMLLIBOBJ|FTYPE=POINT;type=place_of_worship|{7af89112-4447-afdb-6f95-699a3254e7a2}|HDG|00|NOAUTOGENSUPPRESSION
EXPORTAGN|FSX|D:\FSX\Scenery\Countries\Bahrain\texture