Forcing a graphic option for a mod...

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
Post Reply
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Forcing a graphic option for a mod...

Post by Michael Slaunwhite »

I was playing a nap scenario, and I'm using Jacks map edit to give it a test drive, and since he requests that you have to set your map detail to medium, I am wondering how I would set it up that a user doesn't have to set this option himself?

I'm not quite sure on where to look to do this so if someone can point me in the right direction I would very much appreciate it.

:)
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Forcing a graphic option for a mod...

Post by Michael Slaunwhite »

Okay I found the .ini file I need to edit but what would be the map objects level command be that I need to set?

Also, if I setup a map objects level in the map .ini will the users options override this?

...working the brain can be fun, and just a ball busting experience.

:)
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Forcing a graphic option for a mod...

Post by Michael Slaunwhite »

Okay I am trying to set the objlevel=1 in the defaults in the map .ini but it just doesn't seem to want to work for me when I load the map via loading the Nap scenario, or by playing a sandbox game.

Here is what the map .ini file has...

Map: 1_McPherson

[Contents of .ini file]

[About]
MapName=Mac Map
MapDesc=The Mac Map
Author=e.w.s
Contrib=Derek

[Files]
LSLFile=1_McPherson.lsl
CSVFile=1_McPherson.csv
Grayscale=1_McPherson.bmp
Minimap=1_McPherson_MM.dds

;Default settings for the map, one or more can be overridden by the scenario
;NearClip & FarClip should be performance options
;Visibility Radius should be a performance option

[Defaults]
WorldWrap=1
objlevel=1 <<= This is what I am trying to get to work, and it just won't.

I have also tried placing this in the .ini as well...

[MapPerf]
objlevel=1

...and this isn't working.

Not too sure why it's not working... :pinch:
Last edited by Michael Slaunwhite on Mon Feb 20, 2012 9:45 pm, edited 1 time in total.
User avatar
norb
Reactions:
Posts: 3778
Joined: Mon Nov 26, 2007 9:59 am
Location: Central Florida
Contact:

Re: Forcing a graphic option for a mod...

Post by norb »

objlevel is a general ini option, not map specific.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Forcing a graphic option for a mod...

Post by Michael Slaunwhite »

objlevel is a general ini option, not map specific.
Thanks, so the only place then is the Scenario.ini file. Do I require to have it under the header [MapPerf], or does it matter?
User avatar
norb
Reactions:
Posts: 3778
Joined: Mon Nov 26, 2007 9:59 am
Location: Central Florida
Contact:

Re: Forcing a graphic option for a mod...

Post by norb »

I think the only place in the sowgb.ini file.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Forcing a graphic option for a mod...

Post by Michael Slaunwhite »

Thanks Norb so I guess it can't be done then.

Request: Could you in a later patch allow these values to be changed so a person can customize the graphics levels to suit the mods requirements?

Just thinking Sir. :)
Last edited by Michael Slaunwhite on Tue Feb 21, 2012 9:31 pm, edited 1 time in total.
User avatar
norb
Reactions:
Posts: 3778
Joined: Mon Nov 26, 2007 9:59 am
Location: Central Florida
Contact:

Re: Forcing a graphic option for a mod...

Post by norb »

Graphic options are a user preference, not a scenario preference. A scenario should always be written to look it's best. Then the user scales it down on how they need it to perform on their box.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Forcing a graphic option for a mod...

Post by Michael Slaunwhite »

Thanks Norb.
Post Reply