Aller au contenu

Photo

why would a custom "gen00pt_skills.ncs" file not load as part of a mod?


  • Veuillez vous connecter pour répondre
11 réponses à ce sujet

#1
Rolenka

Rolenka
  • Members
  • 2 257 messages
The module is an extention of core game files, so I've got it in my module's core/override/toolsetexport folder. It doesn't work.

But when I've got it in My Documents/Bioware/Dragon Age/Packages/Core/Override/Toolsetexport, it does work.

I'm also packaging a custom gen00pt_attributes.ncs, which works in both locations.

I've heard of custom core scripts not working in modules, but that doesn't seem like it should be the case here...

#2
Craig Graff

Craig Graff
  • Members
  • 608 messages
Is the custom gen00pt_attributes.ncs in the same module as the gen00pt_skills.ncs?

#3
Rolenka

Rolenka
  • Members
  • 2 257 messages
Yes.

#4
fluffyamoeba

fluffyamoeba
  • Members
  • 264 messages
Have you checked you dont hve another addin enabled that uses its own custom version of gen00pt_skills but not gen00pt_attributes?

#5
Rolenka

Rolenka
  • Members
  • 2 257 messages
Yes. I do not.

I even disabled all of my other addins except for this one, and that one file still doesn't work as part of a module.

Modifié par Rolenka, 10 février 2010 - 03:21 .


#6
Proleric

Proleric
  • Members
  • 2 360 messages
Does it work if you put the override in Addins>[module name]>module>override>toolsetexport? That's where scripts made in the toolset are generally loaded from.

#7
Rolenka

Rolenka
  • Members
  • 2 257 messages
Only if "extended module" is set to "single player." If it's set to "core game resources," you need it in [module name]>core>override>toolsetexport.



I tried putting it in module>override>toolsetexport as you suggested anyway. I expected neither file to work, but as was the case before, only gen00pt_attributes.ncs worked.



It appears to be a bug with the game related to gen00pt_skills.ncs. Did you find anything out, Craig?

#8
anakin5

anakin5
  • Members
  • 258 messages
it is strange because this file IS a core game resource. Also, the original version is located in designerscripts.rim, as gen00pt_attributes.ncs.

If I were you, I would search if there is not a reason for this script to fail on load. i.e check the header of the file with an hex editor or something.
Also, is there a change that the file load but you cannot see any difference because of an error in the script ? Did you change the #include of this file ?

Modifié par anakin5, 10 février 2010 - 10:35 .


#9
Rolenka

Rolenka
  • Members
  • 2 257 messages
I know there's nothing wrong with the file or my code because it works fine when it's in "My Documents/Bioware/Dragon Age/Packages/Core/Override/Toolsetexport."

#10
anakin5

anakin5
  • Members
  • 258 messages
if you include a single player header, for example, it make the file working in module/override but not in core/override

#11
Rolenka

Rolenka
  • Members
  • 2 257 messages
It works in neither. (I didn't change the includes.)

Modifié par Rolenka, 11 février 2010 - 12:09 .


#12
Rolenka

Rolenka
  • Members
  • 2 257 messages
Regardless, these are the includes in the file:



#include "plt_gen00pt_skills"

#include "utility_h"

// included in achievement_core_h; #include "wrappers_h"

#include "global_objects_h"

#include "plot_h"

#include "achievement_core_h"




If the module didn't have access to them however, it wouldn't have compiled...