• Welcome to Freedom Reborn Archive.
 

shapeshifting help

Started by tk, April 20, 2008, 06:57:31 PM

Previous topic - Next topic

tk

How do you use the shapeshifting attribute with a custom character?

stumpy

This is in the FFX manual page for the SHAPE SHIFTER attribute. Basically, you give the main character the SHAPE SHIFTER attribute and the character or characters he shifts into the TEMPORARY FORM attribute. Then open the FFX Control Centre for the main character and set his forms (just form 1 for a character that shifts into just one other shape) to the custom or customs you have created with the TEMPORARY FORM attribute. You can set the other effects for the transformation there as well, for both the shifter and the shiftees, as per the manual page.

As usual, if you have just created either of the custom characters in the game, you will need to quit and restart after running the FFX CC so that the branding takes.

If you are having some other trouble, describe it more specifically and someone will be able to help.

tk

I am still having problems.  The shapeshifting forms don't show up in my inventory.  I also gave my character the power "Spell of Duplication," and when I use it, it says there's an error initializing the attribute shapeshifter. 

stumpy

Quote from: tk on April 21, 2008, 07:01:41 AMI am still having problems.  The shapeshifting forms don't show up in my inventory.

Did you give the shiftee forms to be shifted into the TEMPORARY FORM attribute? Does the shiftee have his own entry in the FFX Control Centre?

Quote from: tk on April 21, 2008, 07:01:41 AMI also gave my character the power "Spell of Duplication," and when I use it, it says there's an error initializing the attribute shapeshifter.

Do you mean that error only occurs when you use that power? I thought the shapeshifting doesn't work because you couldn't assign the temp forms in the Control Centre? There is no reason to worry about shapeshifting errors that show up in the game until you get the temp forms assigned. Once that is working, if you are still getting that error, you should probably post your script.log so we can get more info on the error.

tk

Yeah I used the Temporary Form attribute on a few characters and I used the Control Centre to assign them.  When I start a level, no error appears, but neither does the change options in my inventory.  When I use the spell, that's when the error appears.  The log says that shapeshifter, along with many other attributes, is not mapped to a bitset enum!  (The log put the exclamation point.)

stumpy

And, you used the CC on the shapeshifter character to assign the shapshifteees to him? Just confirming.

What is this Spell of Duplication power? Is it a clone power?

Post your script.log (not ff.log). Run the mission until the error appears. Then open script.log in Notepad, copy the whole thing, then come back here and, in your post, click the code tag button () and then hit paste.

tk

Yes, I used CC on the shapeshifter to assign the shapeshiftees to him.  Spell of Duplication is a clone power.  And here it is. 

>>> system/init.py executed
>>> system/localinit.py executed
>>> system\tredir.py executed
loading datfiles version 0.251000
loading cshelper ...
Starting ffx.py v. 3.2.0 build 11; branch = Gold / Release
Loading m25ai.py v. 3.2.0 build 10; branch = beta 2: m25 branch 2
importing missionobjvar.py v1.18
importing MLOG Reader 1.0.18 release
Starting General Utilities 1.0
missionobjvar(FixLongs): Fixing overflow issue with <SCSTATE_BUOYANT>
missionobjvar defining functions for Rumble Room play.
CustomHeadCurrentTime 1208805737.306000
Starting Height Check module 1.4
Starting System Utilities 1.4
OBJECTS_HEIGHT: 604 entries
NIF_OBJECTS: 482 entries
BUILDINGS_IN_OBJECTS_DAT: 30 entries
BUILDING_DIMENSIONS: 30 entries
Starting skXMapInfo.py  v 0.79 beta
skXMapInfo: m25ai available
Campaign_ReadObjects() warning: object template <water> has more than one entry for attribute <mass>, values 650.000000 and 650.000000
Campaign_ReadObjects() warning: object template <jm_pad_white> has more than one entry for attribute <canPickUp>, values 0.000000 and 0.000000
Campaign_ReadObjects() warning: object template <jm_pad_green> has more than one entry for attribute <canPickUp>, values 0.000000 and 0.000000
Campaign_ReadObjects() warning: object template <jm_pad_brown> has more than one entry for attribute <canPickUp>, values 0.000000 and 0.000000
Campaign_ReadObjects() warning: object template <jm_pad> has more than one entry for attribute <canPickUp>, values 0.000000 and 0.000000
FFX Mission Plugin 'firehydrant' imported
FFX Mission Plugin 'zombie' imported
Loading freeroam_keepbuildingdamage.py v.1.0.0 build 0; branch = main
FFX Mission Plugin 'freeroam_keepbuildingdamage' imported
FFX Mission Plugin 'm25ai_lowjumper' imported
FFX Mission Plugin 'm25ai_realitymanipulation' imported
FFX Mission Plugin 'cutscene_power' imported
Loading     m25enc_OPENDOOR.py v.1.0.0 build 0; branch = main
FFX Mission Plugin 'm25enc_opendoor' imported
Loading     m25enc_simplechoice.py v.1.0.0 build 0; branch = main
FFX Mission Plugin 'm25enc_simplechoice' imported
Starting Built-In Function Wrapper 1.5
('Object_CalcPrestige', 'js')
ffx3\sk.py importing FFX
ffx3\missions\scripts\sk.py loaded
>>> C:\Documents and Settings\Ed Kenny\Local Settings\Application Data\Irrational Games\Freedom Force vs the 3rd Reich\temp\MiniMod Example - Allies.py executed
! GetMapInfo
>>> C:\Documents and Settings\Ed Kenny\Local Settings\Application Data\Irrational Games\Freedom Force vs the 3rd Reich\temp\MiniMod Example - Allies.py executed
MLOG_Init(keepRunningModules=0): starting up
mlogreader.MLOG_Init: current mission = 'COMBAT_TRAINER'
initialising FFX: skirmish=0
mapinfocaliper0 is not a valid explosion object
mapinfocaliper1 is not a valid explosion object
mapinfocaliper2 is not a valid explosion object
mapinfocaliper3 is not a valid explosion object
numberStr=39
storing hero_1: id_1,-39
addArrow m25obj_2arrow m25obj_2 0 1
Game load time is 1208805702.23
C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\custom\art\library\characters\TheMask
initialising FFQ_initialiseExtras()
initAttribsForChar: working on hero_1 (The Mask)
initAttribsForChar (The Mask): looking at attribute ffqrealitymanipulation
execInitAttrib: init ffqrealitymanipchaos attribute inside ['ffqrealitymanipulation', 'ffqrealitymanipchaos', 'ffqrealitymaniporder'] combo
    on hero_1 of template custom_template_39 (The Mask)
execInitAttrib: init ffqrealitymaniporder attribute inside ['ffqrealitymanipulation', 'ffqrealitymanipchaos', 'ffqrealitymaniporder'] combo
    on hero_1 of template custom_template_39 (The Mask)
initAttribsForChar (The Mask): looking at attribute spinner
execInitAttrib: init spinner attribute
    on hero_1 of template custom_template_39 (The Mask)
initAttribsForChar (The Mask): looking at attribute ffqimmortal
execInitAttrib: init ffqimmortal attribute
    on hero_1 of template custom_template_39 (The Mask)
initAttribsForChar (The Mask): looking at attribute shapeshifter
execInitAttrib: init shapeshifter attribute
    on hero_1 of template custom_template_39 (The Mask)
initAttribsForChar (The Mask): looking at attribute ffqmad
execInitAttrib: init ffqmad attribute
    on hero_1 of template custom_template_39 (The Mask)
"Mad" attribute is allowed by default.
initAttribsForChar: working on m25obj_2 (thug_with_bat)
initAttribsForChar (thug_with_bat): looking at attribute timid
initAttribsForChar (thug_with_bat): looking at attribute weak minded
initAttribsForChar: working on m25obj_4 (minute_man)
initAttribsForChar (minute_man): looking at attribute disciplined
initAttribsForChar (minute_man): looking at attribute jumper
initAttribsForChar (minute_man): looking at attribute superleaper
execInitAttrib: init superleaper attribute
    on m25obj_4 of template minute_man (minute_man)
Plugin 'firehydrant' OnPostInit() called
Plugin 'zombie' has no OnPostInit()
Plugin 'freeroam_keepbuildingdamage' OnPostInit() called
Plugin 'm25ai_lowjumper' has no OnPostInit()
Plugin 'm25ai_realitymanipulation' has no OnPostInit()
Plugin 'cutscene_power' has no OnPostInit()
Plugin 'm25enc_opendoor' has no OnPostInit()
Plugin 'm25enc_simplechoice' has no OnPostInit()
initAttribsForChar: working on mobj_16 (The Mask)
initAttribsForChar (The Mask): looking at attribute ffqrealitymanipulation
execInitAttrib: init ffqrealitymanipchaos attribute inside ['ffqrealitymanipulation', 'ffqrealitymanipchaos', 'ffqrealitymaniporder'] combo
    on mobj_16 of template custom_template_39 (The Mask)
execInitAttrib: init ffqrealitymaniporder attribute inside ['ffqrealitymanipulation', 'ffqrealitymanipchaos', 'ffqrealitymaniporder'] combo
    on mobj_16 of template custom_template_39 (The Mask)
initAttribsForChar (The Mask): looking at attribute spinner
execInitAttrib: init spinner attribute
    on mobj_16 of template custom_template_39 (The Mask)
initAttribsForChar (The Mask): looking at attribute ffqimmortal
execInitAttrib: init ffqimmortal attribute
    on mobj_16 of template custom_template_39 (The Mask)
initAttribsForChar (The Mask): looking at attribute shapeshifter
execInitAttrib: init shapeshifter attribute
    on mobj_16 of template custom_template_39 (The Mask)
execInitAttrib: ERROR in initialising attribute shapeshifter
Traceback (innermost last):
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\DCUG\missions\scripts\ffx.py", line 931, in initAttribsEvent
    initAttribsForChar(event.object,event.user)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\DCUG\missions\scripts\ffx.py", line 894, in initAttribsForChar
    execInitAttrib(char, attribute, update)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\DCUG\missions\scripts\ffx.py", line 915, in execInitAttrib
    execInitAttrib2(char, attribute, init)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\DCUG\missions\scripts\ffx.py", line 923, in execInitAttrib2
    exec init
  File "<string>", line 1, in ?
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\DCUG\missions\scripts\ffx.py", line 4877, in initshapeshifter
    form=getByTemplate(char,FFX_SHAPESHIFT_CUSTOM,3+i)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\DCUG\missions\scripts\ffx.py", line 4655, in getByTemplate
    result=elem[index]
IndexError: list index out of range

stumpy

Thanks for the script.log. That should help in figuring things out.

I am not an expert on the SHAPESHIFTER attribute, but the error shown seems a little odd to me. It might be instructive to see what's in your shapeshifter data. From the base game folder, go to ffx3\missions\scripts and open ffxcustom.py in a text editor. Search for FFX_SHAPESHIFT_CUSTOM and copy that block of text (up until the next blank line) and paste it into code tags like you did above.

tk


FFX_SHAPESHIFT_CUSTOM=[
["default","effect_entropy_spawn","power","CUSTOM_FORM1","","","","","",""],
["types","ERevert FX","AAnimation","CCommand","tForm1","tForm2","tForm3","tForm4","tForm5","tForm6"],
["john snow","effect_entropy_spawn","ranged_2","CUSTOM_FORM1","snow beast","","","","",""],
["The Mask","effect_entropy_spawn","power","CUSTOM_FORM1","The Mask (Dragon)","The Mask (Giant)","","","",""],
["yg","effect_entropy_spawn","power","CUSTOM_FORM1","yg (T)","","","","",""],
]

stumpy

Hmm. I was suspicious that either the clone power or the use of parenthesis in the name might be causing some trouble. But, I just created a shapeshifting character with a clone power and a temp form with parenthesis in his name and both seemed to work fine.

Your SHAPESHIFTER data looks okay to me. Certainly, no line has too few elements...

As a test, can you try a Rumble Room session with john snow and tell us what happens (and post the script.log) for him? That will at least help isolate if it is some difference in the character that's at issue.

tk

uh...I know where you got that from but...I don't have a character called john snow.  Wierd.

stumpy

I think it was part of one of the FFX 3.x releases. If you don't have it, I wonder if there is something quirky about your FFX install that could cause this. It looks like you are running 3.2.0. Did you install that over another version?

I clean wipe of FFX and a fresh install may be the easiest thing to do...

Epimethee

The heroes weren't in FFX 3.2; in fact, they weren't in FFX 3.0 either, but in a separate release, with saved games: http://fundamentzero.com/ffx3/ffx3_saves_and_chars_v2.exe

For details, TK, please got to www.fundamentzero.com, under FFX-squared 3.0: downloads: FFX 3.0 Example Characters and Save Games (V2)... ?%$! frames preventing proper direct linking.

tk

I got Benton Grey's DCUG.  In order to get a working driver/vehicle attribute (which, ironically, isn't working either) I got FFX 3.2.  I tried to instal it so asto not overwrite anything I wanted and in the process I may have messed it up. 

tk


tk


stumpy

What did you do? Maybe posting it will help next time someone has this problem, even if it was just realizing something you missed before.