Freedom Reborn Archive

Freedom Force Forums => Technical Issues => Topic started by: ehlomint on July 17, 2007, 06:58:24 AM

Title: example localinit.py file ?
Post by: ehlomint on July 17, 2007, 06:58:24 AM
Can somebody e-mail me a working localinit.py?  For some reason, my game won't recognize it...the log says there was an error loading it.  All I added to it was the enable console and camera settings, both after import js and import ff lines....what could I be doing wrong?   :ffvstr:
Title: example localinit.py file ?
Post by: Boalt92 on July 18, 2007, 04:59:26 AM
you should be able to create one using notepad. just rename a .txt document "localinit.py".

also, can you post your error log?

also, did you double check to make sure you text editor did not rename the file to localinit.py.txt? 
(if you can't see the file type, you need to disable the "Hide extensions of known file types" buton.  Open up any window folder and go to TOOLS/Folder Options, click on "view" and scroll through the "advanced" tab and deselect the box "Hide extensions of known file types")


B92
Title: Re: example localinit.py file ?
Post by: stumpy on July 19, 2007, 03:19:44 PM
Guys, I split this into its own thread, since it was a question without an answer.

BTW, my localinit.py looks like the following.
# IGA system initialization file for external release

import js
import ff

ff.APP_ENABLE_XTRACHARS = 1
ff.CAM_MAX_ZOOM=6000
ff.CAM_MIN_ZOOM=-350
ff.CON_ENABLE = 1
ff.RANGED_MIN = 0.5
ff.AI_RESPOND_TEAM_DISTANCE = 0.0
ff.RPG_HOT_TEMPER_CHANCE = 10

# Startup Plugins Importer; info in the StartupPlugins folder
try:
    import startupplugins
except:
    pass


That will not be totally standard, since I have done things like change the zoom limits and a few other things (like set the HOT TEMPERED chance to overpower to 10% instead of 33%). And, the last 5 lines are new with FFX 3.2, though they are harmless for setups without it.