Miria's mod problem

Yusuke

First time out of the vault
Hi all
I have trouble using Miria's mod in the download section
whenever I give her an armor, she will change her appearance
is there a way to prevent that ?
 
just find out these lines in the script file---mcMiria.ssl

if (critter_inven_obj(self_obj,0)!=ArmourVal) then begin
ArmourVal:=obj_pid(critter_inven_obj(self_obj,0));
if (critter_inven_obj(self_obj,0)== 0 ) then begin
// Basic, no armour worn
metarule3(107,self_obj,16777279,0);
floater( random(6000, 6001) );
end

will my problem fixed when the I delete the highlight line ?
 
Miria will not change her appearance when wearing armor if you remove all of those "if (critter_inven_obj(self_obj,0)!=ArmourVal) then begin" and following lines. That line you highlited is what tells the script what she should look like without any armor.
 
thx, but how come I delete the whole "if" lines
things are still the same? do I need to restart the comp or something ? coz I have already run the game again each time I made some changes

Also, here is the whole procedure
procedure armour_change begin
// This function is based on code provided in the B-Team MOD by Jargo of the Fallout Modding Centre (fmc.prv.pl)
if (critter_inven_obj(self_obj,0)!=ArmourVal) then begin
ArmourVal:=obj_pid(critter_inven_obj(self_obj,0));
if (critter_inven_obj(self_obj,0)== 0 ) then begin
// Basic, no armour worn
metarule3(107,self_obj,16777279,0);
floater( random(6000, 6001) );
end
else if ((ArmourVal==PID_LEATHER_ARMOR) or (ArmourVal==PID_LEATHER_ARMOR_MK_II)) then begin
metarule3(107,self_obj,16777221,0);
floater( random(6005, 6006) );
end
else if ((ArmourVal==PID_LEATHER_JACKET) or (ArmourVal==PID_CURED_LEATHER_ARMOR)) then begin
metarule3(107,self_obj,16777222,0);
floater( random(6010, 6011) );
end
else if ((ArmourVal==PID_METAL_ARMOR) or (ArmourVal==PID_METAL_ARMOR_MK_II) or (ArmourVal==PID_TESLA_ARMOR)) then begin
metarule3(107,self_obj,16777223,0);
floater( random(6015, 6016) );
end
else if ((ArmourVal==PID_COMBAT_ARMOR) or (ArmourVal==PID_COMBAT_ARMOR_MK_II) or (ArmourVal==PID_BROTHERHOOD_COMBAT_ARMOR)) then begin
metarule3(107,self_obj,16777219,0);
floater( random(6020, 6021) );
end
else if ((ArmourVal==PID_POWERED_ARMOR) or (ArmourVal==PID_HARDENED_POWER_ARMOR)) then begin
metarule3(107,self_obj,16777217,0);
floater( random(6025, 6026) );
end
else if ((ArmourVal==PID_ADVANCED_POWER_ARMOR) or (ArmourVal==PID_ADVANCED_POWER_ARMOR_MK2)) then begin
metarule3(107,self_obj,16777287,0);
floater( random(6030, 6031) );
end
else if ((ArmourVal==524) or (ArmourVal==PID_PURPLE_ROBE)) then begin
metarule3(107,self_obj,16777218,0);
floater( random(6035, 6036) );
end
restock_obj := critter_inven_obj(self_obj, 1);
debug_msg("armour pid == " + obj_pid(restock_obj));
rm_obj_from_inven(self_obj, restock_obj);
add_obj_to_inven(self_obj, restock_obj);
end
end


Because I wanna keep the floater without changing her look
Please point me out
 
Wait... What? Are you looking at a source file (.ssl) that was included in the mod? Ugh. If you want to keep the float lines, then delete every instance of this: metarule3(107,self_obj,16777xxx,0);. You need to recompile that new script (make it an .int file), and place it in your data/scripts folder. Look around this site for some tutorials and programs to use for how to decompile/compile scripts.
 
Yusuke said:
Thank You very much Orz
I know what to do now

No problem. But, 'Orz'? Is that supposed to be Oz, as in 'The Wizard of' ...? Cool. :)
 
I have problem again
my miria is having problem again
she can level up, but whenever I load the game or restart the game
she go back to her 35 hp weakling status again
how could that happen ?

is there any problem in the party.txt in "C:\Program Files\BlackIsle\Fallout2\DATA\Data" ?

[Party Member 10] ; pMMaria_PID
party_member_pid=16777380
area_attack_mode=always, sometimes, be_sure, be_careful, be_absolutely_sure
attack_who=whomever_attacking_me, strongest, weakest, whomever, closest
best_weapon=no_pref, melee, melee_over_ranged, ranged_over_melee, ranged, unarmed, unarmed_over_thrown, random
chem_use=clean, stims_when_hurt_little, stims_when_hurt_lots, sometimes, anytime, always
distance=stay_close, charge, snipe, on_your_own, stay
run_away_mode=none, coward, finger_hurts, bleeding, not_feeling_good, tourniquet, never
disposition=none, custom, coward, defensive, aggressive, berserk
level_minimum=2
level_up_every=2
level_pids=16777700,16777701,16777702,16777703,16777704,16777705


what are the pids repersenting ?
or am I looking at the right place ?
 
No. Make sure the new .pro files included in the data/proto/critters folder of the Miria mod are set to read-only. And if you extracted the files with winrar, uncheck the read-only status and check it again.
 
I had done what you told me to, but it still doesn't work...
after she level up , I saved and loaded the game again
Her hp become 90/35
I guess she turns back to her orginal status
Also, Suilk is having the same problem too, his hp is like113/93

I didn't install any mod except unoffical 1.02 and Miria's mod
so dunno what happen
 
Ok, try this: Do what I said regarding the read-only status. Then load a game from before a time when you get Miria. Hopefully this works.

Regarding Sulik, same kind of thing. This happens from time to time with him and other party NPCs. The only thing that I have seen that works is to delete the corresponding .pro file for that critter and revert to an earlier saved game.
 
Ok, I have restarted the game, but the same thing happen
I noticed that when Miria was still not in my team, she was still in her original form, 35 hp one
my point is, suppose the PRO files for her has been modded, that she should have higher status even when she is still with her father

So I wondering what is her original PRO file locate, which I should somehow get rid of it
 
If you downloaded the Miria mod from this site, then it hasn't been changed. The mod works fine. I believe you when you say you followed these steps and are having problems, though, because when trying to mod this game sometimes crazy stuff happens. However, I also know from personal experience that that mod works fine and removing the original .pro file for Miria will not help you. By deleting it, you just force the game to use the version of miria's .pro file that is contained in the master.dat file.

I don't remember what the numbers are for her .pro files (as I have changed them for my own project), but you can see the numbers by opening up the data/text/English/game folder and opening the file called pro_crit.msg with the Notepad program. The numbers for Miria's extra stages should be at the end of that list.

Sorry, though, I have no more ideas for you to try to stop her levels from resetting except for what I already recommended.
 
Back
Top