Jump to content


Photo

TDM NEW MAPPERS WORKSHOP


261 replies to this topic

#51 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36413 posts

Posted 28 June 2017 - 08:14 AM

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. 



#52 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5155 posts

Posted 28 June 2017 - 02:05 PM

 

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.

dr_shot.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.

posA.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.

posB.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.


  • Springheel, teh_saccade and Destined like this
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
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#53 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36413 posts

Posted 02 July 2017 - 08:08 PM

*
POPULAR

The third lesson is up (give it a few minutes to process):


 
The links referred to in the video:
Dark Radiant Page: http://www.darkradiant.net/
Prefab download: http://www.mindplace...ave/prefabs.zip
Model download: http://www.mindplace...save/models.zip
 
Also, you will get a lot of value out of watching the videos on using modules (or at least the first one).


  • RPGista, Anderson, Aosys and 2 others like this

#54 marcuskiwi

marcuskiwi

    Member

  • Member
  • PipPip
  • 16 posts

Posted 02 July 2017 - 10:42 PM

Getting "webpage not found" when clicking on link to prefabs download. Link incorrectly points to "prefab" but it should be "prefabs"
Mike

Edited by marcuskiwi, 03 July 2017 - 01:43 AM.


#55 Destined

Destined

    Advanced Member

  • Member
  • PipPipPip
  • 1258 posts

Posted 03 July 2017 - 01:21 AM

Same here



#56 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5155 posts

Posted 03 July 2017 - 02:21 AM

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

 

So it is: http://www.mindplace...ave/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
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#57 Destined

Destined

    Advanced Member

  • Member
  • PipPipPip
  • 1258 posts

Posted 03 July 2017 - 05:11 AM

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, 03 July 2017 - 05:26 AM.


#58 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36413 posts

Posted 03 July 2017 - 08:07 AM

There is a 's' missing after prefab, a typo in the link.
 
So it is: http://www.mindplace...ave/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.



#59 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18643 posts

Posted 03 July 2017 - 10:09 AM

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.goog...375112?hl=en-GB

 

But found a workaround -

 

-


  • Obsttorte likes this

#60 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36413 posts

Posted 03 July 2017 - 01:01 PM

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


  • Obsttorte likes this

#61 Nightcrawler

Nightcrawler

    Member

  • Member
  • PipPip
  • 78 posts

Posted 03 July 2017 - 05:58 PM

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?

No%20Window%20Layout%20Entry.jpg?raw=1

#62 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36413 posts

Posted 03 July 2017 - 07:58 PM

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



#63 marcuskiwi

marcuskiwi

    Member

  • Member
  • PipPip
  • 16 posts

Posted 03 July 2017 - 10:59 PM

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

Edited by marcuskiwi, 03 July 2017 - 11:07 PM.


#64 Destined

Destined

    Advanced Member

  • Member
  • PipPipPip
  • 1258 posts

Posted 04 July 2017 - 01:09 AM

You can alos use misc->StartTool,Ammo.pfb



#65 DoubleOhZero

DoubleOhZero

    Member

  • Member
  • PipPip
  • 38 posts

Posted 04 July 2017 - 03:53 AM

All I see when I import prefabs is this:
http://imgur.com/9Sz2grh

Its like all the textures are hidden?

 

Edit: Other prefabs have geometry but it is covered with 'shader not found'


Edited by DoubleOhZero, 04 July 2017 - 03:56 AM.


#66 Destined

Destined

    Advanced Member

  • Member
  • PipPipPip
  • 1258 posts

Posted 04 July 2017 - 04:20 AM

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)".



#67 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36413 posts

Posted 04 July 2017 - 07:51 AM

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.



#68 greebo

greebo

    Heroic Coder

  • Root
  • 15975 posts

Posted 04 July 2017 - 07:55 AM

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.



#69 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18643 posts

Posted 04 July 2017 - 08:01 AM

1.  Download the prefabs.zip file.

You might want to add these links to the OP.



#70 DoubleOhZero

DoubleOhZero

    Member

  • Member
  • PipPip
  • 38 posts

Posted 04 July 2017 - 08:36 AM

Thanks all, the paths were set wrong. Working now!


  • Springheel likes this

#71 marcuskiwi

marcuskiwi

    Member

  • Member
  • PipPip
  • 16 posts

Posted 04 July 2017 - 01:47 PM

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.googl...OPsionVHs6yMd1u



#72 Nightcrawler

Nightcrawler

    Member

  • Member
  • PipPip
  • 78 posts

Posted 04 July 2017 - 02:08 PM

 

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.



#73 Destined

Destined

    Advanced Member

  • Member
  • PipPipPip
  • 1258 posts

Posted 04 July 2017 - 02:35 PM

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.googl...OPsionVHs6yMd1u

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



#74 marcuskiwi

marcuskiwi

    Member

  • Member
  • PipPip
  • 16 posts

Posted 04 July 2017 - 02:43 PM

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.



#75 Destined

Destined

    Advanced Member

  • Member
  • PipPipPip
  • 1258 posts

Posted 04 July 2017 - 03:17 PM

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.


  • RPGista likes this



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users