Author Topic: How do I include prints in a gamemode?  (Read 2931 times)

I've been making a gamemode for a while now and I want to include all the needed files and such inside the gamemode folder. So far it's worked fine, but at one point after testing the game so far, I got booted back to the main menu with a popup that said something like "VCE should be added to the Gamemode.txt." But I never got that kind of message when I was missing any other add-ons, I just got the usual red text underneath the gamemode description. And I don't think the build or anything even used VCE in the first place
     And to make matters worse, I tried including VCE in the gamemode files to get rid of it, but the only way to get rid of the popup is if I added VCE to the required add-ons list in the gamemode.txt, which kind of ruins the whole idea of including all the files with the gamemode.

edit- Here's the console log

Does anybody have any idea what's going on?



Alrighty, that problem is fixed. But now I have another question, and as long as I have this topic up I might as well post it here-

How would I include a print inside a gamemode? For most add-ons I know I just unzip it into a folder inside the gamemode and execute the server.cs, but prints don't exactly have server.cs's, and the ones that do are blank.
« Last Edit: May 25, 2013, 11:30:57 PM by Mysteroo »

Try disabling Event_Variables on your side.

Try disabling Event_Variables on your side.
What do you mean? I can't disable specific add-ons when I start a gamemode. The only way to disable it is by taking it out of the gamemode.txt, but that's when I get this error. But I don't understand why I'm getting it because I didn't even use VCE in the build or anything

One of the add-ons in your gamemode is using forceRequiredAddon(Event_Variables)

One of the add-ons in your gamemode is using forceRequiredAddon(Event_Variables)
Hmm, alrighty, thanks. I'll try to figure out which one it is when I get home

Any idea which one it might be?

edit- Using the magical ctr+f I found out that it's event_elevators. Do elevator events really need VCE? Or would it be ok if I just got rid of that line of code forcing VCE?
« Last Edit: May 22, 2013, 02:41:09 PM by Mysteroo »

Alrighty, that problem is fixed. But now I have another question, and as long as I have this topic up I might as well post it here-

How would I include a print inside a gamemode? For most add-ons I know I just unzip it into a folder inside the gamemode and execute the server.cs, but prints don't exactly have server.cs's, and the ones that do are blank.

Alrighty, that problem is fixed. But now I have another question, and as long as I have this topic up I might as well post it here-

How would I include a print inside a gamemode? For most add-ons I know I just unzip it into a folder inside the gamemode and execute the server.cs, but prints don't exactly have server.cs's, and the ones that do are blank.
You can probably just put print/icon folders inside the minigame and it will work (correct me if i'm wrong)

You can probably just put print/icon folders inside the minigame and it will work (correct me if i'm wrong)
If you mean the gamemode folder, than no I can't. I didn't think it would work but I tried it anyways, and it doesn't. I think it needs some way of knowing whether it's a 1x1 or a 1x2 or some other size print, which it can't figure out if you just place it in a print/icon folder

...3 days later
Doesn't anybody know how this can be done?

this is a slow forum.

You probably have to have it as a print add-on. Prints are probably one of those add-on types that are detected by the add-on .zip category.

this is a slow forum.

You probably have to have it as a print add-on. Prints are probably one of those add-on types that are detected by the add-on .zip category.
Thanks, but I'm looking for a way to include the files in the gamemode itself. So that people don't have to download a whole lot of files for this one gamemode

...10 days later

Should I take it that nobody who visits this part of the forums knows the answer then?

Impossible. Prints require the Print_ prefix to work.

Impossible. Prints require the Print_ prefix to work.
well

crap

that was a massive waste of time... lol
Thanks for answering