Results 1 to 6 of 6

Thread: Using Custom AI types and weapon files - AI not shooting

  1. #1
    Private
    Join Date
    Jan 2015
    Posts
    112
    Thanks
    22
    Thanked 32 Times in 17 Posts

    Using Custom AI types and weapon files - AI not shooting

    Hey guys,

    I was trying to work on a new singleplayer mission in CoD2 with custom AI using CoD4 models and custom weapon files (basically it's not replacing existing CoD2 weapons like a lot of other weapon mods). I made sure to precache everything and the AI files seem fine to me, but when I run the level I get the error shown in the below screenshot. If I run the mission with /developer 0, the level starts but the AI look like they're constantly reloading and they can't shoot; however, they can melee me. I guess is that this has something to do with the weapon files since I didn't make any changes to animscripts.gsc, but I'm not quite sure where the root of the problem is.
    Then again, this community is mostly MP modding-based, but at this point I'm just trying my best to look for the slightest hint.

    Click image for larger version. 

Name:	shot0000.jpg 
Views:	82 
Size:	168.3 KB 
ID:	1115

  2. #2
    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
    Can you upload some .iwd to reproduce this? I did SP modding just a few times, but I would try around a bit.
    timescale 0.01

  3. #3
    Private
    Join Date
    Jan 2015
    Posts
    112
    Thanks
    22
    Thanked 32 Times in 17 Posts
    Sorry, I'll get back to this topic in a couple weeks. I'm on vacation ans I don't have my laptop with me.

  4. #4
    Private milepunta's Avatar
    Join Date
    Jan 2014
    Location
    Croatia, Pula
    Posts
    27
    Thanks
    14
    Thanked 26 Times in 11 Posts
    just go to line 31 and see error
    As you once said I'm nothing but a monster!

  5. #5
    Private
    Join Date
    Jan 2015
    Posts
    112
    Thanks
    22
    Thanked 32 Times in 17 Posts
    Almost forgot about this thread.
    Anyway, I'm stupid. Can't believe I overlooked something as simple as this:
    Click image for larger version. 

Name:	Capture.PNG 
Views:	31 
Size:	77.5 KB 
ID:	1128

    To fix, I just gotta add lines to define certain variables needed to play the npc anims for my custom weapons. Problem solved.

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

    kung foo man (11th July 2016)

  7. #6
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Keep us updated about this mod please

Posting Permissions

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