Skryptowe zmiany ustawień 2204 5

O temacie

Autor maciejG

Zaczęty 29.11.2009 roku

Wyświetleń 2204

Odpowiedzi 5

maciejG

maciejG

Użytkownicy
posty450
Propsy1
  • Użytkownicy
Czy w Gothic II NK istnieje możliwość skryptowej zmiany jasności i kontrastu obrazu oraz głośności?
Oprócz tego, do Gothica są kody wpisywane po włączeniu okna statystyk, czy jest to wbudowane w silnik czy można wywołać je skryptem?
 
Spoiler

heniu

heniu

Użytkownicy
posty143
Propsy1
  • Użytkownicy
Obraz rozdzielczość i jakość kontrastu można zmieniać w GothicGame.ini
2
nie wiem
 
gmpa.com.pl

feodaron.pl

maciejG

maciejG

Użytkownicy
posty450
Propsy1
  • Użytkownicy
No właśnie chodziło mi o to, żeby zmieniać dynamicznie...
 
Spoiler

Axel

Axel

Użytkownicy
Król Mount & Blade
posty244
Propsy2
  • Użytkownicy
  • Król Mount & Blade
Cytuj
skryptowej zmiany jasności i kontrastu obrazu oraz głośności
skryptowej? Są 2 możliwości - w opcjach w grze albo w pliku .ini , inaczej się nie da.
 
Mount & Blade i Dofus wymiatają :D

Jeżeli ktoś gra w Dofusa niech napisze do mnie na pw !



Wie is ezel? Ik.

Item editor - M&B

heniu

heniu

Użytkownicy
posty143
Propsy1
  • Użytkownicy

heniu

Skryptowe zmiany ustawień
#4 2009-11-29, 17:37(Ostatnia zmiana: 2009-11-29, 17:44)
Jeśli chcesz lepszą grafike wygładzone modele i większy kontrast
zamiast tamtego Gothic wklej to :P
Sora za błąd xD
Cytuj
;
; G O T H I C 2
;
; Plik-INI
;
; zawiera różne ustawienia
; ... niektóre można edytować w menu gry
; ... niektóre nie (poczuj się wolny ... :huh:
; ... inne nic nie zmieniają (będą przywracane w trakcie gry)
; ... a niektóre mogą spowodować crashe lub inne śmieszne rzeczy :)
;
; Bądź ostrożny ale nie panikuj !!
;



[PERFORMANCE]

recalc=0
; ... wskazuje, czy ustawienia powinny być przeanalizowane przez komputer (1)czy nie (0).

sightValue=14
; ...  : 0=20% ... 14=300%, default is 4 (100%)

modelDetail=1
; ... detail of models (LODing) from 0.0 to 1.0, default is 0.5



[GAME]

animatedWindows=1
; ... turn fading of game-internal windows(views) off (0) or on (1), default is 1

camLookaroundInverse=0
; ... inverts the camera-lookaround for UP and DOWN-direction (for both: mouse and keyboard)

bloodDetail=5
; ... details of blood (0 = off), use values from 0 to 3

extendedVideoKeys=1
; ... enables extra keys for videoplay: HOME (restart),  RIGHT (step forward), UP, DOWN (volume), Q(uiet), default is 0

scaleVideos=1
; ... disable scaling of videos (0) if you have problems with your graphics-adapter, default is on (1)

cameraLightRange=10000
; ... rozmiar światła kamery w cm, domyślnie 0 (brak)

invShowArrows=1
; ... show arrows beside inventory if there are more items above or beyond, default is 1

invSwitchToFirstCategory=1
; ... switch to first category (weapons) in trading-screen, when moving to your heroes inventory, default is 0

enableMouse=1
; ... enable your mouse for gothic, default is 0

mouseSensitivity=0.5
; ... mouseSpeed in game between 0.0 and 1.0, default is 0.5

playLogoVideos=0
; ... if set to 0 no intro logo videos will be played

skyEffects=1
; ... turn weather-effects (rain) on (1) or off (0), default is 1

highlightMeleeFocus=5
; ... here you can turn on an optional focus highlight effect during fighting

highlightInteractFocus=5
; ... here you can turn on an optional focus highlight during interactions

useGothic1Controls=0
; ... if you set this one to 0 you will have another fight interface (one key to attack).
; we feel the gothic 1 interface is more challenging, so we set the old controls to default
; with the new interface, the focus nsc stays locked until you move the mouse. in this mode
; the side attacks are being accessed with additional side attack keys.

disallowVideoInput=0
; ... set to 1 if you dont want to have keyboard control over video sequences (default: 0)

keyDelayRate=150
; ... sets the keyboard repeat delay rate in msec (default: 150)

enableJoystick=0
; ... enables joystick support in gothic (default: 1) set to 0 if you encounter problems (rapid fire etc.)

keyDelayFirst=0
; ... delay for first keyboard repeat in msec (default: 0)

subTitles=1
; ... choose if you want to see windows with spoken words (1) or not (0), default is 0

subTitlesAmbient=1
; ... set to 1 if you dont want to have subtitles for ambient talks (default: 1) [disabled if subTitles is off]

subTitlesPlayer=1
; ... activates (1) or deactivates (0) subtitles for the hero (default: 1) [disabled if subTitles is off]

subTitlesNoise=1
; ... activates (1) or deactivates (0) subtitles for surroundings npc ambient infos and talks (default: 0) [disabled if subTitles is off]

invMaxColumns=2
; ... determins how many colums you can see with you inventory (default: 5) [0: limited by resolution]

invMaxRows=2
; ... determins how many rows you can see with you inventory (default: 0: limited by resolution)

invSplitScreen=1
; ... determins if you can see a second inventory during object interaction and trading. TAB will toggle inventory focus or close your inventory depending on the setting

invCatOrder=COMBAT,ARMOR,POTION,FOOD,MAGIC,RUNE,DOCS,OTHER,NONE
; ... determins the inventory item group order.

gametextAutoScroll=1000
; ... with this value you can tune the scroll time in msec of the various in game infos (default: 1000)

usePotionKeys=1
; ... with this value you are allowed to use the potion keys if set to "1". potionkeys do not work and are not visible in the keyboard settings if you leave this to "0"
; we feel potion shortkeys suck in gameplay, so you will manually have to enable them here

useQuickSaveKeys=1
; ... with this value set to "1" you quicksave and quickload slots will be enabled in the savegame screen. press "F5" to quicksave and "F9" to quickload
; this feature is not testet good enough yet, and therefore it is disabled for goldmaster. you may enable it at your own risk by setting it to "1"

useSpeechReverbLevel=2
; ... with this setting you can enable several reverb-settings for in-game-speech. 0: no reverb, 1: slight reverb, 2: full reverb (default: 2)

keyboardLayout=00000407
; ... currently there are two supported keyboard layouts: 00000407 - German, 00020409 - US-International
; ( see http://www.microsoft.com/globaldev/keyboards/keyboards.asp , dead keys are not supportet at all )

pickLockScramble=0
PATCHVERSION=5
SHORTKEY1FARPLANEDIST=1
SHORTKEY2FARPLANEDIST=2
SHORTKEY3FARPLANEDIST=3
SHORTKEY4FARPLANEDIST=4
zShowWeaponTrails=0
itemEffects=5
spawnRemoveNpcOnlyIfEmpty=0
spawnUseDeadNpcRoutinePos=1
; ... you can increase the feeling of lockpicking if you enable scrambling the combination on loading an savegame
; the value is the maximum length of combination which will be scrambled, 0 = off (default)



[VIDEO]

zVidDevice=0
; ... index of graphic-device beginning with zero.

zVidResFullscreenX=1280
zVidResFullscreenY=1024
zVidResFullscreenBPP=32
; ... used resolution

zStartupWindowed=0
; ... should the game be started as a window-application? Just for debugging!
; ... ATTENTION: Not all resolution work in window-mode!!!

zVidBrightness=0.771428585
; ... brightness from 0.0 (dark) to 1.0 (bright)

zVidContrast=0.45714286
; ... contrast from 0.0 (low contrast) to 1.0 (high contrast)

zVidGamma=0.828571439
; ... gamma from 0.0 (dark) to 1.0 (bright)

zTexMaxSize=16384
; ... size of texture in pixels, default is 16384 (max)



[SOUND]

soundVolume=1
musicVolume=0
; ... volume of sound and music, ranges between 0.0 (off) and 1.0 (noisy)

musicEnabled=0
; ... enables (1) or disables (0) music. Gothic needs less memory without music.

soundEnabled=1
; ... enables (1) or disables (0) sound.

soundUseReverb=0
; ... enables (1) or disables (0) in game reverb effects in indoor locations.

extendedProviders=0
; ... enables (1) or disables (0) some unsupported sound providers in the menu (Dolby Surround and Intel RSX; use at your own risk)



[RENDERER_D3D]

zFogDisabled=1
; ... diables fog. set this to 1 if you have any problem with fogging

zFogRadial=1
; ... enables radial fog. this could be somehow slower on some grafic cards, but looks smoother. set to "0" if you have any problems with it
; some cards without T&L don't support radial fog. On these cards, (although they are unsupported) it may be wise to deactivate radial fog.

zVidRefreshRate=0
; ... overrides the windows default refresh rate. enter a value above 75 to make your eyes happier (default: 0)
;  Attention: could collide with various refresh rate tools as nvmax, nvidia refresh rate fix, etc.. if you enter any value above "0"

zForceZBuffer=1
; ... gothic first tries to activate a w buffer if your cards supports it. however, some cards have problems with gothics way to access the w buffer
; you can force z buffering here by setting the value to "1"

zEnableTaskSwitch=1
; ... enables (1) or disables (0) going to windowed/pause mode if gothic 2 looses focus (e.g. on ALT-Tab)

geforce3HackWBufferBug=1
; ... some geforce 3 or geforce 4 cards have problems with gothics way to access the w buffer, resulting in flickering polys
; in the distant. with this setting set to "1" these cards automatically use a z buffer, loosing some precision near the camera but without the flickering polys.
; the driver version 12.41 does not have this problem. if you you have this version installed you may set this to 0 in order to activate the better looking
; w buffer. Driver versions later than 30.82 may not have this problem either.


zSyncAmbientCol=0
; ... some grafic drivers have problems with gothics way to access the ambient lightning on a per object base but want the ambient
; light on a per scene base. this is a driver bug! if there occurs heavily lightning flickering with objects, you might set this setting
; to "1" to synchronize the ambient color after each object. this forces the driver to flush the scene after each objects which can
; seriously degrade performance (especially if you activate antialiasing!)

radeonHackAmbientColBug=0
; ... the radeon 9700 has known problems with accessing the ambient lightning on a per object base, thus using the above "zSyncAmbientCol"
; Feature automatically. By activating the workaround for this card, performance may drop about 10%. Fullscene antialiasing does not work
; fast enough on this card until ATI fixes the ambient col driver bug.
; if you set this setting to "0" and no object lightning flickering occurs, ATI has probably managed to fix the problem and you may enable antialiasing


[SKY_OUTDOOR]

zDayColor0=82 109 198
zDayColor1=82 109 198
zDayColor2=82 109 198
zDayColor3=82 109 198
zDayColor0_OW=90 80 80
zDayColor1_OW=90 80 80
zDayColor2_OW=90 80 80
zDayColor3_OW=90 80 80
; ... these values tune the different sky colors during different daytimes

zSkyDome=1
; ... here you can define if you want a smooth sky sphere instead of a sky plane. enter a "0" here if you want more performance. (default:1)

zColorizeSky=1
; ... with this value you can make the skysphere even more beautiful (set it to "0" for a plus of performance) (default:1)

zSunName=unsun5.tga
zSunSize=500
zSunAlpha=230
zMoonName=moon.tga
zMoonSize=600
zMoonAlpha=255
; ... these values tune the different sizes and alpha intensitys of the sky planets. you should leave them as they are :)

zRainWindScale=0.01
; ... this value tunes how wind affects the rain. looks great with higher values, but occasional you will see rain drops in indoor locations

zNearFogScale=1
zFarFogScale=1
; ... these settings tune the far- and near-fog distances (default: 1, range: 0.0 - 1.0)



[ENGINE]

zDetailTexturesEnabled=1
; ... here you can define if the engine should support detail textures (default: 1)

zSubdivSurfacesEnabled=1
; ... with this setting you can activate subdiving surface for progressive meshes (untestet, default: 0)

zTexCacheOutTimeMSec=640000
zTexCacheSizeMaxBytes=64000000
zSndCacheOutTimeMSec=50000
zSndCacheSizeMaxBytes=80000000
; ... with these settings you can tune the memory usage of the texture and sound resources.
; if you have more ram than 512 MB, greater values will improve performance

zVobFarClipZScale=14
; ... with this setting you can tune the object visibility range. (range: 1..3) default: 1

zFarClipAlphaFade=1
; ... enables (1) or disables (0) water distance fade and camera angle transparency dependencies. disabling improves performance

zEnvMapTextureName=zflare1.tga
; ... texture name for the object env effects

zWaterAniEnabled=1
; ... enables (1) or disables (0) water waves. disabling improves performance

zWaterEnvMapTextureName=cloudenv_bright.tga
; ... texture name for the water env effect

zWaterEnvMapAniFPS=0
; ... animation speed in for an optional water env texture

zHighLightScale=1
; ... enables (1) or disables (0) item highlight swell (default: 0)

ZMAXFPS=0
; ... some strange gfx hardware may have problems with gothic's way accessing the game-timer. you may limit the maximum fps rate with entering any value
; above 1. (The spacer needs a reasonably value here especially for editing very small ZENs)

zSmoothTimer=1
; ... enables (1) or disables (0) smoothing of the in-game timer so that animations will look smoother during short sloppy framerates
; (default: 1)

zVidEnableAntiAliasing=1
; ... enables (1) or disables (0) edge antialiasing. this is driver dependant and a performance hit.

zSmoothModelRootNode=1
; ... enables (1) or disables (0) model moving smooting (default: 1)

zMouseRotationScale=2.0
; ... this value affects the npc turning speed while using your mouse. Attention: can seriously affect gameplay if setting to unreasonably values (default: 2.0)

zDontSwitchToThirdPerson=1
; ... enables (1) or disables (0) auto-switching the camera to 3rd person during dialogs, interactions and combat.
; Attention: seriously affects gameplay if setting to "1", as everything can be done in 1st person, untested feature but fun

zCacheInAllNSCAtNewGame=0
; ... with this value setting to "0" you can achive a plus of startup time, as several humans won't be loaded in memory on startup

zCloudShadowScale=1
; ... this value enables (1) or disables (0) the cloudshadow effect during raining. range: (0.0-1.0) default: 0.0. attention: performance hog!

zTexAnisotropicFiltering=1
; ... enables (1) or disables (0) anisotropic filtering for textures. this is driver dependant and a performance hit, but improves texture sharpness
; default: 0

NOAMBIENTPFX=0
; ... enables (0) or disables (1) rendering of ambient particles during gameplay. if you have a card with a lesser fillrate, you should set this to "1"
; in order to improve speed

zVobPointLight=1
; ... enables (1) or disables (0) additional dynamic lights for indoor objects, greatly improving details. you should left this as it is, although in can improve indoor performance.

ZNEARVALUE=-1
; ... with this setting you may fine-tune the distant-value of the near clipping plane. some cards may accept more aggresive near z values then the default calculated
; by gothic. (w buffering uses alway a value of 1, so you don't need to fine-tune this setting) (default: -1, let the value determin by renderer)

zSkyRenderFirst=1
; ... enables (0) or disables (1) an additional way to workaround the flickering poly in the distant on geforce 3 or geforce 4 cards.
; if you set this to "0" the sky will be renderer after the normal game world thus overlaying the flickering polys. this does only work with 32 bit
; color enabled and if you set the value "geforce3HackWBufferBug" to "0". the drawback is that the sky is slightly distorted, but this should be the best
; workaround for most geforce 3/4 users as the flicker polys are more annoying. moreover you can't see through walls with this workaround any more
; (default: 1)

zMaxFPS=0
; ... some rare gfx hardware may have problems with gothics way to access the timer, resulting in jerky animations.
; with this setting set to a fixed value (e.g. 20) you can avoid choppy animations on those systems
; the spacer needs a fixed value here in order to work properly during editing small ZEN Files

zAmbientPFXEnabled=1
; ... enables (1) or disables (0) rendering of ambient particles. rendering ambient particles greatly limits your fillrate, so if you have a card with less
; fill-rate capabilities (e.g. geforce 2 MX versions) you may set this to "0" to improve performance. (default: 1)

zAmbientVobsEnabled=1
; ... enables (1) or disables (0) rendering of ambient objects. not used in gothic 2

zEnvMappingEnabled=1
; ... enables (1) or disables (0) rendering of environmental effects (aka shiny/reflective surfaces). improves performance if deactivated (default: 1)

zKillSysKeys=0
; ... enables (1) or disables (0) the window keys as ALT-TAB, ALT-ESC, etc... GOTHIC handles focus-loss by going to windowed-pause mode, so
; there is no real need to deactivate the keys (moreover, disallowing those keys is more of a hack than a feature).
; this feature is untested and unsupported.

zSmoothMouse=3
zMusic16ChannelsOnly=0
zRayTurboPolyTreshold=500
zInventoryItemsDistanceScale=1.29999995
zSunMaxScreenBlendScale=0.800000012
zWindEnabled=1
zWindCycleTime=4
zWindCycleTimeVar=2
zWindStrength=70
zWindStrengthVar=40
zWindAngleVelo=0.899999976
zWindAngleVeloVar=0.800000012
; ... with this setting yu can smooth your mouse movemen´s by averaging the last [n] fraŤe moves. higher values result iî laggier but smoother mouse resQonse.
; (default: 3) ATTENTIONű modifying this value may result in different gameplay.

[INTERNAL]
idComputerName=KUPCZAK-0D81BF6
idUserName=Damian
gameStartFailed=1
gameStarts=642
gameAbnormalExit=0
soundProviderIndex=1
soundSampleRateIndex=1
soundSpeakerIndex=3
logStatistics=0
extendedMenu=0
texDetailIndex=1
debugAllChannels=0
debugAllInstances=0
debugChannels=
cutscenesDisabled=0
menuAction=LEAVE_GAME
vidResIndex=11
menuShowVersion=1
zFastSaveGames=1
gameScript=
playerInstanceName=
GhostAlpha=0.300000012
perfQualityIndex=0
gamePath=
gameCompile=1.0
[KEYSDEFAULT1]
keyUp=c8001100
keyDown=d0001f00
keyLeft=cb001000
keyRight=cd001200
keyStrafeLeft=d3001e00
keyStrafeRight=d1002000
keyAction=1d000c02
keySlow=2a00
keySMove=3800b800
keyWeapon=3900
keySneak=2d003700
keyLook=52001300
keyLookFP=53002100
keyEnd=0100
keyInventory=0f000e00
keyShowStatus=3000
keyShowLog=3100
keyShowMap=3200
keyActionLeft=d3003400
keyActionRight=d1001a00
keyParade=0d02cf00
keyLockTarget=1c001500
keyPotion=1900
keyHeal=2300
[KEYS]
keyUp=c8001100
keyDown=d0001f00
keyLeft=cb001000
keyRight=cd001200
keyStrafeLeft=d3001e00
keyStrafeRight=d1002000
keyAction=1d000c02
keySlow=2a00
keySMove=3800b800
keyWeapon=3900
keySneak=2d003700
keyLook=52001300
keyLookFP=53002100
keyEnd=0100
keyInventory=0f000e00
keyShowStatus=3000
keyShowLog=3100
keyShowMap=3200
keyActionLeft=d3003400
keyActionRight=d1001a00
keyParade=0d02cf00
keyLockTarget=1c001500
keyPotion=1900
keyHeal=2300
[KEYSDEFAULT0]
keyUp=c800c700
keyDown=d000
keyLeft=d200
keyRight=c900
keyStrafeLeft=cb00
keyStrafeRight=cd00
keyAction=1d000c02
keySlow=2a00
keySMove=3800b800
keyWeapon=3900
keySneak=1e003700
keyLook=52001300
keyLookFP=53002100
keyEnd=0100
keyInventory=0f000e00
keyShowStatus=1f003000
keyShowLog=26003100
keyShowMap=3200
keyActionLeft=d3003400
keyActionRight=d1001a00
keyParade=0d02cf00
keyLockTarget=1c001500
keyPotion=1900
keyHeal=2300
[SPACER]
zSpacerWaterAniEnabled=0
 
gmpa.com.pl

feodaron.pl

maciejG

maciejG

Użytkownicy
posty450
Propsy1
  • Użytkownicy
Nie chodzi mi o ogólną zmianę, ale dynamiczną po if() w skrypcie. Ale mimo wszystko dziękuję za pomoc, można zamknąc temat.
 
Spoiler


0 użytkowników i 1 Gość przegląda ten wątek.
0 użytkowników
Do góry