Vegeta Posted March 3, 2013 Share Posted March 3, 2013 I am in desperate need of either someone who can teach me how to edit source code, or someone who is willing to do the source code for my mod. Link to comment
mrwonko Posted March 3, 2013 Share Posted March 3, 2013 Why not teach yourself? There's plenty of information online. Just don't expect quick results. Link to comment
Scooper Posted March 3, 2013 Share Posted March 3, 2013 Why not teach yourself by editing the source code? That's how I did it. And Raz0r too I think. My point is that you apparently have a goal/project in mind. So start working towards making it happen. You can head over to jacoders for tutorials on how to get started. Link to comment
Fighter Posted March 3, 2013 Share Posted March 3, 2013 You should learn at least the basics of the C language if you haven't already from somewhere like here. Afterwards, head over to JACoders and read through the tutorials and forum posts there to gain a basic understanding of how the SDK works. Then, using your newly gained knowledge, just edit code that looks interesting or relevant, add code as needed too, and also join the JACoders IRC( #JACoders at irc.arloria.net:6667 ) so you can ask for help when needed. Link to comment
Vegeta Posted March 3, 2013 Author Share Posted March 3, 2013 Well, I have been practicing editing source code, but my main problem is that I don't understand the part in the SDK "MakeAMod" tutorial where it says "Set your configuration to Final and perform a "Build Solution" command to build a DLL for the game." and because of this, I am unable to compile it into a .DLL file. So, if anyone knows how to do this (or the equivilant of this ) using CodeBlocks 12.11, please inform me Link to comment
Astral Serpent Posted March 3, 2013 Share Posted March 3, 2013 You should probably use Visual Studio, since that's what the SDK is for.... VS2005, I think? Also, JACoders has a modbase with fixed bugs and such to make it easier starting a mod like this. Link to comment
Vegeta Posted March 4, 2013 Author Share Posted March 4, 2013 Ok, I downloaded and installed Visual Studio 2005, but when I try to perform a "Build Solution", it says compiling, but it doesn't actually make a .DLL when it's done. Any more advice? Link to comment
eezstreet Posted March 4, 2013 Share Posted March 4, 2013 Any errors in the output? Have you searched EVERYWHERE for the DLL? Link to comment
Stoiss Posted March 4, 2013 Share Posted March 4, 2013 Try this to see if you can find out how it works it work for me when RaZor gave me this in the old days when i was begining to learn edit JKA MP SDK BTW this is for debug mode but it give you a way to learn how the tools also works in VS C++ Link to comment
Vegeta Posted March 5, 2013 Author Share Posted March 5, 2013 I changed all of the settings to those in the images and tried to perform a build solution, however it still said "Build Failed".... I must be forgetting to do something, I will keep trying for now, but more advice would be greatly appreciated. Link to comment
Raz0r Posted March 5, 2013 Share Posted March 5, 2013 Raven's SDK doesn't compile as it is. There will be a specific error message in the output box, probably the powf redefinition. I recommend using modbase anyway. Link to comment
eezstreet Posted March 5, 2013 Share Posted March 5, 2013 Change all references in the SDK of "powf" to "q_powf" <- this usually fixes it. Link to comment
Stoiss Posted March 5, 2013 Share Posted March 5, 2013 ah yeah i forgot that error was in there easy to fix Link to comment
Vegeta Posted March 7, 2013 Author Share Posted March 7, 2013 For when I get everything working, does anyone know what I have to edit to dual wield certain weapons. (just the Bryar pistols and the Demp 2, I have them as completely different weapons in my mod already)Also, I will eventually need to know how to make the jetpacks to function SP style, and the NPCs that would normally follow you in SP follow you. Lastly I will need to know how to make a "flame thrower" item, like force lightning only with fire ( like SP Boba Fett ) and it is an object that you can pick up like a seeker drone, or a jetpack.I really just need to know where to start with all of these things, like what files I will have to make the changes in. Link to comment
Fighter Posted March 7, 2013 Share Posted March 7, 2013 I recommend taking a look at OJP Enhanced's source for the dual wielding of weapons to see how they did it. The developers of OJP did a good job of commenting specific OJP features and fixes, so it shouldn't be too hard to find. Link to comment
eezstreet Posted March 7, 2013 Share Posted March 7, 2013 These are particularly complex tasks for a beginner, so take note of this.Assuming you want the Dual Wielding bits first, here's some things I can recommend.If you're going for only one or two weapons to be dual-wieldable, and assuming you don't want that to be too interchangeable (unlike say Gunslinger's Academy), then this isn't too bad to do, but it involves some rather complex knowledge of the way the engine works.The game networks stuff about the current player in the use of the player state (playerState_t). On the client, you only have access to (emphasis on only) your player state. The server has information about all the clients' player state. Each player state is stored in their gclient_t variable, which is in turn part of their gentity_t variable. This makes sense because: a player is a controlled entity (/ client), and it's an entity (gentity_t). In most functions that you find in the server when you're dealing with an entity, you'll find those in function parameters as simply ent. So the easiest way to access variables is simply: ent->client->ps.* You'll find a lot of useful information here, such as what weapon the player has currently equipped (ps.weapon), what weapons they have (ps.stats[sTAT_WEAPONS]), what ammo they have (for instance, ps.ammo[AMMO_BLASTER]), and so on. So how do we access this on the client?We have two different options. They're slightly different in terms of how they're managed, so it's important to understand the concept of prediction and snapshots.Quake 3 (and therefore, JA MP) sends stuff to the clients in the form of snapshots. Each snapshot contains all the entity states (not important atm for what you're dealing with) and your player state, as well as the server time for calculations, and some other things. The current snapshot is stored in: cg.snap And to access the current snapshot's playerstate, we use: cg.snap->ps So that's one option that you have at your disposal. The other one involves a little-understood concept called prediction. Prediction involves processing the snapshots and predicting what will occur from them. Prediction results in smoother animations, and rounded out sleekness that would otherwise not be possible with networking alone.Consider points on a graph. Each snapshot would be considered a point on a graph, and if we were to simply use the points on a graph, without anything else taken into account, this would be perfectly fine. But as with all aspects of life, there are tons of little complications. For instance, lag. Lag will be a problem, since it will delay what information gets sent to the client. This is already a problem, as it throws off the whole formula for prediction (I won't bore you more than I probably already am with tons of mathematical equations, and I don't totally understand the method behind it myself anyway). There's also a pretty gaping flaw here: the clients run on a different frame rate than the server does (as to be expected, since different clients run different machines, but also take into account that servers are usually capped at around 20-30 FPS, while clients can go as high as 120, if not more!) In my humble opinion, you should be dealing with the raw snapshots in this case, as there's physically no real need for prediction. So that means that you'll be dealing with cg.snap->ps, on the client. Again, why does this all matter? Well, what you're basically going to probably want to do here is store some kind of value on the playerState that tells you whether or not you're currently dual wielding your current weapon. That's about the simplest way to do it. Since all the fields in the playerstate are more or less hardcoded, there's a few extra fields at the end of the playerState and entityState that Rich Whitehouse was kind enough to program into the game. You can do some complex stuff with these fields later on, as with the rest of the playerstate, that allows you to add more fields, but I won't get into that right now, as that also involves some complicated math. Anyway, you'll be wanting to deal with the userInts. So I recommend changing: int userInt1; (in q_shared.h)to qboolean currentlyDualWielding; For clarity's sake anyway. Your next task would be to figure out how and when you want to set your stuff to be currently dual wielding. I'll leave this info here, as I feel like I've posted way too much information anyway. If you read all this, and understood all that, congratulations, you win one free eezstreet point, redeemable at any time for more free advice.* *Additional restrictions may apply to residents of Hawaii and Alaska, because fuck islands and fuck cold Fighter likes this Link to comment
Vegeta Posted March 9, 2013 Author Share Posted March 9, 2013 I replaced all of the files in the SDK with the modbase files, but I am still getting an error. I looked more carefully into what is causing the error, and it sais that I am missing the following files:qcommon/disablewarnings.hwindows.h I checked and made sure that I did in fact have those files in the correct places, yet it continues to give me the errorsJust in case it really matters, I am attaching the build output below. ------ Build started: Project: botlib, Configuration: Final Win32 ------Compiling...l_struct.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryl_script.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryl_precomp.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryl_memory.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryl_log.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryl_libvar.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryl_crc.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_interface.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_ea.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_ai_weight.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_ai_weap.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_ai_move.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_ai_goal.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_ai_gen.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_ai_chat.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_ai_char.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_aas_sample.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_aas_routealt.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_aas_route.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_aas_reach.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryCompiling...be_aas_optimize.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_aas_move.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_aas_main.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_aas_file.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_aas_entity.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_aas_debug.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_aas_cluster.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybe_aas_bspq3.cppc:\users\vegeta\desktop\sdk\codemp\botlib\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryBuild log was saved at "file://c:\Users\vegeta\Desktop\SDK\codemp\Final\botlib\BuildLog.htm"botlib - 28 error(s), 0 warning(s)------ Build started: Project: JK2game, Configuration: Final Win32 ------Compiling...cl : Command line error D8016 : '/O2' and '/ZI' command-line options are incompatibleBuild log was saved at "file://c:\Users\vegeta\Desktop\SDK\codemp\Final\JK2game\BuildLog.htm"JK2game - 1 error(s), 0 warning(s)------ Build started: Project: JK2cgame, Configuration: Final Win32 ------Compiling...WalkerNPC.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryui_shared.cc:\users\vegeta\desktop\sdk\codemp\ui\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorySpeederNPC.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryq_shared.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryq_math.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryfx_rocketlauncher.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryfx_heavyrepeater.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryfx_force.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryfx_flechette.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryfx_disruptor.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryfx_demp2.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryfx_bryarpistol.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryfx_bowcaster.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryfx_blaster.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryFighterNPC.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_weapons.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_weaponinit.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_view.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_turret.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_syscalls.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryGenerating Code...Compiling...cg_strap.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_snapshot.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_servercmds.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_scoreboard.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_saga.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_predict.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_playerstate.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_players.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_newDraw.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_marks.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_main.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_localents.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_light.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_info.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_event.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_ents.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_effects.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_drawtools.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_draw.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorycg_consolecmds.cc:\users\vegeta\desktop\sdk\codemp\cgame\../game/q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryGenerating Code...Compiling...bg_weapons.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorybg_vehicleLoad.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorybg_slidemove.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorybg_saga.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorybg_saberLoad.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorybg_saber.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorybg_pmove.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorybg_panimate.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorybg_misc.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directorybg_g2_utils.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryAnimalNPC.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(187) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directoryGenerating Code...Build log was saved at "file://c:\Users\vegeta\Desktop\SDK\codemp\Final\JK2cgame\BuildLog.htm"JK2cgame - 51 error(s), 0 warning(s)------ Build started: Project: ui, Configuration: Final Win32 ------Compiling...ui_syscalls.cc:\users\vegeta\desktop\sdk\codemp\ui\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryui_shared.cc:\users\vegeta\desktop\sdk\codemp\ui\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryui_saber.cc:\users\vegeta\desktop\sdk\codemp\ui\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryui_main.c.\ui_main.c(14) : fatal error C1083: Cannot open include file: 'Ghoul2/G2.h': No such file or directoryui_gameinfo.cc:\users\vegeta\desktop\sdk\codemp\ui\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryui_force.cc:\users\vegeta\desktop\sdk\codemp\ui\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryui_atoms.cc:\users\vegeta\desktop\sdk\codemp\ui\../game/q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryq_shared.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryq_math.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybg_weapons.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybg_vehicleLoad.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybg_saga.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directorybg_misc.cc:\users\vegeta\desktop\sdk\codemp\game\q_shared.h(44) : fatal error C1083: Cannot open include file: 'qcommon/disablewarnings.h': No such file or directoryGenerating Code...Build log was saved at "file://c:\Users\vegeta\Desktop\SDK\codemp\Final\ui\BuildLog.htm"ui - 13 error(s), 0 warning(s)========== Build: 0 succeeded, 4 failed, 0 up-to-date, 0 skipped ========== Link to comment
eezstreet Posted March 9, 2013 Share Posted March 9, 2013 qcommon/disablewarnings.h:This line should read: #include "../qcommon/disablewarnings.h" windows.hThis line should read: #include <windows.h> Make sure they're typed like that. Link to comment
Raz0r Posted March 9, 2013 Share Posted March 9, 2013 Don't just replace the files with modbase. You don't need the original SDK at all, that's what's causing issues. Fighter and eezstreet like this Link to comment
Vegeta Posted March 9, 2013 Author Share Posted March 9, 2013 Is there any way to directly download the source code files from modbase? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now