Jump to content

eezstreet

Members
  • Posts

    5,207
  • Joined

  • Last visited

Everything posted by eezstreet

  1. I'm confused, isn't your code based on mine?
  2. Well you see, lad. I was in the second grade when the towers fell, that I was. All that I knew was that I was getting out of school. Chaotic scene it was, for sure. I didn't know what was happening, but when I had gotten home, the other tower had fallen too. Oh. Wait. What? We're talking about the Star Wars canon being changed? Yeah, I've got no idea man.
  3. That's fair, I think splitscreen support is a viable OpenJK feature though.
  4. The savegame code can be simplified down to two operations: read and write. The reason OpenJK modified the savegame code is so that the values serialize correctly on different platforms. Mac and Windows games can use the same savegames now, and so can 32bit/64bit games. How they're serialized is a complicated process that is really outside the scope of your question. Savegames contain the following, in order: Internal Name (COMM) - The name of the savegameScreenshot (CMTM) - The screenshot of the savegame (*)Gamestate (multiple) - The save file name, whether it was an autosave, ammo, health, inventory, and whether First Person Lightsaber is enabled(At this point, if we are reading the savegame, the map gets loaded)sv.time (TIME) (**)sv.residualTime (TIMR) (**)Configstrings (multiple) - Value of configstrings (**)Portal State (PRTS) - Information about which areaportals are currently flagged as open, closed, etc (**)(Everything past this point is modcode information, handled via ReadLevel and WriteLevel in g_savegame.cpp)* = Only present in JK2 saves ** = Not present in autosaves Savegames are always terminated with a DONE block. You don't need to interact with OpenJK's specific stuff to add things to the savegame. Rather, this is what you need to edit. Add things to that table, and they'll appear in the savegame. As you'll note, the playerstate doesn't actually show up in that table, it uses some cvars to pass around values as part of the Gamestate portion. (search for "ReadGame"/"WriteGame")
  5. It is illegal to develop for the Xbox. The Xbox requires software (XDK) that can only be pirated to access, because of how old they are (Microsoft doesn't sell them anymore for the Xbox 360 or the Xbox original). XDKs are the property of Microsoft and they cannot legally be sold, either. The Xbox version of the game requires the XDK to compile. When you talk about developing stuff with the Xbox in mind, talk is certainly allowed, but the RAD game tools, XDK, etc were stripped for a good reason - you need to make sure not to include the sources for that or you open another can of worms. Also, you can't distribute executables or disks openly (you'd actually need a factory-sealed disk and API key I think in order to get them to run on unmodified Xboxes, but that may just be the case for the 360). You're going to be pretty hard pressed to find a place to actually do that, because Microsoft filters Hotmail pretty stringently and I can't allow (what amounts to) pirated software being distributed on this forum. I looked into this stuff a long time ago, it's really not worth the effort when you have Steam Machines and the ability to hack modern consoles to run Linux, as well as the controller support being improved anyway. You'd be running a graphically toned down version of the game for no benefit.
  6. eezstreet

    Quickturn

    Saves rely on the animation count being the same.
  7. eezstreet

    Quickturn

    What Xbox/PS FPS game has this feature?
  8. The disdain is because these parts are often taken from other models (or games) without permission and often there are no credits given to the original creators. For the most part, I agree with you. Making a from-scratch model is not necessary for a large project. It's especially obnoxious when people are fighting over "stolen" kitbashes or whose kitbashes are better and we moderators have to police it. There's a certain lack of presence of mind here. You didn't make any of that! How can someone have stolen your content when it wasn't yours to steal?
  9. I think we should add prefixes to the WIP forum that state what the content contains: Original Content, Kitbashes, Ports and Kitbashes/Ports. As a general guideline the following should be a thing: 1. Provide download links to anything made along with a preview image 2. Use one of the prefixes on your post so people know what to expect. 3. Tag your post with the type of content that's in it: Maps, Skins, ... 4. (optional) If your thread has an important Star Wars character in it, add a tag for that. Example: Plo-Koon, Jango Fett, etc Threads that don't meet this criteria can be locked. But idk about that. Also, a well-crafted list of Star Wars characters (I think Barricade did this, or started this?) could help as well.
  10. There are currently some technical issues with the file system. If your file does not get approved quickly, please be patient.

  11. This is a non-exhaustive list of resources online to help you learn how to code. These are not designed to teach you the intricacies of the JA engine. Interactive Tutorials (recommended) Learn-CPP [Link] Written Tutorials My Primer [Link]Learn-CPP Written Tutorials [Link] Video Tutorials TBDIf you found something useful that helped you learn..please share! I'm sure others will find it useful.
  12. I'm talking about JK2 code in this thread, not JKA code.
  13. To others: Leave him alone. If you have personally had your model stolen by him (or know of others who have had theirs stolen) in this thread, then you can confront him via private message or talk to the staff. Otherwise, stop instigating. I don't care about MB2 drama, it doesn't belong here. To T R I S T A N: Calling people morons, filth and anything else isn't helping. Don't reply to negative comments. Your thread is going to get locked if half of your comments in it are rude words towards other people. To all: Keep it civil.
  14. There is one in the EXTREME WEAPONS PACK and one in Gunslinger's Academy.
  15. Worldspawn is on every map, not just OpenJK. It's classified as an entity that contains various level info properties for the whole level. Worldspawn is a poor example though of what an "entity" is in this engine. Entity refers to anything in the level that isn't hard geometry - spawn points are an entity, NPCs are an entity, etc. Worldspawn does not actually get spawned, its values get copied deep into the code and discarded.
  16. My original link is still accurate, because as far as I know, the code hasn't been merged into the JKEnhanced repository yet.
  17. Sorry about this - I meant to try and get 1.3.0 released in January, but I've been completely swamped both with school and other projects. About the middle of the month, one of my side projects got huge exposure. I hate advertising it here, given the context, but talking about it and why it's important to me is kinda relevant to the topic at hand. About a week ago, GOG.com told me that they were releasing SWAT 4 for digital distribution (the first time it had been made available). They also went on to highlight my mod and later the mod got reported on by PC Power Play. If you're interested in what I'm working on now, you can check it out here. The next version is coming out soon. There's still not much to be done for 1.3.0 of JKG though. I think just the visual overrides and the ammo menu. There's bound to be lots of bugs though. I'll try and get back to it; it's not me walking away, I'm just really busy.
  18. TGA and PNG are the same filesize when inside a PK3; they're both being compressed via zlib in some form or another. The difference is that PNG loads slower than TGA because PNG needs to be decompressed twice - once when pulling it out of the PK3 and once when reading the actual file. The flipside is that PNGs are easier to work with in Photoshop. You should always use TGA over PNG.
  19. seta command is love, seta command is life. Use it instead of set, it'll archive the cvar and store it in your config.
  20. (sounds like something @@Raz0r wanted to do too)
  21. This is some pretty impressive work. Does it network well in multiplayer (ie no lag)? Is player collision tied to the boxes too? (ie, can you stand and jump around on them?)
  22. Maybe he's too busy to say that he's busy.
×
×
  • Create New...