Jump to content

Problems with loading materials from PAK file


Ywa
 Share

Recommended Posts

Hi everyone,

 

When I try to load the driver-script (through a require function) from Engine.exe (with an editted start.lua to load a scene and such) I get the following runtime error:

Unhandled Exception:Zip data error

 

It seems it's caused by loading materials from the PAK file. Is it protected or some sort, or can it be fixed?

 

Code it gives the error on:

chassis=LoadModel("abstract::vehicle_viperscout.gmf")

 

Thanks in advance!

 

- Ywa

Link to comment
Share on other sites

Yeah I noticed afterwards. It's a shame there's no script example with the monstertruck then. Since I can't get that one work with the other scripts. It keeps hanging in the air (broken phy file?).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...