Jump to content

Flag Mod


Recommended Posts

Posted

TC, my bad.  For some reason the folder didn't load into the zipfile just one of the language files.

Try this one:

Flag Test.zip

1 hour ago, DD_Friar said:

Salute @Beebop

 

The reason I used Austria was to get a plane blue flag on the pole rather than the white default. I think it looks better as a "neutral" or position indicator.

 

Sorry if it has caused you some grief!

Nah, didn't cause any grief.  It's a game issue.  Your reasoning makes sense.  Most missions use a flag in it's 'normal' manner.  You used it for a specific reason which is fine.  You guys never expected a mod to be used.

Posted
20 minutes ago, Beebop said:

TC, my bad.  For some reason the folder didn't load into the zipfile just one of the language files.

Try this one:

Flag Test.zip 4.27 kB · 0 downloads

Nah, didn't cause any grief.  It's a game issue.  Your reasoning makes sense.  Most missions use a flag in it's 'normal' manner.  You used it for a specific reason which is fine.  You guys never expected a mod to be used.

Was able to load the mission but still getting the Russian flag, must be something with my game install since I'm one of two out of both groups with this issue. The German flag shows and since I haven't seen any other issues, I'll say if the Russian flag shows in place of the American I can live with that. I want to thank both you and Stonehouse for your time and efforts to assist me with this issue, but I don't think I will re-install my game because of it.  Thanks Again TC

Rus.png

Posted

Really odd that only two of you have this issue.

You're not a Steamer (right?) so doing a file integrity check won't work.  If you or any one else are Steamer, run the checker.

 

I'm assuming (always dangerous) that all the other mods work correctly?

And sorry to ask yet again, (but so many times it's the little things you are sure you did but didn't)

* Mods are enabled in the game.

* You loaded the mod into the JSGME.

 

I know you told us many times that these are true but I can't tell you how many times from personal experience I've made a similar error.  The game can be complex even at basic levels to say the least.

 

And thank you for your patience.  I know it can be hard putting up with us effin' genius's that know everything.....  ??:gamer:....but you've been a trooper throughout.

 

I'm sorry we couldn't be of more help.  If you ever do figure out what was wrong, PLEASE post what you found so when the next person has an error related to mods you might be able to provide a clue and I might get a touch smarter.  (just a touch mind you)

 

Posted

I also meant to say that I did not have any issues with the US flag, worked fine for me and all but one of the DangerDogz (I have not confirmed if he had it installed correctly, he usually knows what to do).

Posted

Friar, I would be interested in the particulars and if he finds out why and how to fix it.

As you can see this is the first I've heard of any issues.

If I have somehow contributed to these errors I would love to fix them for the Community.

Posted
On 3/5/2022 at 12:30 PM, R7-S276 said:

Very good job… but where is the French flag ?

Sorry R7.  As you can see I've been a bit busy, but.......

Here you go:

French Flag.jpg

Flag_France.zip

Posted

U R welcome.

Posted
On 3/11/2022 at 8:27 PM, Beebop said:

Really odd that only two of you have this issue.

You're not a Steamer (right?) so doing a file integrity check won't work.  If you or any one else are Steamer, run the checker.

 

I'm assuming (always dangerous) that all the other mods work correctly?

And sorry to ask yet again, (but so many times it's the little things you are sure you did but didn't)

* Mods are enabled in the game.

* You loaded the mod into the JSGME.

 

I know you told us many times that these are true but I can't tell you how many times from personal experience I've made a similar error.  The game can be complex even at basic levels to say the least.

 

And thank you for your patience.  I know it can be hard putting up with us effin' genius's that know everything.....  ??:gamer:....but you've been a trooper throughout.

 

I'm sorry we couldn't be of more help.  If you ever do figure out what was wrong, PLEASE post what you found so when the next person has an error related to mods you might be able to provide a clue and I might get a touch smarter.  (just a touch mind you)

 

Looking at the mod folder structure it appears the the flag folder was installed in the Data/Graphic/Flag/Texture. Looking in the games graphic folder there was no Flag folder so I put the Flag folder from the mod into it and now it works. Hope this makes sense.  TC

Posted
1 hour ago, too-cool said:

Looking at the mod folder structure it appears the the flag folder was installed in the Data/Graphic/Flag/Texture. Looking in the games graphic folder there was no Flag folder so I put the Flag folder from the mod into it and now it works. Hope this makes sense.  TC

 

Really odd - using JSGME when you enable the mod JSGME should have created the correct folder structure for you over in the game folders. Sounds like you now have done a manual install of the mod - pretty much what you have done is what JSGME does for you when you enable a mod.

 

I guess if it works that's great news but it is really strange that JSGME didn't work correctly for this mod when it sounded like it did for others. 

Posted

After reading you reply I took another look at the file structure for the flag files and Mod, what I found was the the mod was placed in the correct folder but with and additional folder structure in the data folder and that's why It wasn't showing. What I can't figure out is why it created and additional data folder inside the data folder?  TC

Extra Folder.png

Posted (edited)

Perhaps you accidentally did something when you unzipped the download - it can happen to anyone. Beebop is pretty careful with his zip packages otherwise I'd say it could have been the download itself.

 

Understand you wondering how it happened but doesn't really matter as long as it ends up working for you lol

  

If you move the graphics folder and it's contents (files plus flag folder) up one level to the first data folder and then delete the second data folder I think it would work when you enable it in JSGME. You may want to remove your manual install first - not sure if it would cause you issues but just would be cleaner I feel. 

 

So your mod structure looks like this which is wrong

image.png.2d9291eaa5aad368e795835ca64e25f3.png

 

It should look like below when you are finished moving stuff about

 

image.png.563989533409408759adbc6b13d5fece.png

Edited by Stonehouse
  • Upvote 1
  • 3 months later...
Posted (edited)

Alas good ole Arthur can't answer no'mo' here, but i always wondered if one can use the grey, green, blue, yellow, pink and darkgreen fields as well;

Ready for a single JSGME install and more than two countries.

 

Maybe using an adapted corresponding Luascript?

 

I found this one in ...\luascripts\worldobjects\flags .. called flag.txt

 

class_name = "CFlag"
object_name = "Flag"
detail_type = "DET_BUILDING" //list of types is in \inc\SimulationSystem\DetailTypes.inc

//////    PhysicsBody properties
VisualImage=0,"graphics/Flag/flag.mgm",1
CollisionBody="graphics/Flag/flag.col"

network=true

////// Flag properties
argNaturalOsc = 0
argTexture = 1
argRotation = 2
argHeight = 3
argElevation = 4
argRollOsc = 5
podHeight = 5.8
flagStaffHeight = 20.7

 

There's a flag.col file in ....\graphics\flag

 

AllObjects = 1

[Object = 0]
    Name="collision"

    AX=0.000000, -1.000000, 0.000000
    AY=1.000000, 0.000000, -0.000000
    AZ=0.000000, -0.000000, 1.000000
    PIVOT=0.000000, 0.000000, -0.000000

 


    Yaw=270.00
    Pitch=-90.00
    Roll=90.00

    Vertex=0: -0.2109, 0.0253, 0.1623
    Vertex=1: -0.2109, 0.0253, -0.1623
    Vertex=2: -0.1225, 21.3554, 0.0943
    Vertex=3: -0.1225, 21.3554, -0.0943
    Vertex=4: 0.2109, 0.0253, 0.1623
    Vertex=5: 0.2109, 0.0253, -0.1623
    Vertex=6: 0.1225, 21.3554, 0.0943
    Vertex=7: 0.1225, 21.3554, -0.0943

    Face=0: 0, 2, 3
    Face=1: 3, 1, 0
    Face=2: 4, 5, 7
    Face=3: 7, 6, 4
    Face=4: 0, 1, 5
    Face=5: 5, 4, 0
    Face=6: 1, 3, 7
    Face=7: 7, 5, 1
    Face=8: 3, 2, 6
    Face=9: 6, 7, 3
    Face=10: 2, 0, 4
    Face=11: 4, 6, 2

[End]

 

------------------------------

Edited by jollyjack

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
×
×
  • Create New...