Archived

This topic is now archived and is closed to further replies.

GSalden

Need help with repositioning objects

Recommended Posts

Hi all,As I wrote in my former thread I am working on Aerosofts Monastir to get it to work in FSX.The airport and surroundings have been finished and also the coastlines have been redone acdording to Google Earth.One issue I came across.I dissambled the bgl where all objects have been placed with their coordinates.Then I adjusted the header and coordinates of the object.After that I recompiled the file to a new bgl file.To my surprise is the objet still in it's wrong place.What could I have been done wrong here.Here what it is about :; sorted list of objects; N35:44:33.07 E010:52:10.22 Object # 165; N35:45:12.40 E010:44:06.37 Object # 3; N35:45:14.08 E010:44:16.00 Object # 2; N35:45:14.21 E010:44:15.93 Object # 106; N35:45:15.41 E010:44:17.93 Object # 4; N35:45:15.57 E010:44:18.09 Object # 17; N35:45:15.54 E010:44:18.10 Object # 35; N35:45:16.09 E010:44:23.94 Object # 24; N35:45:17.19 E010:44:25.03 Object # 19; N35:45:17.19 E010:44:25.16 Object # 36; N35:45:17.45 E010:44:51.52 Object # 108; N35:45:17.84 E010:44:52.80 Object # 109; N35:45:18.26 E010:44:18.62 Object # 42; N35:45:19.30 E010:44:37.15 Object # 25; N35:45:19.59 E010:44:35.08 Object # 5; N35:45:19.88 E010:44:33.01 Object # 111; N35:45:21.21 E010:44:28.11 Object # 110; N35:45:22.44 E010:44:46.86 Object # 37; N35:45:22.47 E010:44:46.94 Object # 20; N35:45:22.47 E010:44:50.61 Object # 26; N35:45:23.38 E010:44:43.94 Object # 43 I wanted to move object 20 , so I modified the coordinates.In the LIB bgl file I found out that Object 20 was the one I needed :; ----------------------------------------; Library Object #20, Offset 0x31EC56, size 467470 (= 0x20000); ----------------------------------------ObjID( 00000013 4D196F5C 9F4E6AA4 AEDE65DA )LibObj( PWR 100 SIZE 100 SCALE 0.500 TYPE 0 NAME "DTMB_FESTUNG" ) Jump32( :L31EC93 ):L31EC91; unreachable code, possibly data area Dbx( 22 00 ):L31EC93 BGLVersion( 0800 ) TextureList( 0 1 FF 255 255 255 0 8.41586 DTMB_FESTUNG1.BMP ; texture 0 0 FF 255 255 255 0 8.41586etc etc etc Help is appriciated.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi,You would have to update the position in the RefPoint and the Area commands in the piece of the SCASM file where they are actually placed. The piece of code you showed is the definition of the library object itself, not the placement.If it is a big move you might also have to adjust the coordinates in the Header and LatRange commands.

Share this post


Link to post
Share on other sites