Barba-negra 117 Posted January 5, 2019 hello all guys, greetings to all, I come here to ask for help, I am currently having a problem where the game is closing because there is a file description.ext, where it tells me that the file does not work, the route is this #include "\Subs\scripts\line\UI\defines.hpp" subs.pbo is my mod, and I'm loading it with the game launcher, I'm thinking the route is bad, but I've tried it with weapons and it works well, the problem is the game's launcher, what could be happening? please help Share this post Link to post Share on other sites
mrcurry 508 Posted January 5, 2019 5 hours ago, Barba-negra said: hello all guys, greetings to all, I come here to ask for help, I am currently having a problem where the game is closing because there is a file description.ext, where it tells me that the file does not work, the route is this #include "\Subs\scripts\line\UI\defines.hpp" subs.pbo is my mod, and I'm loading it with the game launcher, I'm thinking the route is bad, but I've tried it with weapons and it works well, the problem is the game's launcher, what could be happening? please help 1. This belongs more in the moding section. 2. You forgot to include what your mod's actual folder structure looks like Share this post Link to post Share on other sites
Barba-negra 117 Posted January 5, 2019 I am a bit lost. Next, when you refer to the actual structure of the folders do you mean the location path of the hpp? Maybe it could be that the reading of scripts from mods is bad? \Subs\scripts\line\UI\defines.hpp that is the route that you currently have, is this how I can read a scripts from a mod or am I wrong? Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted January 5, 2019 6 hours ago, Barba-negra said: \Subs\scripts\line\UI\defines.hpp class RscTitles { #include "\Your_Mod_Name\Subs\scripts\line\UI\defines.hpp" }; Share this post Link to post Share on other sites
Barba-negra 117 Posted January 5, 2019 hello GEORGE FLOROS GR, What exactly should I put in the description? or in some part of the mod? Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted January 5, 2019 If this is included in a mod then add this in the config of the mod , or if it is a mission , you need to add this in the description.ext 1 Share this post Link to post Share on other sites
Barba-negra 117 Posted January 5, 2019 thanks GEORGE FLOROS GR, I do not seem to close the routes well, it still does not work because I read the hpp, but it does not close the game, more or less I'm understanding Share this post Link to post Share on other sites
Barba-negra 117 Posted January 5, 2019 not yet solved :(, really difficult is this part Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted January 5, 2019 6 minutes ago, Barba-negra said: not yet solved :(, Would you like to post your .hpp ? Share this post Link to post Share on other sites
Barba-negra 117 Posted January 5, 2019 yes, the hpp is not mine, it's from someone else, I'm trying to make you read these scripts from an add-on and not from the mission Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted January 5, 2019 I think you could also ask how to do this from @jts , since it is his script. So you want to create this script to an addon , right ? Share this post Link to post Share on other sites
Barba-negra 117 Posted January 5, 2019 yes bro, what happens is that there is an hpp that is called from the description, then if I modify the route and place the scripts from a complement it passes what I said at the beginning, it says that the description does not work Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted January 5, 2019 hold on i'm sending you a message. Share this post Link to post Share on other sites
HazJ 1289 Posted January 5, 2019 config.cpp - For mod (usually). description.ext - For mission. Remember to include any base defines (custom or default A3). Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted January 5, 2019 i was checking this and it doesn't load the dialogs. ( as a mod ) Share this post Link to post Share on other sites
Barba-negra 117 Posted January 5, 2019 I understand guys, for what I see is more complicated than I thought: / Share this post Link to post Share on other sites
Dedmen 2714 Posted January 8, 2019 On 5.1.2019 at 4:30 AM, Barba-negra said: there is a file description.ext, where it tells me that the file does not work, the route is this You cannot include mod files from mission description.ext with missions that you exported from 3DEN. BI Broke that with the release of 3DEN. 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted January 8, 2019 On 5/1/2019 at 9:02 PM, GEORGE FLOROS GR said: class RscTitles { #include "\Your_Mod_Name\Subs\scripts\line\UI\defines.hpp" }; This was wrong becaue i thought that it has to do with RscTitles and it was not needed! Thanks to @HazJ for the information ! so just : #include "\Your_Mod_Name\Subs\scripts\line\UI\defines.hpp" On 6/1/2019 at 1:42 AM, Barba-negra said: I understand guys, for what I see is more complicated than I thought: / It's fine now , right?! 1 Share this post Link to post Share on other sites
Barba-negra 117 Posted January 9, 2019 14 hours ago, GEORGE FLOROS GR said: This was wrong becaue i thought that it has to do with RscTitles and it was not needed! Thanks to @HazJ for the information ! so just : #include "\Your_Mod_Name\Subs\scripts\line\UI\defines.hpp" It's fine now , right?! Yes, for now I still have it calling from the mission, I will add it as mod soon, thanks to all guys 1 Share this post Link to post Share on other sites