Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

  1. Home
  2. MW3 Modding Support & Discussion
  3. error with porting custom playmermodel

error with porting custom playmermodel

Scheduled Pinned Locked Moved MW3 Modding Support & Discussion
3 Posts 2 Posters 388 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • coolpool718undefined Offline
    coolpool718undefined Offline
    coolpool718
    wrote on last edited by
    #1

    im trying to port this kermit model from cod4, i can load into game but the game crashes when i go thirdperson or kill myself (show the model pretty much)

    alt text
    crashdump

    Resxtundefined 1 Reply Last reply
    0
    • coolpool718undefined coolpool718

      im trying to port this kermit model from cod4, i can load into game but the game crashes when i go thirdperson or kill myself (show the model pretty much)

      alt text
      crashdump

      Resxtundefined Offline
      Resxtundefined Offline
      Resxt
      Plutonium Staff
      wrote on last edited by Resxt
      #2

      coolpool718 I don't have any knowledge about this so I can't help you but for my Shrek player model I use this.
      Maybe you're missing something like precacheModel() ?

      init()
      {
          precacheModel( "shrekmp" );
          level thread onPlayerConnect();
      }
      
      onPlayerConnect()
      {
        for(;;)
        {
          level waittill( "connected", player );
          player thread onPlayerSpawned();
        }
      }
      
      onPlayerSpawned()
      {
        self endon("disconnect");
        for(;;)
        { 
          self waittill("changed_kit");
          
          self detachAll();
          self setModel("shrekmp");
        }
      }
      
      1 Reply Last reply
      0
      • coolpool718undefined Offline
        coolpool718undefined Offline
        coolpool718
        wrote on last edited by
        #3

        nope i had precachemodel in my gsc i also tried precacheshader get same error with my script and yours

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Groups