Jump to content
The Dark Mod Forums

TDM NEW MAPPERS WORKSHOP


Recommended Posts

You've said that each visportal belonging to the visleaf the player is currently in and which is in his field of view is automatically open. This is not exact. The visportal is only open if the side of the current visleaf is facing the player.

 

 

Could you explain that one further? I'm not quite sure what you mean.

Link to post
Share on other sites
  • Replies 339
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Welcome to the New Mappers Workshop!   This is a communal workshop for new mappers who have never made a TDM mission before. Each week or two I will make a tutorial video and help to guide everyone t

So, Lesson 1 is all about creating realistic goals. This is meant to be a ten week workshop, so we're going to be creating fairly small missions. I really want us to create goals that are achievable

To show a bit of my own progress, these are two pictures of the room I made for the last assignment, taken from two opposing corners of the room:   https://www.dropbox.com/s/smthcgzsc9rwnji/PoR1_2017-

Posted Images

 

Could you explain that one further? I'm not quite sure what you mean.

I'll try. Each visportal actually has two sides, each facing into one of the both visleafs the visportal is connecting. I've created an example setup.

post-11230-0-74763800-1498675922_thumb.jpg

The green line is the visportal, connecting the visleafs #1 and #2 (marked in different colours). The player is in the first visleaf. The green arrow illustrates the normal vector of the visportal facing into visleaf #1. The one towards the other visleaf points exactly into the opposite direction, but that is not important here. If the player stands at position A, he is staring directly at the side of the visportal facing the visleaf he is currently in, causing it to be open.

post-11230-0-25832100-1498676169_thumb.jpg

If the player stands at position B, he is still staring at the visportal, but this time at the side that is facing into the other visleaf. In this case the visportal stays closed.

post-11230-0-24797600-1498676567_thumb.jpg

 

Regarding the math. I didn't look it up in the code but if you have the normal vectors of the visportals facing into your current visleaf, you can find out which situation is the case by checking whether the angle of the players viewing direction and the visportal normal exceeds then 90 degrees. Only in that case it should be open. This is the same math the trigger look script uses, which I'd explained I while ago.

  • Like 3

FM's: Builder Roads, Old Habits, Old Habits Rebuild

WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to post
Share on other sites

There is a 's' missing after prefab, a typo in the link.

 

So it is: http://www.mindplaces.com/save/prefabs.zip

 

@Springs: On my end there are black bars around the video, so it isn't using the full size of the screen. If the video looks like this is there a way to get rid of it?

FM's: Builder Roads, Old Habits, Old Habits Rebuild

WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to post
Share on other sites

A few things I noticed, while watching: for resizing brushes, you keep saying to right-click next to the brush. This should be a left click. Regarding navigation in camera view: When you have clicked the right mouse button and are able to look around, you can also use the arrow keys on your keyboard to navigate. This also allows you to strave right and left and has a more fluent movement forward and backward than the mouse wheel. Finally: For a German keyboard the console is called not with ctrl+alt+tilde, but ctrl+alt+circumflex (in each case it should be the key left of the number "1" key).

 

Edit: I forgot to write this earlier: The entities being sorted by pk4 is only true for AI. It is something that I have observed before. However, I am not sure, what causes this. It did not bother me enough to report it though...

Alos, I have added the video to the tutorials list on the Wiki.

Edited by Destined
Link to post
Share on other sites

There is a 's' missing after prefab, a typo in the link.

 

So it is: http://www.mindplaces.com/save/prefabs.zip

 

I added an "s" last night, but I see that only updated the text, not the actual link. Fixed now.

 

@Springs: On my end there are black bars around the video, so it isn't using the full size of the screen. If the video looks like this is there a way to get rid of it?

 

I've tried to figure out why that's happening. It didn't for any of the other video series I've done and as far as I know I'm not doing anything differently.

 

Oh, I see the display ratio was somehow changed during import.

 

A few things I noticed, while watching: for resizing brushes, you keep saying to right-click next to the brush. This should be a left click.

 

Thanks for mentioning that; I will re-upload after fixing that issue.

Link to post
Share on other sites

I've tried to figure out why that's happening. It didn't for any of the other video series I've done and as far as I know I'm not doing anything differently.

 

Oh, I see the display ratio was somehow changed during import.

YT will do this if you dont upload videos files in one excepted excepted aspect ratios -

 

- https://support.google.com/youtube/answer/6375112?hl=en-GB

 

But found a workaround -

 

-

  • Like 1
Link to post
Share on other sites

Already fixed at the source. I've uploaded a revised version.

  • Like 1
Link to post
Share on other sites

Huh, I'm using the same version but on Windows. Maybe the Linux version doesn't have that option....?

Link to post
Share on other sites

This sounds like DR is not set up correctly and thus cannot find the textures. Does your Engine path (when selecting File->Select Game...) point to your "The Dark Mod" folder (where the "TheDarkMod.exe" and all the pk4 files are stored)? The path to fms/"Yourmap" goes in the line "Mod (fs_game)".

Link to post
Share on other sites

I have a problem following your Lesson 3 in that I have no mapper_tools group in my prefabs that I downloaded??? HELP

 

Make sure you've followed these steps:

 

1. Download the prefabs.zip file.

2. Extract it into your main "darkmod" folder.

3. Set the "Engine Path" in Dark Radiant to your "darkmod" folder path.

 

All I see when I import prefabs is this:

 

 

Make sure you are using the most current version of TDM, and that your Engine Path in DR is set correctly, as Destined mentioned.

 

Let me know if this doesn't fix the problems.

Link to post
Share on other sites

Hey Spring, which version of DR you are using? I'm using DR 2.2.1 on Linux and there is no "Window Layout" entry in the view menu. It should be there, shouldn't it?

 

There's a bug in the Linux version of 2.2.1, some menu items are missing, and things like the most-recently-used map file list gets borked after use.

I've fixed this in most recent Git though.

 

It's possible to assign a key combination to the command changing the Window Layout, look for "ActivateLayoutEmbedded" in the Edit > Keyboard shortcuts dialog.

Link to post
Share on other sites

 

There's a bug in the Linux version of 2.2.1, some menu items are missing, and things like the most-recently-used map file list gets borked after use.

I've fixed this in most recent Git though.

 

It's possible to assign a key combination to the command changing the Window Layout, look for "ActivateLayoutEmbedded" in the Edit > Keyboard shortcuts dialog.

 

Thanks for the tip greebo! I didn't know there were keyboard shortcuts to change the window layout.

I also assigned a hotkey to the readable editor, whose menu entry is also missing.

Link to post
Share on other sites

I had been following along with Lesson 3 and had successfully used the prefabs up to when I had to select "mappers-tools" when I found I had no folder by that name in my prefabs main folder. See below

 

 

https://photos.google.com/photo/AF1QipM4NVKSqduYOU0Hcd7eaWbUpOPsionVHs6yMd1u

The same prefab can be found in misc->StartTool,Ammo.pfb

Link to post
Share on other sites

As someone who has never tried a 3D graphics program before I have to follow the video step by step and its ok saying use something else but why should I have to ask for help when the prefab should be there in the first place if that is what the video says to use!!!

 

If I am expected to find my own way around then I might just as well give it away now before I get too deep into it.

Link to post
Share on other sites

That's why I posted the alternative: so you can further follow the video. I cannot talk for Springheel, but he may just have forgotten to include this prefab into the zip-file he provided. Don't be discouraged by minor bumps. The videos so far have been a very good introduction (at least in my opinion), but Springheel is still just human, so some mistakes are bound to happen. If you find a problem or a mistake, just post it here and we will find a solution (after all, this is what the forum is for).

And without wanting to discourage you: I am quite sure you will spend quite some time finding your way around, looking for models, prefabs and entities you want to use, until you have a feeling about where to find them. I know time is precious, but you will have to invest some, if you want to create a map.

  • Like 1
Link to post
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.


×
×
  • Create New...