Results 1 to 9 of 9

Thread: How edit script turret?

  1. #1
    Private
    Join Date
    Aug 2012
    Posts
    78
    Thanks
    20
    Thanked 10 Times in 5 Posts

    How edit script turret?

    Hey ,how edit script 30cal and mg42?
    It is a turret that are on the map...

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Without proper english this question can never be answered.

  3. #3
    Private
    Join Date
    Aug 2012
    Posts
    78
    Thanks
    20
    Thanked 10 Times in 5 Posts
    I would like to edit the code to arms MG42, it's about a weapon that is on the map as a turret.

  4. #4
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    All turret animations are engine driven. There is almost no way you can edit them. They are not like other weapon animations, because they don't use xanims.

  5. #5
    Private
    Join Date
    Jul 2012
    Posts
    76
    Thanks
    9
    Thanked 56 Times in 38 Posts
    idleAnim\proneMG42gun_aim_forward_medium\fireAnim\ proneMG42gun_fire_forward_medium

    That's from the mg42_bipod_prone_mp weaponfile. So they have indeed weapon animations.

    "mg42_bipod_stand_mp"
    "mg42_bipod_duck_mp"
    "mg42_bipod_prone_mp"
    "30cal_prone_mp"
    "30cal_stand_mp"
    That's the name of all turrets that occur in CoD2. You can create your own animations and then simply edit the weaponfile and done.
    I hope I'm not mistaken, Tally.

    EDIT: I'm still not really sure if the animations are what he's looking for. I mean, he talked about 'code'..
    Last edited by Peterlankton; 18th July 2013 at 09:32.

  6. #6
    Private
    Join Date
    Aug 2012
    Posts
    78
    Thanks
    20
    Thanked 10 Times in 5 Posts
    Yes, I am looking for a code of these turrets ;(

  7. #7
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by Peterlankton View Post
    idleAnim\proneMG42gun_aim_forward_medium\fireAnim\ proneMG42gun_fire_forward_medium

    That's from the mg42_bipod_prone_mp weaponfile. So they have indeed weapon animations.

    "mg42_bipod_stand_mp"
    "mg42_bipod_duck_mp"
    "mg42_bipod_prone_mp"
    "30cal_prone_mp"
    "30cal_stand_mp"
    That's the name of all turrets that occur in CoD2. You can create your own animations and then simply edit the weaponfile and done.
    I hope I'm not mistaken, Tally.

    EDIT: I'm still not really sure if the animations are what he's looking for. I mean, he talked about 'code'..

    Why do people on this forum never read what someone says? Did I say the turrets don't have animations? No. I didn't. I said they don't use xanims for the first person animations. I said the first person turret animations are created by the engine.

    All animations driven by .SCRIPT and .ATR files (eg proneMG42gun_fire_forward_medium) are WORLD/THIRD PERSON animations. The FIRST PERSON animations you see when you hold a turret are created by the game engine. They are extrapolations of certain elements from both first person and third person. There are no files to edit for this. You cannot change them, other than some small token angle settings they are set in stone.

    I did a tutorial on editing/changing/creating custom 3rd person/world animations here:

    http://killtube.org/showthread.php?1...ons-%28COD4%29
    Last edited by Tally; 18th July 2013 at 12:16.

  8. #8
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by Moczulak View Post
    Yes, I am looking for a code of these turrets ;(
    What exactly is it you are trying to do with the turrets? What would you do to the code if you found it? What would you change?

  9. #9
    Private
    Join Date
    Jul 2012
    Posts
    76
    Thanks
    9
    Thanked 56 Times in 38 Posts
    Quote Originally Posted by Tally View Post
    Why do people on this forum never read what someone says? Did I say the turrets don't have animations? No. I didn't. I said they don't use xanims for the first person animations. I said the first person turret animations are created by the engine.
    pronemg42gun_fire_forward_medium is an .xanim file and for usual what's behind "idleAnim/" in the weaponfile is the name of the xanim file for first person idle animation. Looks like the turrets handle it differently, my bad.

Posting Permissions

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