Jump to content

Can't compile a script


Xero77

Recommended Posts

Hey everyone,

everytime i start the game i get this error:

Error [content0]game\cameras\exploration\driftcamera.ws(131): Class 'CCameraRotationControllerDrift' already defined.

 

I've looked for a solution to this on this forum and a bunch of other websites and managed to get all other errors fixed but this one.

Does any of you know how to solve this?

 

Thx

Edited by Xero77
Link to comment
Share on other sites

Something went wrong when you updated the game.

 

In version 1.08 the CCameraRotationControllerDrift was defined in game\cameras\combat\customCameraControllers.ws file.

In version 1.10 the class is defined in game\cameras\exploration\driftCamera.ws file.

 

For some reason you have the customCameraControllers.ws file from 1.08 and driftCamera.ws file from 1.10+.

 

A quick fix in this case is to edit the customCameraControllers.ws file and to remove the the last 3 lines. In this way you convert it to 1.10+ version. But who knows what other files you still have from 1.08? Even if you don't see a compilation error it doesn't mean that you still don't have files from a previous version.

 

Is better to remove the entire scripts folder and to verify game's integrity (if you're using Steam or GOG). The missing files will be downloaded again (the scripts folder has 20 MB).

Link to comment
Share on other sites

  • Recently Browsing   0 members

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