Explosives

Discussion in 'Modding and Scripting Support' started by Stuart, Sep 19, 2003.

Remove all ads!
Support Terra-Arcanum:

GOG.com

PayPal - The safer, easier way to pay online!
  1. Stuart

    Stuart New Member

    Messages:
    77
    Likes Received:
    0
    Joined:
    Sep 6, 2003
    Well, I need to pull the info out of the .dat-files (I assume) about grenades out so I can look at the damage they do and the like.
    Of course I have no idea of how to do this, so obviously I need help. How do I go about it?

    Thank you.

    -Stuart
     
  2. Silvio-Arjunza

    Silvio-Arjunza New Member

    Messages:
    413
    Likes Received:
    0
    Joined:
    Aug 30, 2003
    I'm not sure if this is the easiest approach, but you could always try opening the .dat file up with notepad... or some sort of uncomplier...
     
  3. Stuart

    Stuart New Member

    Messages:
    77
    Likes Received:
    0
    Joined:
    Sep 6, 2003
    What would you recomend as the easiest approach then?

    -Stuart
     
  4. DarkUnderlord

    DarkUnderlord Administrator Staff Member

    Messages:
    4,315
    Likes Received:
    5
    Joined:
    Nov 10, 2001
    If all you want to do is look at the stats for the grenade (and any otheer weapon), just open up WorldEd, put a grenade in your map, right-click it, then select 'edit' from the menu that pops up. All its stats will be displayed there and you can look at them, right them down, do whatever.

    If you want to CHANGE the damage, you'll need to do some hex editing. Hex edit the .pro files. Which I've never done but others have, so you might want to ask them.
     
  5. Stuart

    Stuart New Member

    Messages:
    77
    Likes Received:
    0
    Joined:
    Sep 6, 2003
    That's EXACTLY what I want to do. Thank you very much. =)

    -Stuart
     
  6. Stuart

    Stuart New Member

    Messages:
    77
    Likes Received:
    0
    Joined:
    Sep 6, 2003
    Ach, damnit. It doesn't display the damage for grenades, since they are general items.
    But it does allow me to check a few other thing that I needed to look at.

    -Stuart
     
  7. Rane

    Rane New Member

    Messages:
    136
    Likes Received:
    0
    Joined:
    Oct 18, 2003
    BOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOM :lol:
     
  8. Stuart

    Stuart New Member

    Messages:
    77
    Likes Received:
    0
    Joined:
    Sep 6, 2003
    If you do feel the need to gravedig, could you at least do it with something useful. I thought that someone had found something that could help me with my question and instead I find a innane comment.
    Very disappointing all in all.

    -Stuart
     
  9. Luck

    Luck New Member

    Messages:
    33
    Likes Received:
    0
    Joined:
    Oct 2, 2003
    Stuart,

    Hex editing should not be needed. There is a .mes file that has the scripts called by tech items and magic spells. I'm at work now so I can't look up the name, but it's where I changed the script that goes with the grenade launcher.

    The damage should be written somewhere in the entry for the grenade.

    Luck
     
  10. Stuart

    Stuart New Member

    Messages:
    77
    Likes Received:
    0
    Joined:
    Sep 6, 2003
    Could you let me know, since I can't seem to find the right one?

    -Stuart
     
  11. Luck

    Luck New Member

    Messages:
    33
    Likes Received:
    0
    Joined:
    Oct 2, 2003
    Well, not until I get home.

    Make sure you are looking in all the places there are .mes files... oemes, rules, semes, etc.
     
  12. Stuart

    Stuart New Member

    Messages:
    77
    Likes Received:
    0
    Joined:
    Sep 6, 2003
    I found it in Rules-folder (at long last), and no wonder I had a hard time finding it: The info I needed was located in the file called Spelllist.mes.

    But I'm happy now and will go back to writing Arcanum the rpg. =)

    -Stuart
     
Our Host!