Post by Boaster on Jan 5, 2010 14:31:27 GMT -6
In the next update of the GS5R2, players will now be able to change the portrait of their Lord. One limitation exists, the Lord has to have more than one possible portraits.
Also, the whole way the game looks for portraits is now revamped. I've setup a dictionary to look for the unittype in question each unittype will have an array. The array will contain different strings which can be called upon and used for a unit.
So now extra portraits can potentially be used and they're not hard coded to look at the unit's FAITH and CODE.
Also, the whole way the game looks for portraits is now revamped. I've setup a dictionary to look for the unittype in question each unittype will have an array. The array will contain different strings which can be called upon and used for a unit.
So now extra portraits can potentially be used and they're not hard coded to look at the unit's FAITH and CODE.
/portrait_file_names
<<
unittypedict begin
; -1[-1]
dewiz["dewizp00.lbm" "dewizp01.lbm" "dewizp02.lbm" "dewizp03.lbm" "dewizp04.lbm" "dewizp05.lbm" "dewizp06.lbm" "dewizp07.lbm" "dewizp08.lbm"]
defit["defitp00.lbm" "defitp01.lbm" "defitp02.lbm" "defitp03.lbm" "defitp04.lbm" "defitp05.lbm" "defitp06.lbm" "defitp07.lbm" "defitp08.lbm"]
dethf["dethfp00.lbm" "dethfp01.lbm" "dethfp02.lbm" "dethfp03.lbm" "dethfp04.lbm" "dethfp05.lbm" "dethfp06.lbm" "dethfp07.lbm" "dethfp08.lbm"]
deinf["deinfp00.lbm"]
decav["decavp00.lbm"]
demis["demisp00.lbm"]
deshp["deshpp00.lbm"]
decr1["decr1p00.lbm"]
decr2["decr2p00.lbm"]
decr3["decr3p00.lbm"]
decr4["decr4p00.lbm"]
deldf["deldfp00.lbm"]
deldt["deldtp00.lbm"]
deldw["deldwp00.lbm"]
liwiz["liwizp00.lbm" "liwizp01.lbm" "liwizp02.lbm" "liwizp03.lbm" "liwizp04.lbm" "liwizp05.lbm" "liwizp06.lbm" "liwizp07.lbm" "liwizp08.lbm"]
lifit["lifitp00.lbm" "lifitp01.lbm" "lifitp02.lbm" "lifitp03.lbm" "lifitp04.lbm" "lifitp05.lbm" "lifitp06.lbm" "lifitp07.lbm" "lifitp08.lbm"]
lithf["lithfp00.lbm" "lithfp01.lbm" "lithfp02.lbm" "lithfp03.lbm" "lithfp04.lbm" "lithfp05.lbm" "lithfp06.lbm" "lithfp07.lbm" "lithfp08.lbm"]
liinf["liinfp00.lbm"]
licav["licavp00.lbm"]
limis["limisp00.lbm"]
lishp["lishpp00.lbm"]
licr1["licr1p00.lbm"]
licr2["licr2p00.lbm"]
licr3["licr3p00.lbm"]
licr4["licr4p00.lbm"]
lildf["lildfp00.lbm"]
lildt["lildtp00.lbm"]
lildw["lildwp00.lbm"]
orwiz["orwizp00.lbm" "orwizp01.lbm" "orwizp02.lbm" "orwizp03.lbm" "orwizp04.lbm" "orwizp05.lbm" "orwizp06.lbm" "orwizp07.lbm" "orwizp08.lbm"]
orfit["orfitp00.lbm" "orfitp01.lbm" "orfitp02.lbm" "orfitp03.lbm" "orfitp04.lbm" "orfitp05.lbm" "orfitp06.lbm" "orfitp07.lbm" "orfitp08.lbm"]
orthf["orthfp00.lbm" "orthfp01.lbm" "orthfp02.lbm" "orthfp03.lbm" "orthfp04.lbm" "orthfp05.lbm" "orthfp06.lbm" "orthfp07.lbm" "orthfp08.lbm"]
orinf["orinfp00.lbm"]
orcav["orcavp00.lbm"]
ormis["ormisp00.lbm"]
orshp["orshpp00.lbm"]
orcr1["orcr1p00.lbm"]
orcr2["orcr2p00.lbm"]
orcr3["orcr3p00.lbm"]
orcr4["orcr4p00.lbm"]
orldf["orldfp00.lbm"]
orldt["orldtp00.lbm"]
orldw["orldwp00.lbm"]
chwiz["chwizp00.lbm" "chwizp01.lbm" "chwizp02.lbm" "chwizp03.lbm" "chwizp04.lbm" "chwizp05.lbm" "chwizp06.lbm" "chwizp07.lbm" "chwizp08.lbm"]
chfit["chfitp00.lbm" "chfitp01.lbm" "chfitp02.lbm" "chfitp03.lbm" "chfitp04.lbm" "chfitp05.lbm" "chfitp06.lbm" "chfitp07.lbm" "chfitp08.lbm"]
chthf["chthfp00.lbm" "chthfp01.lbm" "chthfp02.lbm" "chthfp03.lbm" "chthfp04.lbm" "chthfp05.lbm" "chthfp06.lbm" "chthfp07.lbm" "chthfp08.lbm"]
chinf["chinfp00.lbm"]
chcav["chcavp00.lbm"]
chmis["chmisp00.lbm"]
chshp["chshpp00.lbm"]
chcr1["chcr1p00.lbm"]
chcr2["chcr2p00.lbm"]
chcr3["chcr3p00.lbm"]
chcr4["chcr4p00.lbm"]
chldw["chldwp00.lbm"]
chldf["chldfp00.lbm" "chldfp10.lbm"]
chldt["chldtp00.lbm"]
fiwiz["fiwizp00.lbm" "fiwizp01.lbm" "fiwizp02.lbm" "fiwizp03.lbm" "fiwizp04.lbm" "fiwizp05.lbm" "fiwizp06.lbm" "fiwizp07.lbm" "fiwizp08.lbm"]
fifit["fifitp00.lbm" "fifitp01.lbm" "fifitp02.lbm" "fifitp03.lbm" "fifitp04.lbm" "fifitp05.lbm" "fifitp06.lbm" "fifitp07.lbm" "fifitp08.lbm"]
fithf["fithfp00.lbm" "fithfp01.lbm" "fithfp02.lbm" "fithfp03.lbm" "fithfp04.lbm" "fithfp05.lbm" "fithfp06.lbm" "fithfp07.lbm" "fithfp08.lbm"]
fiinf["fiinfp00.lbm"]
ficav["ficavp00.lbm"]
fimis["fimisp00.lbm"]
ficr4["ficr4p00.lbm"]
ficr1["ficr1p00.lbm"]
ficr2["ficr2p00.lbm"]
ficr3["ficr3p00.lbm"]
fishp["fishpp00.lbm"]
fildw["fildwp00.lbm"]
fildf["fildfp00.lbm"]
fildt["fildtp00.lbm"]
wawiz["wawizp00.lbm" "wawizp01.lbm" "wawizp02.lbm" "wawizp03.lbm" "wawizp04.lbm" "wawizp05.lbm" "wawizp06.lbm" "wawizp07.lbm" "wawizp08.lbm"]
wafit["wafitp00.lbm" "wafitp01.lbm" "wafitp02.lbm" "wafitp03.lbm" "wafitp04.lbm" "wafitp05.lbm" "wafitp06.lbm" "wafitp07.lbm" "wafitp08.lbm"]
wathf["wathfp00.lbm" "wathfp01.lbm" "wathfp02.lbm" "wathfp03.lbm" "wathfp04.lbm" "wathfp05.lbm" "wathfp06.lbm" "wathfp07.lbm" "wathfp08.lbm"]
wainf["wainfp00.lbm"]
wacav["wacavp00.lbm"]
wamis["wamisp00.lbm"]
washp["washpp00.lbm"]
wacr1["wacr1p00.lbm"]
wacr2["wacr2p00.lbm"]
wacr3["wacr3p00.lbm"]
wacr4["wacr4p00.lbm"]
waldw["waldwp00.lbm"]
waldf["waldfp00.lbm"]
waldt["waldtp00.lbm"]
eawiz["eawizp00.lbm" "eawizp01.lbm" "eawizp02.lbm" "eawizp03.lbm" "eawizp04.lbm" "eawizp05.lbm" "eawizp06.lbm" "eawizp07.lbm" "eawizp08.lbm"]
eafit["eafitp00.lbm" "eafitp01.lbm" "eafitp02.lbm" "eafitp03.lbm" "eafitp04.lbm" "eafitp05.lbm" "eafitp06.lbm" "eafitp07.lbm" "eafitp08.lbm"]
eathf["eathfp00.lbm" "eathfp01.lbm" "eathfp02.lbm" "eathfp03.lbm" "eathfp04.lbm" "eathfp05.lbm" "eathfp06.lbm" "eathfp07.lbm" "eathfp08.lbm"]
eainf["eainfp00.lbm" "eainfp01.lbm" "eainfp10.lbm"]
eacav["eacavp00.lbm"]
eamis["eamisp00.lbm" "eamisp01.lbm"]
eashp["eashpp00.lbm"]
eacr1["eacr1p00.lbm"]
eacr2["eacr2p00.lbm"]
eacr3["eacr3p00.lbm"]
eacr4["eacr4p00.lbm"]
ealdw["ealdwp00.lbm"]
ealdf["ealdfp00.lbm" "ealdfp10.lbm"]
ealdt["ealdtp00.lbm"]
aiwiz["aiwizp00.lbm" "aiwizp01.lbm" "aiwizp02.lbm" "aiwizp03.lbm" "aiwizp04.lbm" "aiwizp05.lbm" "aiwizp06.lbm" "aiwizp07.lbm" "aiwizp08.lbm"]
aifit["aifitp00.lbm" "aifitp01.lbm" "aifitp02.lbm" "aifitp03.lbm" "aifitp04.lbm" "aifitp05.lbm" "aifitp06.lbm" "aifitp07.lbm" "aifitp08.lbm"]
aithf["aithfp00.lbm" "aithfp01.lbm" "aithfp02.lbm" "aithfp03.lbm" "aithfp04.lbm" "aithfp05.lbm" "aithfp06.lbm" "aithfp07.lbm" "aithfp08.lbm"]
aiinf["aiinfp00.lbm"]
aicav["aicavp00.lbm"]
aimis["aimisp00.lbm"]
aishp["aishpp00.lbm"]
aicr1["aicr1p00.lbm"]
aicr2["aicr2p00.lbm"]
aicr3["aicr3p00.lbm"]
aicr4["aicr4p00.lbm"]
aildw["aildwp00.lbm"]
aildf["aildfp00.lbm"]
aildt["aildtp00.lbm"]
deldr["deldrp00.lbm"]
dewz2["dewz2p00.lbm"]
dewm1["dewm1p00.lbm"]
orld1["orld1p00.lbm"]
orld2["orld2p00.lbm"]
orld3["orld3p00.lbm"]
orft2["orft2p00.lbm"]
orcav2["orcavp00.lbm"]
orwmm["orwmmp00.lbm"]
orwmi["orwmip00.lbm"]
chwmf["chwmfp00.lbm"]
chwz2["chwz2p00.lbm"]
chwmm["chwmmp00.lbm"]
chwmi["chwmip00.lbm"]
chwmc["chwmcp00.lbm"]
chwm1["chwm1p00.lbm"]
chwm2["chwm2p00.lbm"]
eawmi["eawmip00.lbm"]
eawm1["eawm1p00.lbm" "eawm1p01.lbm"]
watf1["watf1p00.lbm"]
wawm2["wawm2p00.lbm"]
liwm1["liwm1p00.lbm"]
liwm2["liwm2p00.lbm"]
aiwm1["aiwm1p00.lbm"]
aiwm2["aiwm2p00.lbm"]
aiwm3["aiwm3p00.lbm"]
chcr5["chcr5p00.lbm"]
eacr5["eacr5p00.lbm"]
wacr5["wacr5p00.lbm"]
licr5["licr5p00.lbm"]
ficr5["ficr5p00.lbm"]
aicr5["aicr5p00.lbm"]
chwmw["chwmwp00.lbm"]
pychi["pychip00.lbm"]
pycow["pycowp00.lbm"]
pyele["pyelep00.lbm"]
pygoa["pygoap00.lbm"]
wasc1["wasc1p00.lbm"]
gate[-1]
decr2b["decr2p00.lbm"]
lildr["licr3p00.lbm"]
eald1["eawm1p00.lbm" "eawm1p01.lbm"]
end
>> userdict begin def end