michal Posted May 14, 2010 Share Posted May 14, 2010 A new X-COM project went public! Goal of this project is to recreate the original game from scratch, 100% faithful to original game (minus bugs of course ). But code base will allow anyone to make tweaks, changes etc. Author will try to make this game as as moddable as possible. It is still in early development, but there are already screens to show: More screen shots, information and svn builds (for windows and linux) can be found on OpenXcom's official site! Link to comment Share on other sites More sharing options...
Bomb Bloke Posted May 14, 2010 Share Posted May 14, 2010 I have to say it... "What, another one?!" Good to see an open source one, though - that's uncommon. The SVN suggests it's been in development for at least three and a half months by a guy called "supsuper". Couldn't find any installation instructions, so for what it's worth, you're supposed to copy the contents of your game folder into OpenXcom's "Data" folder. It wants a copy of the CE game, doesn't work with just the DOS files. Thus far it's no where near "playable", but he's got the Geoscape drawing the globe - I always fancied that would be the hardest part, for some reason I've never been able to wrap my head around coding even a pseudo-3D engine. Link to comment Share on other sites More sharing options...
hatfarm Posted May 14, 2010 Share Posted May 14, 2010 There is almost no commenting in the code, which is going to make it really hard for people to help out. I'd actually love to help with it, but I think my Summer time would be gone before I really understood what was being done. Link to comment Share on other sites More sharing options...
Azrael Strife Posted May 15, 2010 Share Posted May 15, 2010 Haha, SupSuper is one of the guys from Project Xenocide and XCOMUFO Link to comment Share on other sites More sharing options...
SupSuper Posted May 17, 2010 Share Posted May 17, 2010 I have to say it... "What, another one?!" Good to see an open source one, though - that's uncommon. The SVN suggests it's been in development for at least three and a half months by a guy called "supsuper". Couldn't find any installation instructions, so for what it's worth, you're supposed to copy the contents of your game folder into OpenXcom's "Data" folder. It wants a copy of the CE game, doesn't work with just the DOS files. Thus far it's no where near "playable", but he's got the Geoscape drawing the globe - I always fancied that would be the hardest part, for some reason I've never been able to wrap my head around coding even a pseudo-3D engine. The instructions should be in the Downloads page if you missed them. Glad you got it working though. The globe is indeed one of the trickiest parts, and is still far from complete. It requires a lot of crazy trigonometrical knowledge, which is not my strong point. The game should run fine with any X-Com version now (the main issue is the audio which changes between versions, so for now you just won't get music with the DOS version) though, and about the only playable thing in the game now is the timer with monthly funding. Enjoy the excitement of watching your funds grow without interaction! Link to comment Share on other sites More sharing options...
michal Posted May 21, 2010 Author Share Posted May 21, 2010 There is almost no commenting in the code, which is going to make it really hard for people to help out. I'd actually love to help with it, but I think my Summer time would be gone before I really understood what was being done. Check this out:https://openxcom.ninex.info/index.php/2010/05/docs-and-macs/ Link to comment Share on other sites More sharing options...
hatfarm Posted May 21, 2010 Share Posted May 21, 2010 Check this out:https://openxcom.ninex.info/index.php/2010/05/docs-and-macs/Sounds good. I'll check that out. I had no problems with the quality of the code (my code quality is pretty deplorable if you've looked at it), it's just nigh impossible to help with coding something if you have no idea what is being done. Before I made XCOMHACK open sourced, I had to go back and comment everything (and I haven't really done a great job) and it was a big hassle. However, it has helped even me know what I'm doing with my code because after a project gets so big and you're working on something else for so long, going back and looking at something you worked on two weeks ago can be troublesome if it's complex. I hope I didn't come off as a jerk, as I wasn't intending to be a jerk. It's just difficult to look at someone else' code and make something out of it (at least for me) without any comments telling you what stuff does, or is supposed to do. It's entirely up to you how you want to run your development, I was honest when I said I'd love to help as this to me seems like the kind of project I'd like to see, just a remake that allows the user to play the original game, but without the hassles involved in getting the old executables to run on newer operating systems. I hope you do finish this as it is something I'm looking forward to using. Link to comment Share on other sites More sharing options...
Bomb Bloke Posted May 22, 2010 Share Posted May 22, 2010 Ironic that the inclination to comment dwindles as the need for comments rises. This is probably because it feels weird writing comments that are longer then the actual coding. For example, you can stick several conditional statements in a single line, but good luck explaining them all in a single line... (Half the time, I feel nothing short of illustrated diagrams would do the job. Sometimes, fully animated video...) So often I don't bother, and just hope my function/variable names make enough sense to convey their purposes. Link to comment Share on other sites More sharing options...
Gimli Posted May 22, 2010 Share Posted May 22, 2010 I always make sure I use names that convey the purpose well. It's a lot of help. Thankfully, VS has the ability to turn your comments into tooltips (if you write them the way it can read them) which helps when you're about to use a method but don't know or don't remember what to expect from parameters or return values.That being said, I forgot to comment the latest bit of code I wrote. Link to comment Share on other sites More sharing options...
SupSuper Posted May 23, 2010 Share Posted May 23, 2010 Sounds good. I'll check that out. I had no problems with the quality of the code (my code quality is pretty deplorable if you've looked at it), it's just nigh impossible to help with coding something if you have no idea what is being done. Before I made XCOMHACK open sourced, I had to go back and comment everything (and I haven't really done a great job) and it was a big hassle. However, it has helped even me know what I'm doing with my code because after a project gets so big and you're working on something else for so long, going back and looking at something you worked on two weeks ago can be troublesome if it's complex. I hope I didn't come off as a jerk, as I wasn't intending to be a jerk. It's just difficult to look at someone else' code and make something out of it (at least for me) without any comments telling you what stuff does, or is supposed to do. It's entirely up to you how you want to run your development, I was honest when I said I'd love to help as this to me seems like the kind of project I'd like to see, just a remake that allows the user to play the original game, but without the hassles involved in getting the old executables to run on newer operating systems. I hope you do finish this as it is something I'm looking forward to using.No offense taken, it's just funny seeing such first reactions to another X-Com remake: "Looks great but damn that code is nasty, I'm not playing a game with such horrible variable names, I might get AIDS!". I guess deep inside we're all big programming nerds. Plus documentation is a funny thing. You might have a few huge pieces of code with lots of algorithms that practically need a comment per line and maybe an attached video, but mostly it's stuff like this: /** * Returns the soldier's amount of stamina. * @return Stamina. */ int Soldier::getStamina() { return _stamina; }I hope that's clear enough. Link to comment Share on other sites More sharing options...
Guest bramcor Posted October 18, 2010 Share Posted October 18, 2010 The first properly versioned, properly planned, properly built milestone for OpenXcom has been reached with v0.1! It contains tons more bugfixes and features than before! Come have a look at https://openxcom.ninex.info These are the features you'll find in this version: Geoscape:Fully-controllable globeGlobe details like country borders and namesDay/night effectInitial base placementBasic UFO spawning and detectionCraft interception with fuel consumption and basic dogfightsCraft repairing/refuelling/rearmingFunding overviewMonthly fundingScroll-wheel support Basescape:Full base view with facilitiesBuilding new bases with access lift placementBase informationBase storesSoldier stats (with randomly generated soldiers)Craft info and equippingFacility building/removalScroll-wheel support Link to comment Share on other sites More sharing options...
michal Posted December 18, 2010 Author Share Posted December 18, 2010 Hello, Here's video of battlescape from current svn version: https://www.youtube.com/watch?v=Spn3DbrrEKE Link to comment Share on other sites More sharing options...
Azrael Strife Posted December 18, 2010 Share Posted December 18, 2010 Impressive, you've gone farther than any other project out there, congrats. Link to comment Share on other sites More sharing options...
hatfarm Posted December 18, 2010 Share Posted December 18, 2010 Amazing progress! Keep up the good work! Link to comment Share on other sites More sharing options...
TomVD Posted December 25, 2010 Share Posted December 25, 2010 Christmas is all about creating light and atmosphere in a cold, dark period of the year.So I thought it was a good time to implement lighting in OpenXcom, and make a creepy demo movie of it: https://www.youtube.com/watch?v=t2ME1IhWFLk Link to comment Share on other sites More sharing options...
Space Voyager Posted December 25, 2010 Share Posted December 25, 2010 Really cool! I like the unlimited TU, too. Link to comment Share on other sites More sharing options...
Bomb Bloke Posted December 26, 2010 Share Posted December 26, 2010 Not too shabby, though note that discovered doors shouldn't be shaded any darker then light level 3 on-screen, regardless of how dark it's supposed to be; not entirely sure why, though it's possibly to make it look a little less weird when troopers pathfind through doors you yourself couldn't see. Link to comment Share on other sites More sharing options...
TomVD Posted December 26, 2010 Share Posted December 26, 2010 Not too shabby, though note that discovered doors shouldn't be shaded any darker then light level 3 on-screen, regardless of how dark it's supposed to be; not entirely sure why, though it's possibly to make it look a little less weird when troopers pathfind through doors you yourself couldn't see.It's on my list. You will notice that if you enter a building (without windows) the complete east and south wall stays black (because your soldier can not really see the outside of it). But it would be very hard to find the door in a east or south wall, if it was all black So an -in theory- not seen door, will show up in that case also, but only if one of the tiles on either side of it is discovered. Link to comment Share on other sites More sharing options...
Bomb Bloke Posted December 26, 2010 Share Posted December 26, 2010 Hmm... I'm not sure whether you're right on that one or not. Lighting in the original ignores walls (and, erm, ceilings/floors), so if your soldier is standing anywhere near a door it should be lit up enough to see it anyway. It's true that the walls in your example would be black, because normally you have to see past walls to the east/south before you can see the walls themselves onscreen (terrain hidden by fog is always black), but that doesn't apply to doors (soldiers still have to see them, but they don't need to see PAST them before they'll be rendered). Without the exception, the door would be completely black regardless of lighting effects. Still, there are plenty of artifacts in the coding from the pre-release versions of the game, so it's quite possible there's some relation there. Link to comment Share on other sites More sharing options...
TomVD Posted December 26, 2010 Share Posted December 26, 2010 Hmm... I'm not sure whether you're right on that one or not. Lighting in the original ignores walls (and, erm, ceilings/floors), so if your soldier is standing anywhere near a door it should be lit up enough to see it anyway.Yeah. I implemented lighting as I thought it seemed logical using the Light Block-MCD[33] attribute of objects. But if the original totally ignores this value, I probably should make it a feature to switch on/off. Link to comment Share on other sites More sharing options...
Bomb Bloke Posted December 27, 2010 Share Posted December 27, 2010 Y'know, I'd clean forgotten about that value. It brings back the old question, how did anyone ever work out what it was supposed to do, when the game itself had no light-blocking functionality? There are a few other values in the documentation that look a bit iffy (take MCD[31]), but your implementation of light using that particular one as written looks pretty good to me. Link to comment Share on other sites More sharing options...
Tammy Posted December 30, 2010 Share Posted December 30, 2010 I have zero talent in this area, but I would LOVE to see a project like this succeed. I miss X-COM sooooo much. Link to comment Share on other sites More sharing options...
Space Voyager Posted January 3, 2011 Share Posted January 3, 2011 I have zero talent in this area, but I would LOVE to see a project like this succeed. I miss X-COM sooooo much. Ehm, it still works, you know... You CAN play it. Link to comment Share on other sites More sharing options...
Azrael Strife Posted January 3, 2011 Share Posted January 3, 2011 Ehm, it still works, you know... You CAN play it. It's a pain to get it to work properly on modern OSs. And from what I've heard, it has more troubles on 64bit systems, which are most these days. Link to comment Share on other sites More sharing options...
Space Voyager Posted January 4, 2011 Share Posted January 4, 2011 That I wouldn't know, I'm always at least five years behind "these days" as far as computers go... Everything is good for something I guess. Link to comment Share on other sites More sharing options...
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