• Welcome to Freedom Reborn Archive.
 

example localinit.py file ?

Started by ehlomint, July 17, 2007, 06:58:24 AM

Previous topic - Next topic

ehlomint

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:

Boalt92

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

stumpy

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.