Freedom Reborn Archive

Freedom Force Forums => Scripting Forum => Topic started by: Juanjete on September 23, 2007, 05:18:09 AM

Title: change camera angle in Freedom Force
Post by: Juanjete on September 23, 2007, 05:18:09 AM
I change the camera angle in  :ffvstr:
I  modify the local.ini file

http://freedomreborn.net/archive/index.php?topic=41006.msg572264#msg572264

and works fine  :thumbup:

In  :ff: i modify he init.py file the same way, but nothing happens..,

How can i change the camera angle in  :ff:?
thank you
Title: Re: change camera angle in Freedom Force
Post by: Previsionary on September 23, 2007, 08:26:50 AM
you change the camera angles in FF the same way as you did in FFVTTR except in FF you edit the init.py.

Make sure the init.py isnt read only and that your changes are actually being saved.
Title: Re: change camera angle in Freedom Force
Post by: Juanjete on September 23, 2007, 08:54:25 AM
Humm.. my init.py  isnt read only .. here it´s:
---------------------------------------------------------
import ff
ff.Language="english"ff.APP_ENABLE_XTRACHARS = 1
ff.CAM_MIN_ZOOM = -280.0
ff.CAM_MAX_ZOOM = 3000.0

ff.APP_ENABLE_XTRACHARS = 1

import ff
ff.CON_ENABLE=1
APP_ENABLE_XTRACHARS = 1
----------------------------------------------------------
But still don´t works..  :(

Title: Re: change camera angle in Freedom Force
Post by: Previsionary on September 23, 2007, 08:58:46 AM
Quote from: Juanjete on September 23, 2007, 08:54:25 AM
Humm.. my init.py  isnt read only .. here it´s:
---------------------------------------------------------
import ff
ff.Language="english"ff.APP_ENABLE_XTRACHARS = 1
ff.CAM_MIN_ZOOM = -280.0
ff.CAM_MAX_ZOOM = 3000.0

ff.APP_ENABLE_XTRACHARS = 1

import ff
ff.CON_ENABLE=1
APP_ENABLE_XTRACHARS = 1
----------------------------------------------------------
But still don´t works..  :(



Why are you calling import FF and ff.APP_ENABLE_XTRACHARS = 1 so many times? Anyway, try this setup:

import ff
ff.Language="english"
ff.CON_ENABLE=1
ff.CAM_MIN_ZOOM = -280.0
ff.CAM_MAX_ZOOM = 3000.0
ff.APP_ENABLE_XTRACHARS = 1
Title: Re: change camera angle in Freedom Force
Post by: stumpy on September 23, 2007, 09:01:02 AM
Yeah. The line with the ff.Language was two lines together without a line break and that was causing a syntax error so the rest of the file wasn't loading.
Title: Re: change camera angle in Freedom Force
Post by: Juanjete on September 23, 2007, 09:07:19 AM
it Works!!  :thumbup:
Thank you!