Jump to content
The Dark Mod Forums

Search the Community

Searched results for '/tags/forums/brush' or tags 'forums/brushq=/tags/forums/brush&'.

  • 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. okay 1 testbed is done , time to post to ttlg , here is the link : https://www.ttlg.com/forums/showthread.php?t=153456&page=2&p=2542791&viewfull=1#post2542791 originally windows 7 isnt recommended but i decided to go down the path i have no dx9 gpu left ( and the hwtl document itself doesnt recommend dx9 era gpu) The remaining test results from other PCs and laptops will follow
  2. Hi team, I've come back to the FreeBSD native port that I was working on and have some patches that I would like to upstream. What is the best way to submit patches for consideration? Is there a public tracker/email list, or is it best to post patches somewhere here on the forums? Thanks!
  3. seems there is a new version of newdark out https://www.ttlg.com/forums/showthread.php?t=153456 version 1.29 the hwtl version supports shadowmaps postprocessing effects (bloom etc) and other nifty stuff. this one done by le corbeau himself. the hwtl version gets rather spooky with dynamic shadowmaps on . EDIT: ah just noticed it was posted earlier lol.
  4. Looks like at least some other Frenchies have access to it: https://www.ttlg.com/forums/showthread.php?t=152974
  5. So as many mappers may know, getting NPC's to path find over the top of func_static patch based terrain is a ball ache. The current method is to place lots of perpendicular MC brush at varying heights under the patch, loosely aligned to the surface of the terrain etc. When the terrain brush is all one texture type, the above is a viable solution. But when you introduce vertex painted terrain patches, the issue of different foot sounds becomes a question. As in for reasons I don't understand yet, you only hear one foot sound type, eg grass or stone etc. So I came up with a technique that I don't know if anyone has used before. To get around the foot sound issue, I place a nodraw solid brush (NDS) with different textures (grass/stone/etc) to cover the different parts of the terrain . And as every mapper knows, trying to raise/lower the vert point of a square brush, inevitably causes other verts to move when you don't want them too. So my solution was cut the square brush up into triangles, so for a square brush that's 4 triangles. Here is an example of a large vertex painting terrain brush, with 3 different textures that I have placed a bunch of NDS brush under.
  6. I have committed my changes to SVN, now SVN works on the UTF-8 system. It reads all language strings from all.utf8lang file, and only reads old-style {language}.lang files for missions if the equivalent new-style files are not available. The core .lang / .map files are present yet, but will hopefully be deleted. In the end, I had to manually add some characters to utf8map to suppress warnings. They were not handled by the old engine: I simply remapped them all to the question mark. It seems that the majority of them come from language names, and I don't care if they look broken or have question marks. I have already stated my position about language names. At the current moment, .utf8lang uses the same format as .lang, but this is temporary. As I said before, this must be changed in order to not lock us into compatibility trap. The format should be a sequence of "commands", each command starting with a keyword saying which command it is. And global state should be kept to minimum (e.g. current language seems acceptable). In addition to the current "#str_{name}" placeholders, I'd like to add two more types of replacements for missions. 1) Plain-text replacements, i.e. replace "Not enough drive space to save the game." with "Não há espaço para salvar o jogo.", as I suggested before. This approach provides zero inconvenience for the mapper, but it rather unreliable. It becomes especially bad for short strings. This kind of replacements is not cheap to perform, but I think I know how to do it efficiently. The first version will do it with bruteforce algorithm, we don't have any plain-text replacements yet anyway. 2) Full-text + ID replacements, i.e. replace "Not enough drive space to save the game.#id_nospacesave#" with "Não há espaço para salvar o jogo.#id_nospacesave#". The #id_...# placeholders are stripped from the text by the engine even if translation does not exist. If translation exists, then the engine verifies the context around the placeholder and does not apply it in case of mismatch. This approach gives mild inconvenience to the mapper, since he can clearly see the original text but has to tolerance this annoying tag at the end. The mapper can even edit the text without touching the placeholder: the obsolete translations will stop working automatically. I have a feeling that plain-text replacements won't be enough for the missions, and hope that such extra "tags" can be used here and there to make it more reliable.
  7. How you can help depends a lot on what skills you have. I can Record Video Recording "Let's Play" videos or simple walkthroughs of existing missions and posting them to Youtube is great exposure for the mod (see example .) Be sure to let us know so we can link to them. If you have some editing ability, Video tutorials, where you explain how the mod works, or how to use specific tools, would also be great. Video trailers, showcasing interesting places and features, are also great for publicity. An example is . I can Write Writing reviews for missions are always nice, especially if they include good screenshots. Not only does it give us something to post on other forums, but it makes mappers feel good when their mission gets attention (especially if it's positive). We have a collective thread to post reviews in: http://forums.thedar...s-walkthroughs/ Writing reviews of the mod as a whole, targetted an an audience that doesn't know much about TDM, is also very useful. You could also try offering your services to mappers to create interesting readables, or to proofread for their mission. I can Act and Record Audio We are always on the lookout for good quality audio recordings for vocal sets. If interested, you can pick a few different lines from this script: http://wiki.thedarkm...t:_Average_Jack and send the recordings to Springheel, who then writes a script based on the type of voice you have. I can Translate We could always use translations of our menu/hud into more languages. Also, only a few FMs are aavailable in more than one language, so there is a lot of work there, see the I18N Translator's Guide in the Wiki. I can Model Great! Take a look at the model request thread:http://forums.thedar...-requests-here/ and pick something that interests you. Or just post a, "Hey, anybody want a model?" thread in this forum and I'm sure mappers will get back to you. I can Animate Fantastic. We can always use more good animations. Our current character rigs use a Maya skeleton. PM Springheel for more info. I know C++ Have a look at our coding section in the wiki, pick an issue or feature from the bugtracker of the mod or the leveleditor, download the recent sourcecode release (or better ask for an SVN checkout) and get cracking. Make sure nobody is already working on that specific issue and feel free to ask questions. I can Edit Images We can always use completely new textures and/or improved versions of older textures. How to get started and how to import them into the mod. I can Take Photos Good quality photos of useful textures (medieval-ish building facades, dirt, rocks, wood, etc) are always welcome. The fewer directional shadows and higher resolution, the better. I don't have any skills Even if you can't do any of the above, you can still help out. Talk about TDM in other forums; share your (preferably positive) experiences with other gamers you know. Last, but not least, compliment people when you like their work. Saying "thanks", to a developer or, "I really enjoyed your mission" to a mapper will make their day. -------------------- I'll update this further as more things occur to me.
  8. Hello and thanks for checking out this post. I'm delighted to announce that version 1.1 of my fan mission "Cole Hurst 1: Eaton" is now available to download and play. This post is spoiler free, so please don't avoid digging into the details below if you are interested. I'm just using the spoiler tags to organize this post a bit. Let me start by saying "thank you" to anyone who has either previously played - or is considering playing this mission. It really means a lot to me. I have been away for a while, but following a round of beta testing that took place some time last year, I've only just recently managed to finish this update. I'm slightly embarrassed by how long it has taken me to complete, but I wanted to make sure that the valuable feedback I received was all properly addressed. Mission description "Tonight, Eaton's wealthiest citizens will gather at Lord Mayor Zelmer's estate to celebrate the city's founding. Nobles, dignitaries, a famed musician, and even the Queen will pass through its gates. While the guests celebrate Eaton's future, Cole Hurst is looking for a way out." For those new to and/or curious about this mission: I guess I would describe it as a traditional heist-style mission - although with a couple of major plot twist along the way. It's a very large map and I think it should take most players at least a few hours to complete. Screenshots Changes in version 1.1 Countless additions and a large amount of smaller tweaks and changes have all made it into this release. I may have already forgot a few things, but here are what I consider to be the main highlights: * New secrets & optional side quests * Story tweaks and reworked readables * Subtitles * Difficulty tweaks and related changes * Stability fixes * Various cosmetic changes * Audio tweaks * TDM version 2.13 now required Contributions and acknowledgments A special thanks to all of those listed below. I'm sincerely grateful for all your contributions! Mission testers and technical support @nbohr1more, @stgatilov, @duzenko, @Acolytesix, @Dragofer, @JackFarmer, @Shadow, @Cambridge Spy, @wesp5, @madtaffer, @prjames, @suzy8track, @datiswous, @boissiere and @Bergante Story Kelly Hrupa Voice actors twhalen2600 (AKA @Benny_the_guard) and Kelly Hrupa
  9. I just added this to the browser-css for https://forums.thedarkmod.com (locally) .ipsDataItem_lastPoster, .ipsDataItem_stats, .ipsCommentCount, .ipsType_light.ipsType_small.ipsType_blendLinks, span.ipsFlex-inline, .ipsDataItem_category {display: none;} /* Less number stats distractions */ Giving a less distracting result:
  10. ============== -= 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:
  11. Author note: It's hard to believe it's already been a year since Act 1 came out! Well during this mission the player will be following Corbin into the Grimwood district to followup on a lead from last night (Act 1) .. the mysterious tablet! This mission is my first time including full EFX support as well as a HD briefing video file, additionally a new script has been added crafted by the talented Obsttorte which has loot flying towards the player when you pick it up. On a level design front I have tried to change things up a bit by really catering towards a number of play styles, this mission can be completely ghosted or you can use the tools at your disposal to wreak havoc on the citizens of Northdale. For the first time I have tried to create more sandbox environments which don't offer clear answers handed directly to you, so if you're having trouble figuring something out try a different method. This mission takes between 1 - 2 hours to finish depending on the difficulty you play on and how thoroughly you explore. I hope you enjoy your night in Northdale! - Goldwell Voice actors Fen Phoenix Goldwell Random_taffer Yandros Beta testers Amadeus Boiler's Hiss Cambridge Spy Chakkman Crowind Epifire Kingsal SquadaFroinx Custom Assets Andreas Rocha DrK Epifire Grayman Kingsal MalachiAD Obsttorte Sotha Springheel SquadaFroinx Purgator With special thanks to Epifire for creating a large collection of custom models, Grayman for helping out with coding, Kingsal for drawing the ingame map and Moonbo for his script revision on the briefing video. Available via in-game downloader MIRROR File Size: 417 mb EDIT: If you are having performance issues please consult this post by Nbohr1more which may address your issue http://forums.thedarkmod.com/topic/19936-fan-mission-shadows-of-northdale-act-ii-by-goldwell-20190320/page-2?do=findComment&comment=436271
  12. 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
  13. That's a cool feature that I will have to have a look into at some point, however - - you would be doing ping-pong workflow between blender and DR, trying to guess in blender where the raised parts of the terrain should be and then finding in DR its cliping into or cover something etc. - texturing on brush would be a nightmare in DR, and this would also have to be done in blender. This would be fine if the terrain brush was the only one in that location, but if it had adjacent terrain that the texture had to align too - more ping-pong. The above only works if your creating the terrain/s right at the start when blocking out your map, but some mappers don't work that way (ie me) I build stuff on the fly and out of order and sometime come back to a map to do a detail pass and change a bunch of stuff.
  14. Looks like it's the same old script updated for latest Blender version. Just so you know, this vibe coded script below exports smaller files. It always bothered me that .md5anim files from Blender are three times bigger than they should. https://forums.thedarkmod.com/index.php?/topic/22528-md5-format-importer-exporter-for-blender-36/#findComment-508957
  15. As my custom assets work has increasingly shifted from models towards scripting, I'll open a new thread here to contain any scripts that I write which can be reused in other missions, starting with the A ) Presence Lamp This is a Lost City-style lamp that brightens and dims depending on the presence of the player or an AI. It fades between 2 colours and can trigger its targets whenever it switches fully on or off, so it should also be viable in various other situations. The standard setup consists of the following: - a trigger_multiple brush. The spawnarg "anyTouch" controls whether AIs, too, are able to activate it - a presence lamp, highly recommended with a colorme skin - one presence light, or any other light with appropriate spawnargs The targeting chain is trigger brush -> lamp -> light When the player or an AI stands in the trigger_multiple brush, the lamp switches on and starts a short timer. Subsequent triggers reset the timer. If the timer runs out because no one's standing in the trigger brush anymore, the lamp switches itself off. Notes - Multiple trigger brushes can target the same lamp, and one trigger brush can target multiple lamps. However, each presence lamp can only target one light, so if you want i.e. a bouncelight you'll need to hide an additional silent presence lamp somewhere and target it from the same trigger brush. - The lamp and the light use their own colour spawnargs respectively, since setting 0 0 0 on a lamp would make it appear pitch black. - Technically the trigger brush can be exchanged for anything else that triggers the lamp every 0.5s (this number can be changed via "update_interval" on the lamp), i.e. a trigger_timer. - This was originally named the proximity lamp and was one of many scripting jobs for The Painter's Wife. I've renamed it to "presence lamp" because the mapper may place the trigger brush(es) wherever he wishes: proximity to the lamp is not a factor. Credits go to Bikerdude for putting together the crystal lamp models. Download Presence Lamps - Google Drive Place or extract the .pk4 into your FM archive, then look up the presence lamp prefabs. If you already are using other custom scripts, remember to add the presence lamp's .script to your tdm_custom_scripts file. B ) Teledoor This is a Skyrim-style door which opens just a bit into a black_matt "void" before teleporting the player to a different area of the map, which may represent the other side of the door. This is used for connecting physically separated map areas with each other, such as when there's an exterior/interior split of a building or ship to allow for more mapping freedom. [Full Thread] C ) Mass Teleport This is a teleportation setup designed to seamlessly teleport the player and any moveables between two identical-looking areas. This allows the mapper to link 2 physically distant areas with each other while maintaining the illusion that they're connected. The teleportation zones should be free of AIs as they can't be teleported like this without their patrols breaking. [Post] D ) Automaton Station A station for Sotha's automatons (includes the automatons) which can be switched on and off by patrolling automatons. (Part of core assets as of 2.10) [Post] E ) Camgoyle A sentient turret originally made for the FM Written in Stone. It's based on the new security camera entity and augmented with scripting to allow it to fire magical projectiles at the enemies it detects. People are more than welcome to use it and to convert it into something else, such as a mechanical turret. [Post] [Download] F ) Audiograph The audiograph is an Inventor's Guild device for playing back recordings stored on spindles, which are small metal cylinders the player can pick up and store in his inventory. [Post] G ) Turret A new companion to security cameras familiar to Thief players. It will become active as soon as an enemy is detected by a targeted security camera, firing projectiles to fend off the intruders. Similar to the security camera and the camgoyle sentry, turrets are highly customisable in their behaviour and appearance. [Thread] G ) Fog Fade Dynamically change fog density depending on what location the player is in. [Thread]
  16. Hey Brams2! Welcome to the dark mod! And you're coming in with two lovely missions to play, as well. Great work on these! One quick note: before these missions get added to the mission downloader, it's usually a good idea to get them beta-tested first. I also played the second mission and fell out of the map: But yeah, I suggest you start a beta testing thread here: https://forums.thedarkmod.com/index.php?/forum/59-tdm-mission-beta-testing/
  17. It seems a driver problem, not really strange for me. I don't think that it is really a TDM problem. In other Forums I see a lot of different issues with Logitech Mices and drivers, myself I had also problems with Logitech Mices. Nerer had again Problems buying specifically gaming mices with cable, these are way more robust and stable for obvious reasons. Maybe changing the Mouse will solve the problem. Currently I use the Rival 3 Gen 2 from Steel Series since several Years, very precise and responsive, apart with a good price (some Years ago I paid ~€30, now it costs somewhat more as I saw in its Homepage.
  18. Creating buildings one by one manually using a brush turns out to be prone to errors and can result in the accidental deletion of some overlapping modules, especially if you haven’t planned how many units (how many by how many, for example 512×512) to use for the grid.... I haven’t tried prefab walls, etc yet.
  19. I see we have independently noticed this problem. I have proposed named strings for these instead of numbered strings in https://forums.thedarkmod.com/index.php?/topic/23204-proposed-i18n-improvements-for-tdm-215/ Would you be willing to change your patch to use those names? I'm translating those strings into the 16 languages now. I'll look to your translations for the German versions.
  20. So am doing a bug fix pass on 'Business as usual' and would like to know, what is the simplest way to prevent this from happening? I have made the beds noclipmodel, placed nodrawsolid brush just under the surface of the bed and also placed monsterclip brush around the bloody bed.
  21. Yes, instead of starting with the English text in the prompt, it is better to point it to a file instead, when the amount of text is voluminous (as it will be in my upcoming Group 3 work in https://forums.thedarkmod.com/index.php?/topic/23204-proposed-i18n-improvements-for-tdm-215/ ). Good to know Google Translate supports URL file access. So does ChatGPT (even the basic version without login).
  22. https://youtu.be/fwJwNLRY4kg "I am not enjoying my journeys, its so cold at the moment I imagine the chill could freeze a candle flame into a fire-gem and ole scratch's tears solid to his stoney face. Suffice to say, I'll be happy to get out of these whipping winds. A friend has asked me to keep an eye on his place while he is out of town. That part of Bridgeport is quiet enough, but he has been having a few problems he would like sorted out. I will know more when I get there." Download Link: v3.45 - https://mega.nz/file/jFEh3AYC#6EwN8eJ0uaioddse4iBTbTs-YKDsHAr_oHx9M4LI4T4 Thanks:- - As always espect to the Dark Mod team and for all the hard work they put and continue to put into it. - Flanders for his excellent models and textures. - Special thanks to the people that answered my technical questions on the forum. - Beta testers: (v3.45) Mat, DavyJones, Keruah, Oldjim, Amadeus, (v3.0) Lowenz, AluminumHaste, Greyman, nbhormore, McPhisto, Lost_soul, Pranqster and the original testers! Info: An update of the original Christmas Contest mission for TDM 1.08. Now requires version 2.14 List of fixes: For version 3.0 - (19-01-2013) The Tavern has been tweaked for better path finding and the punter's all sit down better, the barmaid now has RITS and there is new tavern music The south city gate barracks has a new room to explore, you have to climb to get to it. The Hotel has been improved for better path finding. The hotel apartment has been redecorated and a couple of new things for the player to interactive with and look at. There is a completely new shop for the player to explore and loot. Applied Grayman's winter breathing script, so when Ai are outside they all breath hot breaths of air The Thief's hideout was raised and tweaked for better game play. All side alley's have been tweaked visually. The north city gate has been visually improved. I have added a few new locations for the player to climb to for loot The objectives, briefing and readable's have all been tweaked. All top facing external surfaces have snow texture applied (this took frikin ages...) Added frost decals to every applicable window (this also took frikin ages) I increased perf again through out the map And finally lot of the bugs and issue and request players had have been fixed and addressed. For version 3.45: have placed a bunch of Volumetric lights in LOD better setting there were over a dozen broken or leaking vizportals and or overlapping vizleafs. found and fixed numerous texture misalignment. tweaked the locations and the monster clip for all the sleepers, to try and resolve the ko-death issue. tweaked/edited all the NPCs in the tavern, and one or more them was alerting all the others. edited the first objective so it only triggers after you read the note. remove the drop start for the player, very old mapping method that is no longer required. added Volumetric light version of a bunch of light sources and placed them on LOD better. added a area wide fog light to the sewer system. made the wine shop basement less aggravating to enter. fixed the pathing issues between the gnd and basement in the wineshop. lowered the brightness of some of the lights that were overly bright. fixed some broken lights that had been poorly placed and never spotted when this mission was release. fixed a shed load of broken, misaligned, misplaced, or just plain wtf is that there bits of brush and objects. will update this list as I go. added a building façade behind the SE city gate lookout and made some roof a single FS to enhance the skyline. added some winterised trees from Scrooge FM. moved the window on the small room to the south west and made it an opener, as it had been blocking access to a piece of loot. fix a couple more random issues spotted by the testers.
  23. 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.
  24. Ik quickly asked Gemini, the free google AI: This looks like a script for the Doom 3 / id Tech 4 engine (or a derivative mod like The Dark Mod), given the use of sys.getEntity, spawnarg terminology, and specific camera state integers. There are two critical logical errors and one undefined variable bug in this script that will cause it to break or fail to compile. Here are the fixes you need to make: ## 1. Define the Global or Local State Variable In cycleCameras(), you use currentCamera to store the active camera number, but it is never declared. If multiple functions need it, it should be defined at the top of the script. ## 2. Fix the Camera Power-On Logic Loop In toggleCameras(), when poweredOff is true, the script turns the camera entity on and checks if ( startsHidden(screen) ) { screen.hide(); }. * The Bug: By default, when a map loads, hidden screens are already hidden. If you turn the system off and then back on, the script hides the screens that should be hidden, but it never calls screen.show() on the one screen that is supposed to be visible. * The Result: Activating power turns the cameras on, but all screens remain black/hidden. ## 3. Fix the "All Screens Showing" Misconception Your areAllScreensShowing() function assumes that when the cameras are powered on, screen.isHidden() will return false for all screens. In id Tech 4, using camera.On() or camera.Off() affects the camera feed entity, but it does not automatically alter the spatial .hide() or .show() status of the screen brush/model itself. ------------------------------ ## Optimized & Corrected Script Here is the corrected version of your script with the bugs fixed: /////////////////////////////////////////////////////////////////////////////////////////////////////// SECURITY CAMERA CODE////////////////////////////////////////////////////////////////////////////////////////////////////// string TARGET_CAMERAS = "target_callscriptfunction_camera_cycle";string TARGET_CAMERA_POWER = "target_callscriptfunction_camera_power"; // FIX 1: Declare the tracking variable globally so the engine registers itfloat currentCamera = 1; boolean startsHidden(entity e) { return ( e.getIntKey("hide") == 1 ); } boolean areCamerasOff() { float i; entity cameraTarget = sys.getEntity(TARGET_CAMERAS); for(i = 0; i numberOfCameras ) { nextCamera = 1; } // Show the next screen in the sequence for(i = 0; i < numberOfCameras; i++) { screen = cameraTarget.getTarget(i); float sequence = screen.getIntKey("sequence"); if (sequence == nextCamera) { screen.show(); currentCamera = nextCamera; // Update tracking state return; } } } ## What changed? * Removed the problematic areAllScreensShowing() function entirely, streamlining cycleCameras(). * Added screen.show() to toggleCameras() so the primary screen actually renders when you turn the power back on. * Added screen.hide() to the power-off sequence to guarantee absolutely zero performance draw while the system is offline. What specific bug or behavior were you encountering when you ran this in your map? It seems Gemini recognises even the scripting language, so I'm hopfull it could work, otherwise you start your own Gemini session if new errors pop up.
×
×
  • Create New...