Search the Community
Searched results for '/tags/forums/code' or tags 'forums/codeq=/tags/forums/code&'.
-
Greetings everyone! I recently got into TDM and am already having a lot of fun playing through and ghosting missions. However, coming from Thief, I am mostly relying on the rules and my experience with that game, while there are clearly differences in how TDM works. Right now, there is talk in the ghosting discussion thread on TTLG to amend the ruleset and include clarifications pertaining to TDM. So I wanted to drop by and ask: is there an active TDM ghosting community already and have any rules for this playstyle been developed? I would also like to ask someone to take a look at the draft of this addendum to see whether everything looks correct: https://www.ttlg.com/forums/showthread.php?t=148487&page=16&p=2473352&viewfull=1#post2473352 Thanks!
-
Darkmod underutilizes, in my opinion, capabilities for procedural animation. We already do some, like the random head and torso turns that are added on top of existing animations. There's also possibility for separate animation for top and bottom of the character as well as head. There's a missing opportunity for varied facial expressions. I talked about animation blending in this thread. Here's something that for example Thief: Deadly Shadows did. It's swaying side to side while turning. I used Gemini to add code to the tdm_ai_base.script. I don't know if this is the most efficient way of doing it, probably not. Here are the parts added: Gemini came up with the term "banking" which is used in car racing. I don't know if that's what it's called in animation or games. There's a lot of variables that can be tweaked. You can rotate this way any bone you wish. I use 'Origin', 'Spine_Dummy' and 'Neck' bones: You can tweak amount of rotation for each bone. setJointAngle(m_bankingJointHandle, 1, jointRotation * 1); setJointAngle(m_bankingJointHandle1, 1, jointRotation * 0.6); setJointAngle(m_bankingJointHandle2, 1, jointRotation * -1.5); There's also global intensity: (targetBanking = deltaYaw * 1.4;) and attenuation: m_bankingCurrentValue = (m_bankingCurrentValue * 0.95) + (targetBanking * 0.05); modifiers. Gemini also proposed to add an LOD system, which I thought was a great idea. So currently at a distance of 1500 from player the swaying will be disabled. Here are examples, each with slightly different values: And here's comically exaggerated one:
-
Yes. Do you use executable from assets SVN or an executable built locally from source code? I usually don't commit newly built executables between dev builds. I'd say test maps look better inside "test" subdirectory, maybe delete the first one.
-
I've been writing a screenplay over the last few months and could use some smart reads before I take it further. "Erasure" — Civil War period drama, Shenandoah Valley, winter 1864-65. Three Confederate women shelter a Black stranger named Elias; their husbands return from Mosby's command at the end. About 64 pages. Restrained period prose. Has an unusual element late in the runtime that I'd most value people's read on. https://e.pcloud.link/publink/show?code=XZ94qiZHE2hjDl8iCRI24ixDlfcehrikpxV If you read any of it, I'd value the read. Most useful: did it hold you, and if you finished, what do you think happens at the end. If you stop somewhere, telling me where is also useful data. No obligation. Whatever you give back is appreciated.
-
NPCs tracking player with their heads and torso - procedural animation
Arcturus replied to Arcturus's topic in The Dark Mod
This version was made using built in "look at" code. , tdm_ai_head_tracking_humanoid.script- 3 replies
-
- 1
-
-
- procedural
- animation
-
(and 2 more)
Tagged with:
-
Flipbook is an infinite visual browser generated entirely on demand in real time. Zain Shah, Eddie Jiao, Drew Carr Every "page" you land on is an image. Click on anything in the image and you will get a new image exploring that thing in more depth. What you see contains no HTML, no code, no specific links or fields. The entire web is just generated pixels on your screen. https://www.sketchapedia.com
-
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
- 14 replies
-
- 15
-
-
-
How about adding the following config-line to your darkmod.cfg file, so you can store the FM folder somewhere else: set fs_ModSavePath "h:\darkmod/fms" More info: https://forums.thedarkmod.com/index.php?/topic/20991-using-system-wide-file-locations/#findComment-462471 Or just move the whole TDM folder to the H-drive. Because the TDM folder is "portable", it keep all the files inside it, as stgatilov posted. (unles you change things in the darkmod.cfg file)
-
The community patch packs have some gameplay and graphics mods. Thief Mods and Utilities https://www.ttlg.com/forums/forumdisplay.php?f=174 TFix https://www.ttlg.com/forums/showthread.php?t=134733 T2Fix https://github.com/Xanfre/T2Fix There are a few mods here for Thief and System Shock 2. Keyring Ghost Mode Minion Summoner Fairy Light Radar https://github.com/saracoth/newdark-mods Upscaled textures and paintings https://www.moddb.com/mods/thief-gold-esrgan-pack https://www.moddb.com/mods/thief-ii-esrgan-pack
-
Wishlist For Darkradiant
func_klaus replied to sparhawk's topic in DarkRadiant Feedback and Development
@greebo I've been learning a lot from your code and the architecture of DarkRadiant. Never had a C++ unit test suite that ran so smoothly! Kudos to you for all the fine work on the project. I'm happy to help in any way that you guys choose to. I just added a nightly build to the repo, that should make it easy for you guys to try out new features as soon as they are pushed into master. Yes, I think the bug tracker is the best place. Since there is a lot of history there, it helps me understand why certain things were done in a way, so I can avoid creating new bugs or disrupting existing workflows. And then we can use the forums for discussions/ideas/etc. I already have an account, just need that editor status so I can mark things as closed. @kingsal @IZaRTaX the latest build should have the fixes so that user scripts can be loaded from the user folder, and attached to hotkeys. @Frost_Salamander I'm focused on https://bugs.thedarkmod.com/view.php?id=6547 right now and it's been difficult for me to see what the "correct" alignment should be. Can you attach a .map with what the alignment should be? That would a lot. -
I don't know how it works for Radeon but for NVidia there is a setting in the control panel called Power management mode, it's is also possible to change it for any game individually. Also Windows has its own power management settings. Here is the thread on Dolphin forum about it(but it's pretty old and some things most probably changed): https://forums.dolphin-emu.org/Thread-unofficial-laptop-performance-guide
-
Yeah, there could be something wrong with my machine, but I'm not gonna spend endless time trying to figure it out in a thread started to see if Framegen was viable... It's running well enough for what I expect from AMD opengl performance under Windows, and my darkmod.cfg is stock. I'm not running above 1080p or 60 fps. Like I said, the biggest performance issues were related to the fps cap, and shadow maps. If this is a known issue with vsync and 60hz displays, maybe the default settings shouldn't have the cap enabled? I am also using reshade, and some effects can be quite heavy under opengl, but the tradeoff is worth it in my opinion for modern antialiasing and ambient occlusion (plus I don't like the default color tone/grading in TDM, too much puke green/yellow going on). Assuming you're running an rx6600 under windows, are you able to crank it above 70% gpu usage without stuttering? That's where it caps for me for smooth performance, so if you're able to do that I might look into it further, but I've reinstalled TDM so many times that this is probably as good as it gets on AMD/Windows. Glad to hear you're working on the shadow code, though stencil are working well enough for me now.
-
Mandrasola is a small sized map in which aspiring thief Thomas Porter steals some herbal products from a smuggler. The mission was created by me, Sotha and I wish to thank Bikerdude, BrokenArts and Ocn for playtesting and voice acting. Thanks goes naturally to everyone contributing and making TDM possible. This mission occurs chronologically before the Knighton's Manor, making it the first mission in the Thomas Porter series. Events in chronological order are: Mandrasola, The Knighton's Manor, The Beleaguered Fence, The Glenham Tower and The Transaction. The winter came early and suddenly this year. Weeks of strong blizzards and extremely harsh cold weather hit Bridgeport hard. With the seas completely frozen, a rare occurence indeed, most of the City harbor commerce has stopped completely. Vessels are stuck in the ice and no ship can leave or enter the City, resulting in the availability imported goods declining and their prices skyrocketing. One of these imported items is Mandrasola, a rare herbal product, which is imported overseas from the far southern continents. Mandrasola has its uses in alchemical cures and poisons, but mostly this substance is used for its narcotic qualities by commoners and even the nobility. The problem with Mandrasola is that excessive use is extremely addicting and the withdrawal effects are most grievious. Many are utterly incapable of stopping using Mandrasola and are transformed into quivering human ruins if they do no get their daily dose. And now this expensive and rare substance is running out from the whole City. Me and my fence, Lark Butternose, would love to grab this monopoly to ourselves: selling the last few doses in the City would probably be worth a fortune. According to Lark's sources, there remains only one smuggling lord who still has Mandrasola in stock. The problem is that this individual maintains an exclusive clandestine operation and only supplies a few nobles. Despite our best information gathering efforts we couldn't learn who the smuggler is and where he or she operates. Luckily we have an alternate plan. While searching for Mandrasola related information, we learned that a noblewoman called Lady Ludmilla is addicted to the substance and has paid high prices for small amounts of it. We also know that she has visited frequently someone in the Tanner's Ward waterfront, and since she goes to the area personally we believe she is visiting the smuggler. The plan is simple: I must monitor Ludmilla's most likely entryway to the Waterfront and then follow her to the smugglers hideout. I'd better be very careful around Ludmilla. She must not realise I'm following her or she probably won't lead me to her dealer. Hurting her is also out of the question. After she leads me to the smuggler's hideout, I can take my time to break in carefully and steal all the Mandrasola I can find. While I'm there it wouldn't be a bad idea to grab some loose valuables as well. I've now waited in the blistering cold for a few hours already. Looks like there are a few city watch patrols in the area to complicate matters... I think I heard a womans voice beyond the north gate. That must be lady Ludmilla, I haven't seen many ladies in these parts. I'd better get ready.. Links: Use the ingame downloader to get it. WARNING! Someone always fails to use spoiler tags. I do not recommend reading any further until you've played the mission.
-
Those AIs indeed love to generate lots of code... I believe this smoothing might be FPS-dependent: m_bankingCurrentValue = (m_bankingCurrentValue * 0.94) + (targetBanking * 0.06); If you set com_maxfps 10 or com_maxfps 300 without vsync, does it work the same? Interestingly, I looked in the source code, and I see that sys.waitFrame still waits 16 ms instead of one frame. And given that com_maxTicTimestep = 17, I guess you can´t get very different results here. Also, did you test it on non-human AIs? I guess this code applies to various spiders and elementals as well...
-
============== -= 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 ============== Beta Russian Language Translations by @kalinovka Mirror #1: yandex.ru Mirror #2: Google Drive ============== *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:
- 441 replies
-
- 24
-
-
-
This pinned thread's purpose is to collect links to all the discussion threads for new features to be added in 2.14: https://forums.thedarkmod.com/index.php?/topic/23080-214-new-and-updated-assets/ https://forums.thedarkmod.com/index.php?/topic/23072-214-mirrors-and-remotes-resolution-and-optimizations/ https://forums.thedarkmod.com/index.php?/topic/23070-214-tdm-version-macros-and-x-ray-breaking-change/ https://forums.thedarkmod.com/index.php?/topic/23071-214-in-game-screenshot-as-menu-background/ https://forums.thedarkmod.com/index.php?/topic/23073-214-interactible-projected-decals/ https://forums.thedarkmod.com/index.php?/topic/23074-214-new-smoke-generation-system/ https://forums.thedarkmod.com/index.php?/topic/23088-214-beta-ko-non-elite-ai-after-flash/ https://forums.thedarkmod.com/index.php?/topic/22736-font-localization/page/2/#findComment-503417 As well as older Feature Collection Threads: [2.13] Feature Discussion Threads [2.12] Feature discussion threads [2.11] Feature discussion threads [2.10] Feature discussion threads
-
- 6
-
-
-
its a wine bug, some workarounds here https://forums.lutris.net/t/multi-disc-install-problem/9116
-
at one time there were literal hundreds we had a thriving community dedicated to work on the idtech 1 through 3 engines creating some rather unique ones along the way. these days only a few survived, but they are also pretty good. quakespasm is multiplatform but otherwise faithfull to the old look. behind the scenes the engine was updated immensly though with mouse driven menus, shader based rendering, and 64 bit support. darkplaces was a complete rewrite of the source code by lord havoc and one of the most advanced. sports bumpmapping, pbr, rtlights, glsl shaders, client side qc effects, shadowmaps, and quite a lot more. then theres engines like fteqw which is a multi quake engine that can play quake 1 2 3 and hexen 2. supports the same features as darkplaces but focusses more on online play and deathmatches but can also play singleplayer. has a built in feature for downloading mods like TDM does. QMB: was a port that originally was most known for its advanced particle system and neural network based bot matches. it has luma textures, colored lighting, high quality video capture, and cell shading. joequake was based of the original code but rewritten quite a bit. sports independent server client physics, ghost mode recording, browseable demos maps mods etc, a better mouse driven menu, high quality video capture, colored lighting, and supports most mods out there. list is pretty long so ill stop before it gets embarrasing but they all support HD textures as well and some of them can even use quake 3 models in quake 1 as well as skeletal models for some of them like fteqw and darkplaces.
-
started dusting off my old tomazquake based engine because i have a few ideas that might be fun to try out. porting the render portion to xash3d (my port uses vertex buffer objects and vertex arrays). engine has support for effect scripts that allows one to do some cool stuff like cubemapped reflections (mirroring) particle modifications (decals effects mostly) stencil haze (for smoking torches lava or boiling water) surface animations and a whole lot more. particle system was originally from tenebrae and can make pretty convincing explosion effects, blood sprays etc. dot3 bumpmapping, stainmaps, luma texturing and a whole ballpark of stuff i forgot probably . im going to use the last official xash3d source as a base. the particle system is probably not compatible with half-life in its current form so will probably take some work. xash3d can allready play quake via qwrap but its basically the old quake with a better menu so no eyecandy (that should change a lot with this modification). the bumpmapping code will also need some work since wad 3's cannot handle normalmaps to my understanding. ill probably also port the C based render code to C++ to better interface with the client.
-
btw https://github.com/OldUnreal/UT99VulkanDrv includes the source code for the d3d11 and d3d12 drivers. only thing that is missing is the damn sdk for ds9 . in case anyone wants to try messing a bit with it.
-
using 7zip as a container can work but from what i could read at the zdoom forums it comes with an overhead. memory requirements go up loading time goes up so the question is if it is worth it ?. the better compression is nice though. i been wondering if zstd would be a better bet ?. directstorage 1.4 adds zstd support so maybe ?.
-
btw a d3d 12 and vulkan renderer is in the works for unreal https://github.com/dpjudas/UT99VulkanDrv in time it might be adapted for other unreal games but depends if the game has an sdk which quite a few newer had. ds9 the fallen did not have an sdk so i guess the dx 11 render dev had to flunk it and create import libraries from the game files and just use the headers from the unreal sdk with them. (seems to have worked though). sadly it was taken down due to some shenanigans at moddb so the renderer can be a bit hard to find these days, and he newer released the source code. also the dds files must use S3TC it seems.
-
Wishlist For Darkradiant
datiswous replied to sparhawk's topic in DarkRadiant Feedback and Development
A while back I tried to make a Python script plugin around this code: The idea was that it has a small gui, where you fill in the view position. I found it too difficult to create. Whenever I steer a little bit away from the code examples on the wiki, I immidiatelly get lost. Off course I don't really have proper Python knowledge. -
Wishlist For Darkradiant
OrbWeaver replied to sparhawk's topic in DarkRadiant Feedback and Development
I'm not sure how the web site works these days — is it Git based? I do actually have a little GitLab CI script in my repo (https://gitlab.com/orbweaver/DarkRadiant/-/blob/master/.gitlab-ci.yml?ref_type=heads), which just generates the manual HTML using asciidoctor then puts the resulting page into the public directory, but I can't remember what URL the content appears at (if it still appears anywhere). Presumably if all of the website content was in the repo, such a CI script could deploy the whole thing rather than just the user manual, and the darkradiant.net domain could be pointed at it. But I don't know if maintaining a website by making commits into the same repo as the source code is actually a good practice or not. -
@SeriousToni It's perhaps explained somewhere in id tech's code.