FOV

by Bravo1
A short supplemental library to include field of view!
Bravo, you are including get_ procs wrong.

Put this line into the project:
#include <bravo1\get_procs\get_ procs>

Note, the format.
hubowner\hubpath\nameOfDME

You only need to include the name of the DME if the name does not match the hub path, spaces matter.

This will properly create an include.txt, with the following in it:
Bravo1.get_procs version=3


This will properly download the needed libraries automatically when a user downloads this from the hub.

edit:
You could create your own include.txt too, with just the
key.hubpath version=bleh
too.
Thanks!
Actually I'm having trouble getting this to work.

Not only does it not download the library but now, for some reason, I can no longer include my demo files.
What does your DME look like?
#define FILE_DIR .
#define FILE_DIR "demo"
// END_FILE_DIR

// BEGIN_PREFERENCES
// END_PREFERENCES

// BEGIN_INCLUDE
#include "FOV.dm"
#ifdef __MAIN__ // BEGIN_DEMO
#include "demo\demo.dm"
#include "demo\demo_map.dmm"
#endif // END_DEMO
// END_INCLUDE

#include <bravo1\get_procs\get_ procs>

Hm, what happens if you ditch the #include line, and simply check off the library in the Lib directory, and then compile/package?
this line is before #include "FOV.dm"

#include <Bravo1\get_procs\get_ procs\get_ procs.dme>
That's fine then. Does the packaging work correctly?
Upon packaging, it should put an include.txt in the fov_src.zip file.
For some reason, now I can't create .zip files anymore. it says they're made but they don't exist.
Are you sure? Are you checking in the proper folder?
Yep. I've had it create the zip in the folder, my desktop, my documents, and even tried my second hard drive. the .zip just doesn't want to show up.
I've also tried reinstalling BYOND, doesn't work.
Does creating the zip in other environments work? There's no way that that the #include could stop it from creating the zip, as long as there are files properly included according to the DME.
I managed to get them to show up, seems like it was the path that was wrong in the .zip creation. it was making new folders on other user account instead of using my user account. Strange.

Regarldess I'm still having issues with auto-downloading get_ procs through FOV.
It should automatically download when someone downloads it from the hub, the pager checks include.txt and downloads the needed libraries.
Could probably make a Feature request that Dream Maker downloads needed libraries at compile-time from the hub, if they aren't in /lib.
which of the inclusion things would I put the include.txt in when making the .zip?
Bravo1.get_procs version=3
Yes but when I go through the package settings, how do I add the include.txt to the .zip? Or do I just add it normally?
Yeah...but, it should automatically get generated and added to the zip, if you have the actual get_procs library included (checked off in /lib)
I do but it isn't created.
Page: 1 2 3