Jump to content
The Dark Mod Forums

Newbie DarkRadiant Questions


demagogue

Recommended Posts

Stupid question, but why does the rats have their own AAS? Is it because their size...or is the RatAAS stand for something completely different? ph34r.gif

 

Yes, that AAS belongs to the rats. It's probably a smaller footprint so they can run through small spaces where the regular AI don't fit. Like behind dressers and under tables and chairs.

Link to comment
Share on other sites

Ok, I need some help with this problem which showed up last night after I had been working on the beginning of a forge made of patch cylinders (in an early stage in the foreground of the screenshots).

Compare the DR screenshot with the game render and please tell me what could have caused this. Also, ignore the green painted area... that's just me keeping something to myself for now.

I can walk through the wall where it has no texture... the other side has texture and I cannot walk back through it. The edges of the untextured area do not match at all with the edges of the brushes making the walls. The upper part of the wal runs the length of the room and extends down to the arch... all 1 piece.

I had a visportal in the archway, and thought it could have been that, but I removed it and the problem remains. I have remade the walls to no avail. I have moved the patchwork arch elsewhere and it was not causing the problem. I have deleted all but the .map file to make sure nothing stale was causing a problem.

 

Nevermind. I just learned a valuable lesson in snap-to grid. Somehow, during the course of editing stuff, one of those triangular sections of wall by the arch got pushed into the room by about .125 units. That caused a rendering issue similar to what is in the screenshot (but the other triangle was missing). So I tried to fix it by cloning the bottom left wall and the left triangle piece > to the right side of the arch, which made it worse. I pushed those 2 triangular brushes back into the grid with the rest of the wall and presto! all fixed.

post-3285-128321759832_thumb.jpg

post-3285-128321759944_thumb.jpg

Edited by PranQster

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

That's the AAS calculation stage. In tiny, tiny Doom 3 maps it might have only taken 5 seconds or less, but in NHAT 2/3, it took up to 45 seconds.

 

If that's it for such a huge mission, it isn't too bad. Having spent watching monolog.txt for several minutes each time as Dromed was calculating and recalculating lights for large levels, and before I was told on TTLG I could just run it with Quicklight and it would be done so much faster, 45 seconds is generous.

Come the time of peril, did the ground gape, and did the dead rest unquiet 'gainst us. Our bands of iron and hammers of stone prevailed not, and some did doubt the Builder's plan. But the seals held strong, and the few did triumph, and the doubters were lain into the foundations of the new sanctum. -- Collected letters of the Smith-in-Exile, Civitas Approved

Link to comment
Share on other sites

Cool, I think I'm about done screwing with it, can't make it play an anim no matter what.

 

//from the enemies def file

anim melee_attack1 models/md5/swing.md5anim
{

 frame 8   	melee melee_knife
 frame 10      sound_body snd_footstep 
 frame 17      melee melee_knife
 frame 19      sound_body snd_footstep
}

 

I want to play this anim in the conv. I selected correct actor, chose play anim in conv dialog. and I've tried both

melee_attack1 and models/md5/swing.md5anim as the anim name. I've also tried just swing and swing.md5anim

 

And I've tried a few different entity types as the actor (gaurd, peasant...)

 

But I can't get an anim to play at all, he just goes to the next item which is walk towards actor 2. (but I can't get the conv to play at all if I check off walk to each other).

 

---------------------

there's a bug with the highlight things latley. I can't unhighlight this text.

 

was able to remove bold with edit

Dark is the sway that mows like a harvest

Link to comment
Share on other sites

Is there any top limit for AI in a level? Betrayal seems to kill performance for lots of players but nbohr1more said he had smooth game run if he killed all monsters...Is the performance so heavy on the engine even if the AI isn't visible? Shouldn't visportalling delete everything about them but their origin?

Link to comment
Share on other sites

You can have them stop moving when they are out of range. It might be weird in places where a player expects a guard to come back, but he's frozen in his patrol aways away.

 

I think they are always on patrol and what not while in closed portal areas.

Dark is the sway that mows like a harvest

Link to comment
Share on other sites

BTW. I've seen this mentioned with regard to AI performance...

 

Have you adjusted AI Interleaved Thinking ? huh.gif

 

 

Hmm, no, had no idea that there was a spawnarg to make them less performance eating when far away :) When my work is finished tonight, I might do YET ANOTHER update to Betrayal...That damn mission will haunt me!

Link to comment
Share on other sites

it would be useful if they didn't do idle gestures when out of range of the player, that must eat into the performance if they carry on doing idle gestures when you cant see them. I noticed that the spiders in my vertical map were doing non existant torso idles, I understand that the torso bug on spiders is fixed in 1.03 thou.

Link to comment
Share on other sites

it would be useful if they didn't do idle gestures when out of range of the player, that must eat into the performance if they carry on doing idle gestures when you cant see them. I noticed that the spiders in my vertical map were doing non existant torso idles, I understand that the torso bug on spiders is fixed in 1.03 thou.

A lot less than you think. Turn off all gesture anims in their entity defs, and you'll get no difference in performance. Running an AI cycle (known as a 'think' cycle) is what will suck away performance. Pathfinding is definitely more complex than an animation.

yay seuss crease touss dome in ouss nose tair

Link to comment
Share on other sites

Is there any way to turn things 45 degrees? The R the circles is too analogue, I need exact control...Somebody that can interpret those numbers in the rotation spawnarg?

 

EDIT:

 

Why doesn't the rotation spawnarg work on brushes converted to func_statics?

Edited by Fieldmedic
Link to comment
Share on other sites

func_static's and models are about the same performance-wise as long as the func_static boils down to the same number of triangles.

 

(Meaning, if the engine finds a way to cull triangles that either your brain or Blender couldn't then the func_static will win...)

 

Jesps caves in Mad's Mountain are Lightwave models so you can see that even large models can perform very well.

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

Optimizing models really isn't that hard once you learn how. It becomes second nature after awhile.

Most common mistakes beginning modelers make is just having too many sides/too many segments.

 

Cylinders don't need to be 20 sides to look decent, typically 9-10 is good for this engine.

If you are making a pole you don't need 5 height segments (unless they add shape) but if it's tall 2 segments help with lighting/shading.

 

If it's a lamp post you can delete the bottom polys from the pole (they will be unseen in the ground - unless a player wants to have one fallen over)

----

Where it matters most is if there are more than one of them, objects will be better as it reduces draw calls (but func_statics could be combined into one to have similar effect.

 

A good way to optimize func_statics (other than caulking unseen faces) is to make edges not aligned. Say you have an x beam on your ceiling. Make on beam 8 units thick, and the other 7 thick. Then where they cross they won't cut each other from being on the same plane.

 

 

Dark is the sway that mows like a harvest

Link to comment
Share on other sites

Aha! Good one Aida :) Thank you!

 

Sure. I too abhor the very idea of not being able to input manipulations without having actual numerical control.

 

The fact that you built a whole mission with only the graphical manips is impressive. Me, I can't even begin to begin, but I'd certainly never have had the fortitude to do that! I think there was something pretty ~fundemental~ Biker (it might have been someone else) said he'd only learned after all of his great work too... I put it down to Biker because I think I was so impressed hearing this was after his Cathedral reworking! I obviously don't recall exactly but these are the kinds of efforts that are both inspiring and daunting.

"A Rhapsody Of Feigned And Ill-Invented Nonsense" - Thomas Aikenhead, On Theology, ca. 1696

Link to comment
Share on other sites

Optimizing models really isn't that hard once you learn how. It becomes second nature after awhile.

Most common mistakes beginning modelers make is just having too many sides/too many segments.

 

Cylinders don't need to be 20 sides to look decent, typically 9-10 is good for this engine.

If you are making a pole you don't need 5 height segments (unless they add shape) but if it's tall 2 segments help with lighting/shading.

 

Depends on size. In this case there are only four sides. Works very well as the edges are "inside" other parts.

 

If it's a lamp post you can delete the bottom polys from the pole (they will be unseen in the ground - unless a player wants to have one fallen over)

----

Where it matters most is if there are more than one of them, objects will be better as it reduces draw calls (but func_statics could be combined into one to have similar effect.

 

A good way to optimize func_statics (other than caulking unseen faces) is to make edges not aligned. Say you have an x beam on your ceiling. Make on beam 8 units thick, and the other 7 thick. Then where they cross they won't cut each other from being on the same plane.

 

I don't quite get this last part...If I set them on the same plane, they would Z-fight....or am I getting you wrong?

 

Haha, if I just could send you my top secret func_static_model I've constructed, you could see if it would be beneficial to make it in Blender...or if it's okay the way it is :) Maybe if you would like to B-test it when the time comes ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recent Status Updates

    • The Black Arrow

      Hey @nbohr1morehow come the zombies in The Dark Mod don't have a "resurrection" mechanic to it, similar to how Thief has it?
      They're quite a weak creature as of right now, it's merely a walking corpse that slashes you, making attacking them to kill them an actual strategy.
      Would be better if they had some cool mechanism to it that truly makes them a danger, such as the resurrection idea itself.
      · 2 replies
    • Ansome

      Query: when was the last time a zombie in a video game was unnerving or scary to you? I'm chipping away at my anniversary submission and I've been trying to gather opinions on the subject. I'm perfectly capable of lighting them well, changing their sfx, and creating effective ambience, but I'm worried that zombies at their core are just too overdone to be an effective payoff to the tension I'm creating.
      · 4 replies
    • nbohr1more

      The Lieutenant 3 is out! Congrats Frost_Salamander! ( raising awareness )
      · 2 replies
    • OrbWeaver

      Has anyone had any luck with textures from Polyhaven? Their OpenEXR normal maps seem too washed out and give incorrect shading in the engine.
      · 5 replies
    • datiswous

      I tried to upscale the TDM logo video. First try:

      briefing_video.mp4 You can test it ingame by making a copy of the core tdm_gui.mtr and place it in your-tdm-root/materials/ , then edit line 249 of that file into the location where you placed the new briefing.mp4 file.
      What I did was I extracted all the image files, then used Upscayl to upscale the images using General photo (Real-Esrgan) upscale setting and then turn it back into a video.
      I might have to crop it a bit, the logo looks smaller on screen (or maybe it's actually better this way?). My video editor turned it into a 16:9 video, which I think overal looks better than 1:1 video of original.
      · 1 reply
×
×
  • Create New...