Jump to content

joordann

Member
  • Posts

    3
  • Joined

  • Last visited

Reputation Activity

  1. Like
    joordann got a reaction from Arsenal26 in Add a function to a tool/weapon   
    Hi,
     
    So i was playing with my burglar yesterday and i came across a barricaded door, i wanted to enter that said door but i didnt have a hammer, only a CROWBAR, which i could use it to take the planks of something irl but i could'nt for some reason in the game.
     
    And then i had an idea: Let make a mod!
     
    I was looking trough out the files trying to find the expecific file or line to make a .lua script and add the function to the crowbar in game, but i could'nt.
     
    So i was wondering if someone out there can tell me how the hell can i do that?
     
    A simple as add a function to something is making my head hurt, im not too familiar with lua or java, but i have SOME xp in programming.
     
    So please, help me.
     
    I just need to add the ability to unbarricade stuff with a crowbar and nothing more
     
    Thanks and sorry if my english is a bit broken, its not my first language!
     
    (allready read some tutorials i found but i coud'nt find the how to add function to itens like this)
    (also, thanks again  )
     
×
×
  • Create New...