Total demolishion

Discussion in 'Fallout General Modding' started by Lich, Nov 12, 2007.

  1. Lich

    Lich Water Chip? Been There, Done That

    Dec 23, 2004
    How destroy scenery and walls around using gun? Probably many peoples think before about such effect, and well i found how made it during work on Dust & Blood.

    Ability to shoot doors using gun depend not on script, but type of scenery object. Its hardcoded that every doors (wooden portals) can be destroy using guns. So made new scenery as "wooden portal" to shot it! Ofcourse obiect will just disappear which is not so funny as broke something. But its possible to place different obiect in the same area where was one which you shoot.

    procedure damage_p_proc;
    procedure damage_p_proc begin
    First you need to made alternate scenery. Its not so hard just open frm of chair and modify it as broken chair. In result when you shoot normal chair it will disappear but very quick in the same hex will be placed broken one.

    Script after shot (damage) remove this scenery (you must add script to scenery obiect) and place in the same hex another (destroyed) one. Ofcourse you must known pid number of new scenery (i count it so no problem) Number of last scenery pid is 33556283 each next is that number +1

    Only problem is to create alternate new frms of broken obiects (just modify existing frms) Then you can walk around and shoot everything. This could work also for walls, so when you throw grenade few walls around should fall into ruins.

    Unless you could destroy everything using any gun, so better is give to player only some big shotgun or heavy weapons.

    I think its dont need add scripts to obiects in mapper it could be made during create item proto. Everytime you place such obiect on map it should have such script (possibility to destroy)
  2. Lexx

    Lexx Background Radiant
    Moderator Modder

    Apr 24, 2005
    Yep, nice idea but lots of work, if you want to make the hole world destroyable. :)
  3. Forgotten Knight

    Forgotten Knight Time traveler stuck in time... Modder

    May 24, 2006
    Yes, it's a long existing idea to demolish things. Nice thinking :clap: Very usable for scenery like chairs, book shelves, wooden tables and doors... Imagine, when you shoot at metal table you make holes in it, awesome!!
    So the whole idea basically means to make a replacement object for every scenery or wall that you can shoot at to make the damage visible and also to assign scripts to those objects(except doors). It could be done and it would look very cool and enjoyable :mrgreen:
    I'm not sure about walls, they aren't supposed to be breakable. And also, that means to make damaged walls look differently. Lot of work though, but it's a cool idea to start with. :clap:

    Is there a way to add a frame to wall .frm file, make it behave like door and change the object frame when it's damaged and don't disappear. :question:
  4. Continuum

    Continuum Vault Fossil

    Nov 8, 2006
    Yeah, but when you're shooting to something there're also effects (e.g. flying debris)... and that means animated frms (especially when you're throwing grenades into the wall).
  5. Lich

    Lich Water Chip? Been There, Done That

    Dec 23, 2004
    Probably when player dont have reason to destroy something he will dont do it (waste of ammo) So its dont need to use destroyable option on everything instead of some important to quest area. Here is few ideas:

    Barricade (similar to Fallout Tactics) they could also explode because exist command "explode" unless it dont work when combat mode is initialised. Shoot on barrel could flame it (turn scenery of barrel to flame barrel)

    Laboratory: as you known exist in F2 some bio-containers normal and destroyed version. So its just only need to make ability turn normal to his destroyed version (dont need add new graphic) For example quest where you must destroy mutants embrions in bio containers in some laboratory. Script could be extend to get experience after destroy such scenery. Again similar stuff was in FT
  6. Forgotten Knight

    Forgotten Knight Time traveler stuck in time... Modder

    May 24, 2006
    Yep, FT has all the answers.
    Great! And those toxic barrels, when you shoot at them, that liquid green toxic waste spills around and spreads radiation :mrgreen:
    Or breakable computers, so you have to be careful not to destroy missile control computer and start nuclear launch!:twisted:
  7. Kanhef

    Kanhef Vault Dweller

    Sep 2, 2007
    Having the Enclave reactor control computers actually look destroyed would be nice. I'm not sure it would be as easy, but being able to open locked containers the same way would be fun. Shooting the lock off a refrigerator or blowing open a footlocker with dynamite, for example.
  8. Lich

    Lich Water Chip? Been There, Done That

    Dec 23, 2004
    Have idea: fence door with rusty padlock, which you are unable to open using any locpicks (door with script which make it impossible to open) To open such door you need to use force, for example shoot on padlock. One door with script will disappear and in the same place will be generated similar door without script. So after shoot you may open it normally. Doors could have different descriptions 1: fence door with rusty padlock, 2: fence door

    This could work also for containers, but second (generated) container must have extra script to place stuff inside.