Jump to content

Recommended Posts

Posted

Hello RAGE MP community.

I'm creating my own game mode for rage. Basically what I just need is to import custom objects into my game mode. For this purpose I downloaded DLC pack base, provided in this topic, after that I downloaded *.ydr models & *.ytyp file of the pizza slice, which basically I gonna use in the game on the eating animation. Using OpenIV I've imported YDR & YTYP files to according directories, as readme says. So in the end I have dlc.rpf with few *.ydr & 1 *.ytyp file, which I put successfully into client_packages/game_resources/foldername/dlc.rpf. After that I need to create an object with mp.objects.new and attach it to the player but game returns me an error saying "Cannot read property attachTo of undefined" meaning mp.objects.new returns undefined when I try to create it. The name of the objects I use the same as it specified in .ytyp file, also it's the same as the file name of .ydr file. Can you please advise how do I add custom objects to the game so I can attach it to the player and what is actually the proper way to create DLC packs with custom objects and use them after in the game mode.

Thanks

 

P.S. I would like to share the screenshot of the structure if dlcpack in the OpenIV but I don't see how I do that here 

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...