Results 1 to 8 of 8

Thread: Custom Models Issue

  1. #1
    FearEngine676's Avatar



    Join Date
    Aug 14, 2010
    Last Online
    Sep 05, 2010
    Posts
    4
    Threads
    1



    Custom Models Issue


    The wiki is fail, the blogs are dead, and thiers only one almost
    useful post on this forum about adding custom props to the game
    through sourceop.

    1. Can it be done ?
    2. Is this the correct way of doing it if so ?

    custom1
    {
    model = models/cs_market2/caddie_physics.mdl
    spawnmode = 0
    category = egn_content { I also tried misc }
    }

    The model is a physics prop and I tested it in game with prop_physics_create. The files are all added in the correct places.
    The message I get is - [SourceOP] Spawn Failed.
    This is for HL2DM - Server

  2. #2
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    1. Yes
    2. Yes. Try changing spawnmode to 1 or 2.

  3. #3
    FearEngine676's Avatar



    Join Date
    Aug 14, 2010
    Last Online
    Sep 05, 2010
    Posts
    4
    Threads
    1




    Quote Originally Posted by Drunken_F00l
    1. Yes
    2. Yes. Try changing spawnmode to 1 or 2.
    Tried both 0,1,2 still got nothing.

    Can you explain to me at all how your code pulls these models ?

    Does any of the custom content have to be under sourceOP
    models folder ?

    Does it matter if the model is Dynamic, Phys, and Static ?
    I'm guessing thats what the modes are for.

    I use alot of custom plugins, but nothing that should conflict with
    your mod so im lost here. The only other thing I can think of is that I
    use eventscripts to forcedownload files, not your txt file. Does the plugin need to see the models in your forcedownloads txt ?

  4. #4
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    Type 0 will spawn a prop_physics_multiplayer
    Type 1 will spawn a prop_physics
    Type 2 will spawn a prop_dynamic

    The server console should have some clue saying why the prop was deleted.

  5. #5
    FearEngine676's Avatar



    Join Date
    Aug 14, 2010
    Last Online
    Sep 05, 2010
    Posts
    4
    Threads
    1




    Quote Originally Posted by Drunken_F00l
    Type 0 will spawn a prop_physics_multiplayer
    Type 1 will spawn a prop_physics
    Type 2 will spawn a prop_dynamic

    The server console should have some clue saying why the prop was deleted.
    Here's what it said:

    Late Precache of models/error.mdl
    ERROR! Can't create physics object for models/error.mdl

    After seeing this I thought I was a jackass for not adding it
    to the DF_precache.txt, but sadly I dont think that was the case, this is how I put it in the txt. But still it's giving me the same error.

    1 models/cs_market2/caddie_physics.mdl

    Now it's either the model isnt precaching or the model is
    not going to work period idk you tell me. Wouldnt make any sense
    to say its corrupted, or incompatible since it spawns fine with prop_physics_create.

  6. #6
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    You shouldn't need to precache it. Check that you have the right path to the model and that there are no trailing spaces or weird characters or something. Error.mdl is spawned by the engine when the model used does not exist or can't be loaded.

  7. #7
    FearEngine676's Avatar



    Join Date
    Aug 14, 2010
    Last Online
    Sep 05, 2010
    Posts
    4
    Threads
    1




    Quote Originally Posted by Drunken_F00l
    You shouldn't need to precache it. Check that you have the right path to the model and that there are no trailing spaces or weird characters or something. Error.mdl is spawned by the engine when the model used does not exist or can't be loaded.
    Well, I'm just gonna call it quits until I can find someone else
    that uses sourceop spawnalias and see if its the model thats screwed
    up.

    Thanks for your help

  8. #8
    fapsauss's Avatar



    Join Date
    Apr 13, 2011
    Last Online
    Apr 18, 2011
    Posts
    6
    Threads
    1




    cant get any to work lol

Tags for this Thread