View Full Version : Regarding Camera Settings


Ploeperpengel
Jun 29, 2006, 12:08 PM
Is there a way to configure the camera to get a closer zoom ingame? I don't mean the flying cam. I want to use the regiments mod and still enable to get a close look to model details during the game.
Does anyone know?

Sto
Jun 29, 2006, 01:05 PM
I'm not sure because i never test that ... but i've seen some variable system that define camera distance .

you can have a list a these variable into this thread :
http://forums.civfanatics.com/showthread.php?t=175386

Tcho ! i really don't know if that can help you !

Ploeperpengel
Jun 29, 2006, 01:08 PM
Uff no easy way in xml, maybe?:( I don't know python.

Sto
Jun 29, 2006, 01:18 PM
sorry , i haven't any XML skill . It's just a track because i didn't find what i 'm looking for in the variable system . I've just tried to change some variable and explain how i do this into the link . I've just check if the variable are changed and not checked in game .

you can try to change the appopriate variable into you cvEventManager at onGameStart . i think I will try right now ... but an experiented modder should give you a better advise .

Ploeperpengel
Jun 29, 2006, 01:21 PM
Ok thx. But I better not mess around with variables I don't know what they do at all.

Sto
Jun 29, 2006, 01:31 PM
Ok ... I've added this line into onGameStart() (i don't know if it's the better place) but that 's seem to work without problem :

CyVariableSystem().setValueString('CAMERA_MIN_DIST ANCE','400')


Note that the original value is '700' .

Tcho !

Ploeperpengel
Jun 29, 2006, 01:42 PM
Ah cool I will lure my Leadprogrammer into it.:D But still would also be interested in xml. I found a file: detailmanager. Does someone know what values there could maybe trigger a similar effect?

RogerBacon
Jun 29, 2006, 04:25 PM
There is an XML value that controls this in GlobalDefines.xml: CAMERA_MIN_DISTANCE

Roger Bacon

Ploeperpengel
Jun 29, 2006, 05:27 PM
Ah perfect, thx:)