Jump to content
The Dark Mod Forums

Search the Community

Searched results for '/tags/forums/code' or tags 'forums/codeq=/tags/forums/code&'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • News & Announcements
    • The Dark Mod
    • Fan Missions
    • Off-Topic
  • Feedback and Support
    • TDM Tech Support
    • DarkRadiant Feedback and Development
    • I want to Help
  • Editing and Design
    • TDM Editors Guild
    • Art Assets
    • Music & SFX

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. For the people eager to play with the latest state of development, two things are provided: regular dev builds source code SVN repository Development builds are created once per a few weeks from the current trunk. They can be obtained via tdm_installer. Just run the installer, check "Get Custom Version" on the first page, then select proper version in "dev" folder on the second page. Name of any dev version looks like devXXXXX-YYYY, where XXXXX and YYYY are SVN revision numbers from which the build was created. The topmost version in the list is usually the most recent one. Note: unless otherwise specified, savegames are incompatible between any two versions of TDM! Programmers can obtain source code from SVN repository. Trunk can be checked out from here: https://svn.thedarkmod.com/publicsvn/darkmod_src/trunk/ SVN root is: https://svn.thedarkmod.com/publicsvn/darkmod_src Build instructions are provided inside repository. Note that while you can build executable from the SVN repository, TDM installation of compatible version is required to run it. Official TDM releases are compatible with source code archives provided on the website, and also with corresponding release tags in SVN. A dev build is compatible with SVN trunk of revision YYYY, where YYYY is the second number in its version (as described above). If you only want to experiment with the latest trunk, using the latest dev build gives you the maximum chance of success. P.S. Needless to say, all of this comes with no support. Although we would be glad if you catch and report bugs before the next beta phase starts
  2. I guess this is basic stuff for you talented model-boys but now I've trudged for several hours without results and from what I have read in several forums/threads, it's even not that trivial. Therefore I dare to start a thread... I've download some models from the web but these come in some new and fancy format; (FBX, USD etc) not exactly the old and brittle format that we use in TDM So to import these into DarkRadiant I need to convert these to lwo or ASE, right? How do people go about this? I have tried to: - install Blender 5.0 and added an ASE-exporter plugin. Blender actually puts out an ASE-file but as I try to open it in DR, the model is only showed as that checkerboard error-box. Do I need to tinker with the model in a text editor first? I read something about changing something about a BITMAP-line... - use an ancient version (7.0) version of Lightwave but that program cannot even open the files (Not surprising)...
  3. The ability to automatically prune and refactor brushwork to prevent faces with textures sitting in video memory could be a research and development breakthrough that is basically the next generation (Holy Grail) of virtual reality and mobile rendering. This capability would also optimize many of your communities missions. How would this be done? Vantage in a game without wall walking like prey should be simpler. Using human effort to find the parameters of height that can be jumped relative geometry that can be gotten on top of you have a space to fire off thousands or millions of rays to determine visibility. The earliest algorithms will be imperfect. Edge cases once found would eventually lead to refinement with further development. The ability to trade compute early on for efficiency later would be worthwhile in chase of performance per watt. Is there a case study on the results of doing this? I'm glad you asked. I'm the Prey 2006 Remake modder from moddb. To parties interested I have a alpha state presentation that took literally years to make. Mappers who want to see what optimization should look like or your virtual reality developer would be my recommendation of those to look at it from the editor view. I can't directly help The Dark Mod since I'm not learning programming until my work is finished but it would be interesting to see my workflow and standard replicated by a team since it's unreasonable for a single person. And I will develop two tools for the purpose of bandwidth conservation in distribution, and automation of texture texel scaling including conversion to the optimal formats id Tech 4 and it's offspring recognize. If you can achieve this feat you would basically be making your established infrastructure capable of goals multi billion dollar companies like Meta would love to deliver on limited hardware. You have the established monolithic code base foundation infrastructure, so I think this is a reasonable goal for as many software engineers you have on your team. Specialized or otherwise.
  4. The rules are deterministic and can be found from looking at the source code. Moreover, I think I have described them above (and maybe in some other places). The problem is that they are too complicated to be intuitive. And to be honest, I don't see a way to make them simple due to many details involved: pk4 name, core/mission, filename, decl name.
  5. Download this mod (Sound Polish) and place all three pk4 in your root folder: x_sound_polish_mod.pk4 x_sound_polish_mod_ThiefierSoundsByGin.pk4 x_sound_polish_mod_VoltaFootstepMod.pk4 Pretend you don't know what the source code does. Try guessing what's going on. (You can use the console, change pk4 names and listen to footsteps on wood, remove files...)
  6. We know. There is already a support topic for that. https://forums.thedarkmod.com/index.php?/topic/22533-tdm-for-diii4a-support-topic/ And earlier: https://forums.thedarkmod.com/index.php?/topic/16672-trying-to-run-tdm-on-android/ And other systems: https://wiki.thedarkmod.com/index.php?title=Installer_and_Manual_Installation#Other_Systems
  7. ============== -= IRIS =- ============== WELLINGTONCRAB TDM v 2.11 REQ Ver. 1.3 *For Maureen* -=- "Carry the light of the Builder, Brother. Unto its end." -Valediction of the Devoted "What year is this? Am I dreaming?" -Plea of the Thief Dear Iris, I am old and broken. When we were young it felt like the words came easily. Now I find the ink has long dried on the pen and I'm as wanting for words as coin in my purse. I can tell we are nearing the end of the tale; time enough for one more job before the curtain call... ============== -Installation- Requires minimum version of TDM 2.11 **Dev build dev17056-10800 (2.13) fixes several visual effects which have been broken in the mission since the release of 2.11. For that reason playing with that version or later is currently recommended** -Iris does not support mods or the Unofficial Patch- Download and place the following .pk4 into you FMs directory: Iris Download ============== *Thank you for playing. Iris is a large mission which can either take as quickly or as long as you are compelled to play. I hope someone out there enjoys it and this initial release is not completely busted - I tried the best I could!* *Iris both is and isn't what it seems. If commenting please use spoiler tags where appropriate. If you are not certain if it would be appropriate a good assumption would be to use a spoiler tag* *Support TDM by rating missions on Thief Guild: https://www.thiefguild.com/* ============== WITH LASTING GRATITUDE: OBSTORTTE - Whose gameplay scripts from his thread laid the foundation which made the mission seem like something I could even pull off at all. Also fantastic tutorial videos! DRAGOFER - Who built upon that foundation and made it shine even brighter! And whom also provided immeasurable quantities of help and encouragement the past couple years on the TDM discord. ORBWEAVER & GIGAGOOGA - For generously offering their ambient music up for use. EPIFIRE - Who lent me his fine trash and trash receptacle models. AMADEUS - Who was the first person who wasn't me to play the damn thing and provided his excellent editorial services to improving the readers experience playing TESTERS AND TROUBLESHOOTERS: AMADEUS * DATISWOUS * SPOOKS * ALUMINUMHASTE * JAXA * JACKFARMER * WESP5 * ATE0ATE * MADTAFFER * STGATILOV * DRAGOFER * KINGSAL * KLATREMUS - What can I possibly say? Playing this thing over and over again could not have been easy. Deepest thanks and all apologies. -=THANKS TO ALL ON THE TDM DISCORD AND FORUM=- ==SEE README.TXT FOR ADDITIONAL ATTRIBUTIONS & INFORMATION== HONORABLE MENTION: GOLDWELL - If I hadn't by chance stumbled into Northdale back in 2018/2019 I would probably still be trying to get this thing to work in TDS, which means it probably would not exist - though more details on that in readme. ============== Boring Technical Information: *Iris is a performance intensive mission and I recommend a GTX 1060 or equivalent. I find the performance similar to other demanding TDM missions on my machine, but mileage may vary and my apologies if this prevents anyone from enjoying the mission.* *Iris heavily modifies the behavior of AI in the game, how they relate/respond to each other and the player. So they may act even stranger than they do typically in TDM. Feedback on this is useful - as it can potentially be improved and expanded upon in future patches.* -=- This is my first release and it has been a long time coming! If I forgot anything please let me know! God Speed. 2.10 Features Used:
  8. I'll probably try Thief 3 for the first time in forever after snobel finishes making a Linux version of Sneaky Upgrade. https://www.ttlg.com/forums/showthread.php?t=138607&page=82 https://www.ttlg.com/forums/showthread.php?t=153010
  9. [edit]Please note that this version of Return to the City has been superseded by an expanded and significantly performance-optimised rerelease, available here. However, I'd appreciate if some of these download links were left around so people can check out the original version if they wish.[/edit] Hello, Taffers! My FM for the Grand Christmas FM Contest, Return to the City, has been completed and available at TTLG (updated Hammers-into-Builders version) www.darklurker.com (updated Hammers-into-Builders version) www.uploading.com (Hammers-into-Builders update) www.mediafire.com (Hammers-into-Builders update) www.mediafire.com (second link - thanks, Vexd) (Hammers-into-Builders update) www.sharebee.com (thanks, Chiron!) (Hammers-into-Builders update) Have fun, and please read the release notes, below! (Especially point 1) Last but definitely not least, thanks are due to my beta testers, who have been very helpful in finding and fixing the bugs that have cropped up, as well as everyone on the TDM forums for their help and support. Thank you! Series information: All of my missions except Unbidden Guest (TMA) take place in a common setting and involve the same protagonist, although under different aliases - Talbot, Messer Johannes, Philby and others. None of them require previous knowledge of previous FMs, but there are common elements and a degree of continuity. The missions, in current order, are: Prowler of the Dark (TDP/Gold) (S): liberate a skull of paganic enchantment from an abandoned church, which is kept sealed and guarded by the Builders.Return to the City (The Dark Mod) (M): plunder the other side of the Builder complex to steal a pack of explosives. Patrols have been heightened because of the recent break-in. (This mission connects to the previous along the North/South axis - too bad I didn't have the time to let you revisit some old areas) (You are here!)Fiasco at Fauchard Street (The Dark Mod) (M): steal a collection of opals from the house of a wealthy usurer.Bad Debts (TMA) (XL): fallen on hard times, you take a job from a diminutive snitch to steal his letter of debt from Markus, a pawnshop owner/usurer (looks like a common theme). Rooftop extravaganza.Disorientation (TMA) (XL): following the events in the previous mission, you attract the unwanted attentions of Lady Azamlarg, district warden and judge, and have to break into her palace to deter her from further assassination attempts. More rooftops and conspiracies.
  10. If I recall correctly, Goldwell wrote in these forums once that he was working on a successor, but, ran into some technical trouble he couldn't solve when designing the mission. I think he's currently working on multiple parts of the Shadows of Northdale series. And, if I'm not mistaken, a little bird (on another forum) told that Act 3 is already in beta.
  11. As a hobby I often do low level reverse engineering, exploring different types of CPU architectures, and in this process I quite often witness very inefficient C++ compiled code which makes me think that C++ users more often than not have no idea what they're doing, because they don't look at the disassembly where it's the most important, many of them don't even know how to read it which is just miserable TBH. So in the conclusion I can confirm that badly written C++ code can waste performance for nothing.
  12. Announcing the release of “A House of Locked Secrets” for The Dark Mod! Download Download the latest version of the Dark Mod here: http://www.thedarkmod.com/download-the-mod/ Download the mission here: Mediafire: http://www.mediafire.com/download/4awe6e756m12p71/ahouseoflockedsecrets.pk4 Southquarter: http://www.southquarter.com/tdm/fms/ahouseoflockedsecrets.pk4Taaki: http://darkmod.taaaki.za.net/fms/ahouseoflockedsecrets.pk4Fidcal.com: http://www.fidcal.com/darkuser/missions/ahouseoflockedsecrets.pk4 The mission should also shortly be up on the in-game downloader. General Notes -A House of Locked Secrets is a campaign, with two levels. -The mission is also a sequel to the Dark Mod FM “Requiem”. While you don’t need to have played Requiem to enjoy this mission, it is recommended, as it will help you better understand the lore of this corner of the TDM universe. -There is a companion novella to this series, Shadowcursed, available at Amazon.com or Smashwords.com. If you beat this FM, you can get a coupon code for 50% off the price! -The map you get of the manor is an automap which tells you which room you are currently in. Use it, along with the compass to help find your way. -Most inventory items in the game can be dropped, so no need to carry them around after they are no longer of any use. -If you use noclip or other console commands while playing, there is a good chance that you will break the intended flow of gameplay. Credits Mapping and Readables: Gelo R. Fleisher Voice Acting: Amber Collins, Bikerdude, Commander, Goldwell, Mortem Desino Additional scripting: Obsttorte, SteveL Additional textures and assets: Bikerdude, Crowind, Fidcal, Flanders, Goldwell, Grayman, Kyyrma, Melan, Nielsen, Sotha, Springheel Additional map optimization: Bikerdude Custom Soundtrack: Sarah Eide - www.saraheide.com Additional Music: cmusounddesign, Gigagooga, Lee Rosevere, Leonardo Badinella, Marianne Lihannah, NewEonOrchestra, Sarah Eide, Tabias Scot, Zoro. Additional Sounds: club20sound, ERH, geoneo0, Grayman, kevinkace, nothayama, qubodup, SoundsExciting, speedygonzo, swiftoid, viznoman. Testers: Airship Ballet, AluminumHaste, Baal, Bikerdude, Deadlove, demagogue, Diego, Dunedain19, gnartsch, Goldwell, Lowenz, Lux, nbohr1more, Oldjim, PranQster, SteveL, Xarg A note from the author After a lot of work ‘A House of Locked Secrets’ is finally ready for everyone to play. More than anything else, this FM was a team project. If the official TDM campaign never gets released, you might consider this to be the unofficial one, as almost everybody on the core TDM team lent a hand toward its completion. Of the many contributors, I especially want to thank SteveL whose custom code turned what was just an idea in my head into the FM you now get to play. I also want to thank Bikerdude, who performed a lot of optimization work on the map, and Goldwell whose voice brought to life many of the mission’s characters. If you like the music in the FM, check out the work of Sarah Eide (www.saraheide.com) who composed most of the custom soundtrack. Also, Marianne Lihannah makes a return from Requiem with a few songs, so check out her work too (www.funeralsinger.net). They'd both love to hear from you, so if you liked their music, let them know! On a personal note, I hope that this FM will give you a few hours of enjoyment, and if it does, feel free to drop me a line either in this forum thread, my work blog, or via email. In the future, other writing and game projects seem set to take up a lot of my time, so I give permission for anyone (preferably the TDM team) to update both Requiem and A House of Locked Secrets to fix any bugs or compatibility issues. I just ask that fixes be limited to correcting for glitches or for issues that come up due to future TDM releases. I do give permission for people to make visual & gameplay changes too but ask that you release these changes in a separate version than my release, and I ask that you make no changes to the story, readables, and plot. With that all out of the way, I want to thank you again for downloading and playing ‘A House of Locked Secrets’; I hope you enjoy it. God bless, Gelo “Moonbo” Fleisher
  13. Sorry, I think it should be #include "guis/mainmenu_briefing_preamble.gui" At least that's what I see in some existing gui files: the guis subdirectory is important. I think it is irrelevant. Just like in C/C++, C preprocessor runs before the main language and does simple textual transforms only. It does not know the main language at all. It understands only directives (lines starting from #) and some strings which were #define-d beforehand. After preprocessor is over, the main language starts working, and it only sees what is produced by preprocessor, it has no way to know about the directives. So in the first example it will check if the current mission is indeed 1. If it is not, it will remove the section inside #if from the source code, the Doom 3 GUI language will not even know it was there. If it is, then the section will survive. Then it will handle the #include, which basically says "please copy/paste the contents of that file here". In the second example, the preprocessor has no freaking idea what the first line means. It is not a directive. So it will leave it as is, regardless of which mission it runs now. The it will handle the #include, i.e. copy/paste the file contents regardless of which mission is now. Given that Doom 3 GUi language only allows to use if-s inside event handlers, the second approach is only valid if you use it inside a single script event handler. Which is often too small. But then the parts which are not specific to either mission will be included/present twice, no? In fact, if #include sounds complicated to you, you can just do everything without it. Imagine that file2.gui contains the full GUI code for mission 1, and file2.gui contains the full GUI code for mission 2. Just put contents of both files into mainmenu_briefing.gui surrounded by appropriate #if MM_CURRENTMISSION == ? and #endif. Preprocessor will process each #if and drop the ones which are false. Since #include is just a command for preprocessor to copy/paste, it works effectively the same way. It just allows you to have one mission per file instead of one megafile with the stuff for all missions (well, as long as paths are correct).
  14. Well, you were part of the discussion. The reason for the precedence choice was to support dynamic EFX in the future: https://forums.thedarkmod.com/index.php?/topic/21797-efx-preset-spawnarg-for-location-entities/#findComment-495076 I'm sorry this change somehow ruined your experience. If you find the tedious practice of using the EFX files more 'confiniant', feel free to do so, they are still supported after all.
  15. Yes. The way it was done previously made it impossible to detect whether the GUI overlay is using X-ray or not. UPDATE: Actually, the script code can be wrapped into #if TDM_VERSION_FULL > ??? to make the updated mission work in both versions.
  16. So does this mean that if you would create a mission for 2.13 with x-ray glasses, it will not work in 2.14, but if you change the code to 2.14 compattible it breaks in 2.13?
  17. That kind of sounds like the issue described here: https://forums.thedarkmod.com/index.php?/topic/23024-strange-behaviour-in-darkradiant-certain-map-objects-untethered-from-vertex-origin/ A couple of us have experienced it but we're not sure what's causing it. In your case do the origins end up at 0,0,0?
  18. A set of some 200 missions is a lot to sift through to find what one likes. I never used your site but if it provided functionality to search missions for parameters like approximate playtime, series v standalone, and tags like undead, spiders, mansion, city, etc, then it sounds plenty useful. Can the functionality be incorporated into the main web page? Perhaps even integrated to fetch underlying data from the wiki (so that trusted editors can keep the parameters up to date)?
  19. So can you just use a mainmenu_briefing.gui file with only above code and have these seperate files that have the full gui code in them for the specific briefings for each mission? Sorry it's just a bit difficult for me to wrap my head around it. Is there an example of a campaign using advanced gui? I'm writing this draft for updated campaign documentation: https://wiki.thedarkmod.com/index.php?title=User:Datiswous
  20. hmm another small problem creept up from behind when doing SDL3 builds. SDL3 removed the old hardware gamma ramps from the library so dhewm uses a shader based version. unfortunatly for my hybrid GLSL/ARB interaction renderer it only works in ARB mode because it is hacked into the interaction shader stage instead of the material shader stage and sadly i do not have an implementation of this hack in GLSL . I have a rough idea how to do it but i lack some skills in regards to working with hardware shader code. i do however have an old codepiece which i used in quake as a replacement for the old gamma ramp code but it needs a little work. what it does is actually really simple, it uses the same code as overbrights but scales the output with the gamma value. also overbrights tended to use a texture this code foregoes that completely as it is unneeded and instead outputs to a fullscreen quad. it works somewhat good in quake but there are two values in dhewm brightness+gamma so i might have to get creative.
  21. No, it is not up-to-date. You can use gui::CurrentMission, but it is not flexible enough. You need to set defines to enable/disable mission stages, like briefing or briefing video. You can't enabled defines depending on GUI variable, you can only enable them depending on define like MM_CURRENTMISSION. I'd suggest the following way to set up campaign: Forget about campaign and concentrate on the first mission. Set up the first mission as you normally do. Save the customized files somewhere. Set up the second mission as you normally do. Save the files somewhere. Set up the third mission. Now look at all the differences in GUI code between three variants, and wrap them into #ifdef-s by MM_CURRENTMISSION however is more comfortable for you. For instance, if you need to separately enable/disable stages or change menu backgrounds, you can make 3 sections in mainmenu_custom_defs.gui inside #ifdef-s. If you want to play different briefing video, you can do #ifdef around MM_BRIEFING_VIDEO_MATERIAL_1 and set it to different stuff depending on the define. If you want to make GUI briefings with custom GUI code, you can put them into mainmenu_briefing_1.gui, mainmenu_briefing_2.gui, mainmenu_briefing_3.gui, then include one of these files based on MM_CURRENTMISSION inside mainmenu_briefing.gui. Of course you can avoid this copying around and keeping 3 versions if you understand how it works and how you plan to manage it.
  22. https://www.ttlg.com/forums/showthread.php?t=134733
  23. Hmm yeah newdark also works for both thief 1 and 2 and also the gold version it seems. https://www.ttlg.com/forums/showthread.php?t=141148 latest version seems to be from 2019.
  24. On the upside this might make some people actually happy: https://forums.thedarkmod.com/index.php?/profile/34053-xolvix/&status=4090&type=status
  25. Yeah, we get this kind of post every few years, about porting to whatever shiny new other engine is out there. For reasons already discussed, "porting" isn't even a good term for it, since you'd just be making an entirely new game practically from scratch. Just look at the size of our source code. The reason we moved to the Doom3 engine it in the first place was only because Thief Deadly Shadows didn't allow us to properly make good FMs. But now we can make FMs and it's open source. If there is some cool tech that the CryEngine or Unreal engines have, it's gonna be about infinitely easier to just port that cool tech into the TDM engine than vice versa, and in fact we've done that for a lot of cool new tech like soft shadows and ambient occlusion and the like. So that's really the way to go if you want to update the tech. And we're open source so you can do that. Anyway, all that said, one can still make a cool new TDM-inspired game in CryEngine, and I'd even encourage that to someone up to the challenge. For example I'd love to see a cyberpunk or modern stealth game, and that'd be good project for a new engine. I just think if they're making an entirely new game already, why not just make an entirely new game. Well one thing that might be cool is if someone made a game in another engine that could parse a TDM .pk4 file and open up as a map in itself. So then once you've made it, it already as all of our maps ready to play in it. I have an idea that that might not work well though, especially for custom things people put in the map. Also again, we can already play those maps now. If you're going to all that effort, let's have a new cool game with new cool maps!
×
×
  • Create New...