I have Flash set up with the Nemesis attribute so Professor Zoom appears. I thought it would be really cool to have at least 5 or 6 of the other Rogues but Private Army only allows three different templates and members of the Private Army can not have their own Private Army in addition. Is there a way around these limitations or a way to change the number of templates usable in Private Army?
the prices of private army are 10,000 20,000 or 30,000. if you select private army grade 3 30,000 and you build lower powered rogues you can select six rogues. if you build the rogues you want to use under 5,000 points you can have an army of flash rouges
are you saying that I can enter more than 3 different templates? Isn't the attribute written to support only 3?
Unless there's some other neat trick to get around the "3-template limitation", you'd need to edit the code in ffx.py to have it look for a 4th or 5th, etc. template.
Quote from: Failed_Hero on April 22, 2008, 07:34:36 PM
the prices of private army are 10,000 20,000 or 30,000. if you select private army grade 3 30,000 and you build lower powered rogues you can select six rogues. if you build the rogues you want to use under 5,000 points you can have an army of flash rouges
Another little trick to lowering a character's CP without having to edit their stats and powers, is give them an Attribute with a negative CP value. You could call it Fodder or something like that. I also give all my "fodder" characters the unheroic attribute.
How would I do that? I tried some obvious changes. Here's just the beginning of the code and the stuff I added: def initprivatearmy1(char,update=0):
initprivatearmy(char,update,10000)
def initprivatearmy2(char,update=0):
initprivatearmy(char,update,20000)
def initprivatearmy3(char,update=0):
initprivatearmy(char,update,30000)
def initprivatearmy(char,update,prestige):
print 'initprivatearmy: %s'%(char)
if isMP():
return
if update!=0:
return
if FFX_ObjectGetAttr(char,'morph',0)!=0:
return
if FFX_ObjectGetAttr(char,'clone',0)!=0:
print 'initprivatearmy: clones get no armies'
return
if char[:4]=='mobj':
print 'initprivatearmy: clones get no armies'
return
template=getByTemplate(char,FFX_PRIVATEARMY_CUSTOM,1)
template2=getByTemplate(char,FFX_PRIVATEARMY_CUSTOM,2)
template3=getByTemplate(char,FFX_PRIVATEARMY_CUSTOM,3)
template4=getByTemplate(char,FFX_PRIVATEARMY_CUSTOM,4)
template5=getByTemplate(char,FFX_PRIVATEARMY_CUSTOM,5)
template6=getByTemplate(char,FFX_PRIVATEARMY_CUSTOM,6)
clone=1
if template=='':
template=Object_GetTemplate(char)
list=[template]
if template2!='':
list.append(template2)
if template3!='':
list.append(template3)
if template4!='':
list.append(template4)
if template5!='':
list.append(template5)
if template6!='':
list.append(template6)
But I get error initialising attribute.
Other places I need to change stuff?
Did you update the entry in ffxdefaulty.py? Now that you have 6 templates, it should look something like this:
FFX_PRIVATEARMY_CUSTOM=[
["default","cop","","","","",""],
["types","UMinion","UMinion2","UMinion3","UMinion4","UMinion5","UMinion6"],
]
Then open FFXCC and look to see if the extra slots are there. If they are, customize as normal, and then load it up in the game and see what happens.
:thumbup:
Awesome! Thanks TMX!