Jump to content

Compiling Racemenu Overlay Script


Bwog

Recommended Posts

Posted

Short version: can somebody compile the attached Racemenu overlay script?

A user can make overlays (dds-files) and bring them in game by overwriting the files of existing Racemenu overlay plugins. Racemenu includes a netimmerse skse plugin for the overlays.

To experiment with overlays attached files would be handy; the user can overwrite one or more of the dummy .dds files with self-made creations.

I have tried to include this in the game, but compile failes. This could be due to a beginners mistake, or perhaps specialized knowledge about the netimmerse skse plugin is needed.

Attached are: the script for the overlay quest, the properties for the script and the dummy .dds files.

(6 files for hands, feet, is a lot, but it allows the user to experiment with multiple files simultanously. Existing racemenu plugins have 2 files for hands, while I need at least 3 to handle 3 independant glowing colors.

The user would have to edit nioveride.ini to get more than 3 overlays for hands, feet and face.)
 

 

 

SixColorOverlay.7z

 

 

 

 

 

 

Posted

Some basic questions:

1) new .esp

I open the CK and select nothing, I make new quest and save as SixColorOverlay.esp.

Is this OK, or should I open the CK and select skyrim.esm, update.esm and Racemenu.esp and then make the new esp?

2) I open the CK and select only SixColorOverlay.esp, it is the active file.

Now I open the quest and want to add the code of the script: add new script, Name SixColorOverlay Extends RaceMenuBase

Immediately compiling begins, it fails because there was no chance to add the script code!

However, it made a SixColorOverlay.psc. I close the CK and copy the code in SixColorOverlay.psc, I put SixColorOverlay.psc in scripts/source.

3) I open the CK and select only SixColorOverlay.esp, it is the active file.
Now I open the quest and want to open SixColorOverlay.psc. This is not possible because it is not in the list of scripts, also not hidden. However, when I select new script it complains that SixColorOverlay.psc already exist and that I should choose a different name.

 

Posted

1) Is OK

 

Delete scripts\source\SixColorOverlay.psc (also scripts\SixColorOverlay.pex if exists)

 

Go back to 2) and try again. Same name SixColorOverlay, but extending "Quest" instead of RaceMenuBase (you can change it later). Save the blank script. Does it work? Continue from here.

 

Then paste your entire racemenu script and try to save.

Posted

Add new script, name sixcoloroverlay extends quest can be saved. Now I tried 3 things.

 

1) Copy the entire code, the first line is now: Scriptname SixColorOverlay extends RaceMenuBase

This makes sense to me, but compile fails, see 1st attachment.

 

2) Copy the entire code, except the first line is now: Scriptname SixColorOverlay extends Quest

This makes not much sense to me, and compile fails, however with much less different complaints, see 2nd attachment.

 

3) I tried to enter Properties for script SixColorOverlay. These can now be entered. However, they end up in the script (and they do not belong there).

 

 

 

 

 

 

 

 

 

Posted

I think I did that already, I will check this. There may be another issue, Racemenu also has a "loose base scripts" file and that also has a RaceMenuBase.psc and RaceMenuLoad.psc. It may be that these should be used instead of those of Racemenu, but perhaps they were not overwritten at all.

 

I will continue tomorrow, with a fresh look on these things.

 

Thanks for your patient help so far B3lisario, it is much appreciated.

Posted

"Compile it through the CK, saving the script file.
Also save your file in the source folder, not source\temp"

 

That was already OK (there are no files in source/temp).

 

Your previous messages where about having the right .psc in source, so I checked them.

On the RaceMenu page there are loose base scripts which are needed for the other overlay mods. My install has them. There is also a modders package, after installation compile still fails with the same messages as posted above.

Posted

Thanks a lot Uriel. I will try to get it in game. Do you know what I did wrong, or will that take to much time to explain?

 

Anyway, I am happy with the script, because I was already struggling with it before I posted here.

Posted

Well, no idea actually. But i was getting same errors with source scripts from the current Skyrim install. Then i pointed the compiler to my old Skyrim install with it's over nine thousand!!!111(actually ~14k) .psc's. And it compiled just fine. So, i think you were just missing some necessary sources.

Posted

9000 psc' s, that is a nice asset for someone who knows how to handle that.  I will try now if it works.

Posted

You did it in one attempt!

 

Quick pic: the glowing green grid on the hands is color 3 (next to blue and orange).

post-152743-0-76761600-1398786872_thumb.jpg

 

I will test some more and make a plugin of the files.

Posted

OK, I made the plugin.  The plugin works as intended.

 

I tested in Skyrim: It works when other overlay mods are present or absent. I had an unintended (but reversible) glow effect once when two overlay mods added textures to the same area.

It works when Racemenu Loose Base Scripts v2-5-0 is present or absent. TES5Edit gave no warnings on loading.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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