Am stuck in this idea, maybe you will find out
Concept: You found body of vault citizen (as villager) and he got armor v13 suit. When you wear this item, then is play vsuit_movie which change your appearance and activate pipboy. So from this time you should turn from villager to vault citizen.
Unless when i put command to remove such item from inventory, again you become villager (but with pipboy) and if you still have such item wearing and take it off, then again you become villager.
Bad thing from villager is that he crash game when hold some weapons, thats why am trying to turn him into vcitizen for good. This could be fixed by copy villager stand_critter to hold_some_weapon_critter, game will not crash, be he cant use most of guns.
Ok here is script am talking about. Its extension to obj_dude script.
Result of that script: when you wear jumpsuit then you get pipboy, but you are still villager, just wearing jumpsuit armor and look with like vcitizen.
Concept: You found body of vault citizen (as villager) and he got armor v13 suit. When you wear this item, then is play vsuit_movie which change your appearance and activate pipboy. So from this time you should turn from villager to vault citizen.
Unless when i put command to remove such item from inventory, again you become villager (but with pipboy) and if you still have such item wearing and take it off, then again you become villager.
Bad thing from villager is that he crash game when hold some weapons, thats why am trying to turn him into vcitizen for good. This could be fixed by copy villager stand_critter to hold_some_weapon_critter, game will not crash, be he cant use most of guns.
Ok here is script am talking about. Its extension to obj_dude script.
Code:
procedure critter_p_proc begin
call local;
(originally here is some lines from old code)
end
procedure local begin
if (local_var(LVAR_suit) < 1) then begin
call armor;
end else begin
end
end
procedure armor begin
if (obj_pid(critter_inven_obj(dude_obj,INVEN_TYPE_WORN)) == 532)
then begin
// remove_pid_qty(dude_obj, 532, 1)
set_local_var(LVAR_suit, 3);
play_gmovie(VSUIT_MOVIE);
end else begin
end
end
Result of that script: when you wear jumpsuit then you get pipboy, but you are still villager, just wearing jumpsuit armor and look with like vcitizen.
