When I drag my HS file onto HSPEAK, I get an error message not related to my actual code. What am I doing wrong?

From OHRRPGCE-Wiki
Jump to: navigation, search

Game-Files.png

When you're making a game, you tend to acquire a number of files, all with the same name (eg, 'zelda' in the picture). Two of those files ("zelda.hs" and "zelda.hss") are related to plotscripting.

To compile a script, you want to drag your .HSS file on to HSPEAK.EXE. This will cause HSPEAK.EXE to read the script, and magically produce a .HS file, which contains your compiled script. You then import the .HS into CUSTOM.EXE, where it is accessible to your game.

However, if you drag the .HS file on to HSPEAK.EXE, you will get an error something like this:

Hspeak-hs-error.png

This is caused by HSPEAK reading the already-compiled script, and assuming it's plain text (it's not). When it runs into something it doesn't like (almost immediately), it throws up, and gives you that error.

The solution is to drag the .HSS file onto HSPEAK.EXE, not the .HS file.