Alternate ways to get jumpsuit

Discussion in 'Fallout General Modding' started by Lich, Jun 14, 2008.

  1. Lich

    Lich Water Chip? Been There, Done That

    Dec 23, 2004
    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.

    procedure critter_p_proc begin
    call local;
    (originally here is some lines from old code)
    procedure local begin
    if (local_var(LVAR_suit) < 1) then begin
    call armor;
    end else begin
    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); 
    end else begin 
    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.

  2. Wild_qwerty

    Wild_qwerty Sonny, I Watched the Vault Bein' Built!

    Feb 2, 2004
    You can use sfall to change the default player model by script. So just script it to change the default player model into the jumpsuit. Then delete the jumpsuit item from the player inventory so he cant take it off.
  3. Magnus

    Magnus Water Chip? Been There, Done That

    Dec 6, 2007
    I like what you're doing here! You mean that the default player model should be the tribal (which is cool) and that when you get the vault suit, it is just an armor that you can replace with leather/metal, etc. It's a very good idea, hope you finish it.
  4. Grayswandir

    Grayswandir Mildly Dipped

    May 9, 2008
    I understand the general Idea, but not exactly what you want...

    That's normal because some frm are missing, but i think you know that already.

    So you mean you want the player to have the hmjump as standart, but still have a jumpsuit armor ?

    I am no specialist, but can't you just move the code from artemple from the original to the place where you find the jumpsuit?
    And handle the jumpsuit like any other armor (with anoter name hm2jum)?

    Or you could just replace the missing frm from the warrior by some of the jumpsuit. So he would be a warrior when wearing a spear, and a vaultcitizen when wearing a minigun.
  5. Ashmo

    Ashmo Half-way Through My Half-life

    Jul 2, 2004
    I think he's trying to make it so you have to find an item and use it to get the vaultsuit, but when he removes the item from the inventory, the model is reset.

    What about adding an object (that can't be picked up) and making it single-use? e.g. when you use it again, it switches to a different action that simply says "There's nothing left to do here" or somesuch message.
  6. Jay-F

    Jay-F It Wandered In From the Wastes

    Apr 24, 2005
    Sorry I'm quite new to modding fallout, so i was wondering what "sfall" is, since everybody is talkin about it all the time.
  7. Wild_qwerty

    Wild_qwerty Sonny, I Watched the Vault Bein' Built!

    Feb 2, 2004
    sfall is a 'tool' or maybe 'power app' describes it better? Anyway it uses a custom Direct X library (ddraw.dll) file that lets modders load changes into the fallout2.exe file. So in short things that were hard coded into the games engine can now be changed either through new script functions or by changing the settings in the ddraw.ini file.

    There have been other ways to do some of this in the past such as hex editing the fallout2.exe or using a virtual patches (which basicaly hex edit the fallout2.exe in memory but never change the orignal file). sfall of course adds a *lot* more options that simple hex editing was a little to hard to do unless you really knew what you were doing. The added script functions allow the new options to be controled in game as well. In short sfall is probably one of the biggest modding steps for fallout 2 in the last few years

    Did I mention it is simple to use? Just place the ddraw.dll file and the ddraw.ini file in your fallout2 folder it is will automatically load next time you start fallout. It's just a matter of making what ever changes you want from there on.
  8. Lich

    Lich Water Chip? Been There, Done That

    Dec 23, 2004
    sfall look interesting, but maybe i will do it without dig into engine. So i will leave my concept code: you will be tribal trough whole game and vault suit will work as any other armor (just optional add-on) To avoid game crash i will copy tribal critter standing with name of critter holding weapon (he could hold minigun, but not use it)