Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Weapon reloads in scripts

  1. #1
    ... connecting
    Join Date
    Oct 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Weapon reloads in scripts

    Hi!
    I would like to make the weapon's reloads in script because my mod is a developed botzom called Dream Team's Nazizom, and I want to make the quick reload perk easier to set more weapons in the game. Since, i don't know how to work it, I worked it to set 2 _mp file for one weapon: a fast_mp and a simple _mp. But because of it i must work with less weapons...
    Thanks for the answer.
    Nyaa

  2. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    I would like to help but have no idea what it is you want to do from that description. Could you please rephrase your explanation again, saying what it is you want to do, and what circumstances you want it to happen.

  3. #3
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    He wants to dynamically adjust the speed of the reload-animation, but i guess thats not possible. :S
    timescale 0.01

  4. #4
    ... connecting
    Join Date
    Oct 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Its possible. I have seen Tobby's mod, but he isn't so kind people, and doesnt tell me...
    So,
    I would like to set the weapon's reload time but not in the weapon_mp! In the script, somehow...
    Any idea?

  5. #5
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by nyaa View Post
    Its possible. I have seen Tobby's mod, but he isn't so kind people, and doesnt tell me...
    So,
    I would like to set the weapon's reload time but not in the weapon_mp! In the script, somehow...
    Any idea?
    You can't set any animation settings through script. The engine just doesn't support it. You would have to use multiple weapon files, and switch them back and forth. In fact, I'm not even sure you can adjust an animations speed without re-recording the animation in Maya all over again, and recompiling it back into xanim. I'm pretty sure just trying to adjust any values in a weapon file alone would do diddly squat.
    Last edited by Tally; 9th November 2012 at 21:26.

  6. The Following User Says Thank You to Tally For This Useful Post:

    2ReaL (11th November 2012)

  7. #6
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Quote Originally Posted by nyaa View Post
    Its possible. I have seen Tobby's mod
    Can you post the IP, please?
    timescale 0.01

  8. #7
    Corporal Killer.Pro's Avatar
    Join Date
    Jul 2012
    Location
    belgium
    Posts
    274
    Thanks
    102
    Thanked 213 Times in 141 Posts
    Easy way to do it is when you go to that fast reload perk press F and then the mp_kar98k will change to mp_kar98k_fast....You need to make a copy of that fist file and then open it with note pad,in the data of the weapon you will see reload time and reload start ,reload end and some stuff like that..just change it to how many seconds you want to take while reloading after fast perk
    Please call me Killer.Pro

  9. The Following 2 Users Say Thank You to Killer.Pro For This Useful Post:

    2ReaL (11th November 2012),kung foo man (10th November 2012)

  10. #8
    Corporal Killer.Pro's Avatar
    Join Date
    Jul 2012
    Location
    belgium
    Posts
    274
    Thanks
    102
    Thanked 213 Times in 141 Posts
    See the difference between normal and fast kar98k...just cheak it in game without mod because i put it in iwds
    normal : http://www.mediafire.com/?7m4ev6c41ns85m8
    fast : http://www.mediafire.com/?oufownvdj0evrvl

    I didn't rename them but you can do it if you use these in game
    Please call me Killer.Pro

  11. #9
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Here are the differences:



    the one on the right is the normal reload times; the one on the left, the fast times.

  12. The Following 3 Users Say Thank You to Tally For This Useful Post:

    2ReaL (11th November 2012),Killer.Pro (10th November 2012),kung foo man (10th November 2012)

  13. #10
    Corporal Killer.Pro's Avatar
    Join Date
    Jul 2012
    Location
    belgium
    Posts
    274
    Thanks
    102
    Thanked 213 Times in 141 Posts
    FAIL! I think you are mistaking sir Isn't right fast and left normal?
    Last edited by IzNoGoD; 10th November 2012 at 09:51. Reason: No need to call "FAIL" when a person makes a tiny mistake. Save it for the bigger mistakes.
    Please call me Killer.Pro

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •