Jump to content

How can i add Custom-Models to the Map Editor?


Blizz09

Recommended Posts

Problem Solved. :P

But my Plate has no Collision and no Texture.. Does anyone no why? :o

Code:

function LoadPlate() 
    txd = engineLoadTXD ( "Big_Plate.txd" ) 
    engineImportTXD ( txd_floors, 3781 ) 
    col = engineLoadCOL ( "Big_Plate.col" ) 
    dff = engineLoadDFF ( "Big_Plate.dff", 0 ) 
    engineReplaceCOL ( col, 3781 ) 
    engineReplaceModel ( dff, 3781 ) 
end 
  
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), LoadPlate) 

Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...