Matrix Games Forums

New Fronts are opening up for Commander: The Great WarCharacters of World War 1Sign of for the Pike and Shot Beta!More Games are Coming to Steam! Deal of the Week: Combat Command Return to the Moon on October 31st! Commander: The Great War iPad Wallpapers Generals of the Great WarDeal of the Week Panzer CorpsNew Strategy Titles Join the Family
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

After 1.7.0.14 policies must be "Read-only"

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds Series >> Design and Modding >> After 1.7.0.14 policies must be "Read-only" Page: [1]
Login
Message << Older Topic   Newer Topic >>
After 1.7.0.14 policies must be "Read-only" - 5/15/2012 12:01:33 PM   
Arcatus


Posts: 197
Joined: 1/2/2012
Status: offline
I spent a few hours pulling my hairs out over this - so I made this post so you don't have to...

After I edited the 1.7.0.14 polices I activated my mod. And none of my starting ship had any armor, shields or weapons.
I investigated a bit more and it turned out that none of the other ships in the galaxy had any weapons, armor or shields.

The solution to the above problem is that you must have the "read-only" attribute on your polices.

Don't ask me why....
Post #: 1
RE: After 1.7.0.14 policies must be "Read-only" - 5/15/2012 12:49:23 PM   
tjhkkr


Posts: 1822
Joined: 6/3/2010
Status: offline
Can you recreate the problem by changing the file attribute BACK to read/write?

If so, that is a real bug to pass along...

_____________________________

Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.

(in reply to Arcatus)
Post #: 2
RE: After 1.7.0.14 policies must be "Read-only" - 5/15/2012 2:02:25 PM   
Arcatus


Posts: 197
Joined: 1/2/2012
Status: offline
yes,

Remove read only attribute = all ships have no weapons, shields and armor (starting ships in a new game - just to clarify that)
Set the read only attribute = everything works as expected

I wasn't sure if this was a technical or a modding issue - if a mod feels like it belongs in the tech forum, then feel free to move it :)

(in reply to tjhkkr)
Post #: 3
RE: After 1.7.0.14 policies must be "Read-only" - 5/17/2012 10:33:50 PM   
jlevans


Posts: 45
Joined: 2/14/2011
Status: offline
I've modified a race policy file and saved it, but of course you can't save it with the same name as the default race policy file since that is now read-only.

To get around this restriction, I changed the name back to the race name but saved it in the customized them policy folder (Diverse Worlds v5/Policy) and made it read-only per your suggestion, but the race still loads the default policy file... How did you get customized policy files for each race to be loaded at startup by the AI?

(in reply to Arcatus)
Post #: 4
RE: After 1.7.0.14 policies must be "Read-only" - 5/17/2012 10:42:14 PM   
tjhkkr


Posts: 1822
Joined: 6/3/2010
Status: offline
Make sure this gets into the bug forum!

_____________________________

Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.

(in reply to jlevans)
Post #: 5
RE: After 1.7.0.14 policies must be "Read-only" - 5/17/2012 10:49:12 PM   
Ardryn

 

Posts: 37
Joined: 6/24/2010
From: United States
Status: offline

quote:

ORIGINAL: jlevans

I've modified a race policy file and saved it, but of course you can't save it with the same name as the default race policy file since that is now read-only.

To get around this restriction, I changed the name back to the race name but saved it in the customized them policy folder (Diverse Worlds v5/Policy) and made it read-only per your suggestion, but the race still loads the default policy file... How did you get customized policy files for each race to be loaded at startup by the AI?

I would assume the game only loads AI profiles that have the same name as the race file. So, if you delete the old race policy file, and replace it with your modified file it should work, in theory.

(in reply to jlevans)
Post #: 6
RE: After 1.7.0.14 policies must be "Read-only" - 5/17/2012 11:02:44 PM   
jlevans


Posts: 45
Joined: 2/14/2011
Status: offline
Hmm...

I think Elliot made a good decision by making the default policy files read-only. If I were in his shoes, I would want any customized race policy files to be loaded through a Mod - aka in the Cutomization folder. I would design it so that using a mod would automatically use the race pollicy file found in the mod, if one by the same race name was there. If not, it would load the default (base game) policy file. Therefore, I wouldn't want anyone deleting base policy files.

At least that is how I would have done it.

Has anyone been successful in getting the AI in a game to adopt policy files that they have custom designed for them? If so, how?

(in reply to Ardryn)
Post #: 7
RE: After 1.7.0.14 policies must be "Read-only" - 5/18/2012 4:46:46 AM   
tjhkkr


Posts: 1822
Joined: 6/3/2010
Status: offline
quote:

ORIGINAL: jlevans
I think Elliot made a good decision by making the default policy files read-only. If I were in his shoes, I would want any customized race policy files to be loaded through a Mod - aka in the Cutomization folder. I would design it so that using a mod would automatically use the race pollicy file found in the mod, if one by the same race name was there. If not, it would load the default (base game) policy file. Therefore, I wouldn't want anyone deleting base policy files.
At least that is how I would have done it.
Has anyone been successful in getting the AI in a game to adopt policy files that they have custom designed for them? If so, how?


Agreed, but it is STRANGE that the file attribute would have that affect...


_____________________________

Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.

(in reply to jlevans)
Post #: 8
RE: After 1.7.0.14 policies must be "Read-only" - 5/18/2012 12:12:43 PM   
jlevans


Posts: 45
Joined: 2/14/2011
Status: offline

quote:

ORIGINAL: tjhkkr

Agreed, but it is STRANGE that the file attribute would have that affect...



Yes, the file attribute resulting in no armor, etc. is quite strange. It's like having the unexpected attribute resulted in the file being ignored, which means the default behavior when finding no policy file is to outfit it the way you found... Sounds like a defensive programming bug - what to do when the user does something he's not suppossed to do.

(in reply to tjhkkr)
Post #: 9
RE: After 1.7.0.14 policies must be "Read-only" - 5/18/2012 2:00:09 PM   
Arcatus


Posts: 197
Joined: 1/2/2012
Status: offline
quote:

ORIGINAL: jlevans

I've modified a race policy file and saved it, but of course you can't save it with the same name as the default race policy file since that is now read-only.

To get around this restriction, I changed the name back to the race name but saved it in the customized them policy folder (Diverse Worlds v5/Policy) and made it read-only per your suggestion, but the race still loads the default policy file... How did you get customized policy files for each race to be loaded at startup by the AI?


It's not clear to me where you saved it...

You should never modify any policy in "..\Distant Worlds\Policy"

All changes must be made in "..\Distant Worlds\customization\yourMod\Policy"
And don't forget to activate your mod in the main game menu

(and the Read-only attribute must be set in the mod folder policy as well....)




< Message edited by Arcatus -- 5/18/2012 2:03:52 PM >

(in reply to jlevans)
Post #: 10
RE: After 1.7.0.14 policies must be "Read-only" - 5/18/2012 2:16:15 PM   
jlevans


Posts: 45
Joined: 2/14/2011
Status: offline

quote:

ORIGINAL: Arcatus

You should never modify any policy in "..\Distant Worlds\Policy"

All changes must be made in "..\Distant Worlds\customization\yourMod\Policy"
And don't forget to activate your mod in the main game menu

(and the Read-only attribute must be set in the mod folder policy as well....)



exactly what I did. The mod folder I used was the Diverse Worlds v5 folder with the extra ships that was already there. Didn't work.

(in reply to Arcatus)
Post #: 11
RE: After 1.7.0.14 policies must be "Read-only" - 5/19/2012 4:29:35 PM   
Shark7


Posts: 7107
Joined: 7/24/2007
From: The Big Nowhere
Status: offline
Take this for what it is worth, but it seems to me that once you have happily completed your mod, setting the whole folder (and its subfolders/files) to read only is a good idea anyway. It prevents changes being made, and thus reduces the chances something corrupts.

_____________________________

Distant Worlds Fan

'When in doubt...attack!'

(in reply to jlevans)
Post #: 12
RE: After 1.7.0.14 policies must be "Read-only" - 5/23/2012 8:04:22 AM   
Arcatus


Posts: 197
Joined: 1/2/2012
Status: offline
quote:

ORIGINAL: jlevans

Hmm...

I think Elliot made a good decision by making the default policy files read-only. If I were in his shoes, I would want any customized race policy files to be loaded through a Mod - aka in the Cutomization folder. I would design it so that using a mod would automatically use the race pollicy file found in the mod, if one by the same race name was there. If not, it would load the default (base game) policy file. Therefore, I wouldn't want anyone deleting base policy files.

At least that is how I would have done it.

Has anyone been successful in getting the AI in a game to adopt policy files that they have custom designed for them? If so, how?


I have now had a chance to sit down with .14 and test properly, and now I agree with you. Custom policy files are indeed not used by the game.

Sorry I doubted you.

I took the liberty and reported it in the Tech forum.

< Message edited by Arcatus -- 5/23/2012 8:10:11 AM >

(in reply to jlevans)
Post #: 13
RE: After 1.7.0.14 policies must be "Read-only" - 5/26/2012 4:29:31 PM   
jlevans


Posts: 45
Joined: 2/14/2011
Status: offline
Been gone a week or so. Thanks for moving to the Tech Support forum.

(in reply to Arcatus)
Post #: 14
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds Series >> Design and Modding >> After 1.7.0.14 policies must be "Read-only" Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.100