United Kingdom + Ireland: Fall 2016 [November 5th and 6th]

May 5th and 6th, 2018
User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: United Kingdom + Ireland: Fall 2016 [November 5th and 6th]

Postby IAHM-COL » Mon Sep 05, 2016 4:49 pm

In your scenery directory, look for the file indicated here

Code: Select all

<stg-path type="string">w010n50/w003n53/2909138.stg</stg-path>


Actually, it will be

Code: Select all

Scenery_Path/Objects/w010n50/w003n53/2909138.stg


There you can modify by adding the new objects, as shown in your xml:

like

Code: Select all

<object-line type="string">OBJECT_SHARED Models/aaa/ohmygosh.ac -2.27290487 53.36190439 74.7391 89.6 0.0 -0.0</object-line>


means to add this line to your file

Code: Select all

OBJECT_SHARED Models/aaa/ohmygosh.ac -2.27290487 53.36190439 74.7391 89.6 0.0 -0.0

(Note I removed the xml tags)

After you add each line, then save the stg file.

That will permanently store those configs for you. Try closing FG and reopening on the same airport again.
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?


oscar6662
Posts: 246
Joined: Thu Oct 22, 2015 4:49 pm

Re: United Kingdom + Ireland: Fall 2016 [November 5th and 6th]

Postby oscar6662 » Mon Sep 05, 2016 5:08 pm

I just discovered at the same time you posted hahahaha
[url]Image[/url]

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: United Kingdom + Ireland: Fall 2016 [November 5th and 6th]

Postby IAHM-COL » Mon Sep 05, 2016 5:10 pm

OK
but we are not done.

When you get the stg edited let me know. And let me know if this worked for you.


The next step. Chagin objects to STATIC is really important in custom scenerios.
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

oscar6662
Posts: 246
Joined: Thu Oct 22, 2015 4:49 pm

Re: United Kingdom + Ireland: Fall 2016 [November 5th and 6th]

Postby oscar6662 » Mon Sep 05, 2016 5:16 pm

OH okay, yes it worked. Static???
[url]Image[/url]

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: United Kingdom + Ireland: Fall 2016 [November 5th and 6th]

Postby IAHM-COL » Mon Sep 05, 2016 5:23 pm

good

Now. Let's correct the FG default (SHARED) into FG best (STATIC)

An static object is one that is unique to your scenery. A Shared object is that which has (or could have) multiple locations accross the globe.

Imagine : A generic lampost ==> SHARED
Imagine: the terminal building in Birmingham ==> STATIC

Now, you have your object as an ac. file with the texture .png and maybe other files associated to it (like an xml or others). on your previous posts , per example you have

Models/aaa/ohmygosh.ac

And the stg line looked like

Code: Select all

OBJECT_SHARED Models/aaa/ohmygosh.ac -2.27290487 53.36190439 74.7391 89.6 0.0 -0.0



Now, convert ohmygosh (funny name, but not very descriptive) object to static


Firstly, you will move/copy the files of ohmygosh object (all of them, the ac. the texture and others associated to it) directly into the Objects directory corresponding to your stg file. Basically the stg and the objects both reside in the same folder. As a general means.

that is:

move the object files (the ac, the texture, etc, into)

Code: Select all

Scenery_Path/Objects/w010n50/w003n53


The same directory where the correspoding stg is

Code: Select all

Scenery_Path/Objects/w010n50/w003n53/2909138.stg



Secondly, change the STG line from :

Code: Select all

OBJECT_SHARED Models/aaa/ohmygosh.ac -2.27290487 53.36190439 74.7391 89.6 0.0 -0.0



To

Code: Select all

OBJECT_STATIC ohmygosh.ac -2.27290487 53.36190439 74.7391 89.6 0.0 -0.0


Test that it works in FG again :D
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

oscar6662
Posts: 246
Joined: Thu Oct 22, 2015 4:49 pm

Re: United Kingdom + Ireland: Fall 2016 [November 5th and 6th]

Postby oscar6662 » Mon Sep 05, 2016 5:34 pm

perfect works 100% thanks a lot.

Now comes the part of roads. How hell do I put roads in FG. I know its with OSM2CITY but please redirect me to a tutorial or something because the wiki is(inmasticable e incomprensible)
[url]Image[/url]

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: United Kingdom + Ireland: Fall 2016 [November 5th and 6th]

Postby IAHM-COL » Mon Sep 05, 2016 5:36 pm

Share your objects and configuration of shared models for other users

Option 1: Do the zip


The easy way is to provide a zip file with the content of the Corresponding Objects directory, containing the stg added/modified lines and the static objects all together.
(do not forget to add a license information before ever sharing a zip file. and add an AUTHORS file to it)

If you share a zip file with the content of the Objects directory, and the new objects are static, or the shared models already exists as shared models in FG, then others can get your mods.

example
Zip

Code: Select all

Scenery_Path/Objects/w010n50/w003n53

and share that.

Option 2: Create an scenery repository.

An scenery repository is a great way to share your progress and allow others to join you in the way

see these for good practice examples:

https://github.com/FGMEMBERS-SCENERY
These repositories contain Terrain, Objects, and/or Objects scenery subfolders for a give path for FG, and work like easy to install patches.

Share in terraGIT

Adding new models and locations to terraGIT is way easy. Just fork the correspoding tile, and add any of your changes to the "Objects" branch. Then send a pull request.

https://github.com/FGMEMBERS-TERRAGIT/w010n50/tree/Objects

Note: need some git knowledge, but we'll be happy to help.

Request upload to terrasync

This method requires you to upload the ac file, the png file an an optional xml file into the webform. Then indicate the location and heading.
Do this per every static object. (Shared objects, that already exist in FG, you can fill a shared form with the STG lines)

To upload in terrasync you need to understand that STG line

Code: Select all

OBJECT_SHARED Models/aaa/ohmygosh.ac -2.27290487 53.36190439 74.7391 89.6 0.0 -0.0


-2,2729 is the location of the object Longitude (how far west/east from greenwich)
53.3619 is the location of the object Latitude (how far north/south from equator)
74.7391 is the elevation of the object about MSL (usually ground level in your place). This info is NOT required to upload to terrasync
89.6 is the orientation of the object

When you fill that form with the info obtained in the stg, you will tipically wait for a few days for your object to be evaluated. If they like it, it will import to terrasync in additional 24 to 48 h. if they don't like the object they'll ask you to make it better. If they dont like you they'll send you to hell.


Note to authors.

Sharing new objects both in terraGIT and terraSYNC requires you to agree to release as GPL. Sharing as a ZIP file does not. Feel free to add any license seems fit to you to the zip. But avoid "no license" file as a dropback. It is just unclear and literally means: do not download/use or tranfer.
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: United Kingdom + Ireland: Fall 2016 [November 5th and 6th]

Postby IAHM-COL » Mon Sep 05, 2016 5:37 pm

oscar6662 wrote:perfect works 100% thanks a lot.

Now comes the part of roads. How hell do I put roads in FG. I know its with OSM2CITY but please redirect me to a tutorial or something because the wiki is(inmasticable e incomprensible)



It's exactly what the wiki says. And it is not plain easy.
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

oscar6662
Posts: 246
Joined: Thu Oct 22, 2015 4:49 pm

Re: United Kingdom + Ireland: Fall 2016 [November 5th and 6th]

Postby oscar6662 » Mon Sep 05, 2016 5:40 pm

OKAY.
I will just make a linc for the ones that want it but remember it's not done. T2 is missing and I need to place the cargo park
[url]Image[/url]


Return to “The Festival”

Who is online

Users browsing this forum: No registered users and 8 guests