Jump to content
Sign in to follow this  
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.


13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Share this post


Link to post
Share on other sites

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.


Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...