Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
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 121 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
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
    • Resxtundefined Offline
      Resxtundefined Offline
      Resxt Plutonium Staff
      replied to coolpool718 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

        • Login

        • Don't have an account? Register

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