Jump to content


Photo

Newbie DarkRadiant Questions


7319 replies to this topic

#51 greebo

greebo

    Heroic Coder

  • Root
  • 15917 posts

Posted 17 April 2009 - 04:40 AM

Hm, these lines here:

VFS Search Path priority is:
- e:/spel/steam/steamapps/common/doom 3/saintlucia/
- e:/spel/steam/steamapps/common/doom 3/saintlucia/
- e:/spel/steam/steamapps/common/doom 3/base/

indicate that you have saintlucia mentioned in both fs_game as well as fs_game_base, as you stated earlier. Are you absolutely sure it doesn't suffice when you leave the fs_game_base blank? What does the log file state if you do?

#52 Farsead

Farsead

    Member

  • Member
  • PipPip
  • 32 posts

Posted 17 April 2009 - 04:41 AM

Hmm, I quoted the entire text, to avoid the horizontal extension, but now it got formatted into "codebox".
I take it you did it, for some ease-of-use reason that I as a coder don't know.


Yes, I have in fact saintlucia mentioned in fs_game_base now. But when it was blank previously, the entities and other resources were nowhere to be seen.

Now when I load DarkRadiant with fs_game_base empty, they show up though.
Do you still want the log?

Edited by Farsead, 17 April 2009 - 04:45 AM.


#53 greebo

greebo

    Heroic Coder

  • Root
  • 15917 posts

Posted 17 April 2009 - 04:45 AM

Hmm, I quoted the entire text, to avoid the horizontal extension, but now it got formatted into "codebox".
I take it you did it, for some ease-of-use reason that I as a coder don't know.

Yes, this was me, I wanted to avoid the text from taking up so much vertical space. The codebox is enough for me, because I copied the stuff in a text editor anyway.

#54 greebo

greebo

    Heroic Coder

  • Root
  • 15917 posts

Posted 17 April 2009 - 04:49 AM

Yes, I have in fact saintlucia mentioned in fs_game_base now. But when it was blank previously, the entities and other resources were nowhere to be seen.

Now when I load DarkRadiant with fs_game_base empty, they show up though.
Do you still want the log?

Hm, maybe there was something else going on, it's hard to say now for sure. One could of course start over from scratch and delete all previous settings from AppData\Roaming\*.xml folder, but I assume you don't want to go through that hassle now that it works for you.

#55 Farsead

Farsead

    Member

  • Member
  • PipPip
  • 32 posts

Posted 17 April 2009 - 04:51 AM

I'll try and start from scratch, to see if it was an intermittent problem or not.

EDIT: Just reinstalled DarkRadiant, and deleted ...\Roaming\*.
Problem does not persist. I think it may have been that I loaded saintlucia, but the application crashed when I mucked about and therefore after restarting it, the resources never loaded properly.

Edited by Farsead, 17 April 2009 - 04:57 AM.


#56 jdude

jdude

    Uber member

  • Development Role
  • PipPipPipPip
  • 4001 posts

Posted 19 April 2009 - 10:12 PM

I got a question. I have a trigger relay I want to start on when the map starts, however the trigger_relay has no start_on parameter, so how do I start it?

#57 greebo

greebo

    Heroic Coder

  • Root
  • 15917 posts

Posted 19 April 2009 - 11:37 PM

Let the worldspawn target the relay, this should do the trick.

#58 Farsead

Farsead

    Member

  • Member
  • PipPip
  • 32 posts

Posted 21 April 2009 - 02:12 PM

Is there any way to make it so that doors don't overlap the wall on the hinge-side, when they open?
I'm referring now to the small area that the door doesn't overlap when closed.

It seems as if one must make that part of the wall half as thin as the door, to prevent it from happening. Something that looks strange since this makes the door stand out. in an unnatural fashion.

If I'm being unclear or confusing please tell me, and I'll try to illustrate with some screenshots.

Edited by Farsead, 21 April 2009 - 02:27 PM.


#59 Baal

Baal

    Hero Mapper

  • Campaign Dev
  • PipPipPip
  • 989 posts

Posted 21 April 2009 - 02:23 PM

Darkmod Wiki - Doors

#60 Farsead

Farsead

    Member

  • Member
  • PipPip
  • 32 posts

Posted 21 April 2009 - 02:34 PM

Okay, thanks.
I think I'll do a search through the wikis next time I have a newb question that's probably already covered.

Edited by Farsead, 21 April 2009 - 02:35 PM.


#61 Fidcal

Fidcal

    Master Mapper

  • Development Role
  • PipPipPipPipPip
  • 16630 posts

Posted 21 April 2009 - 03:04 PM

There's a section HERE in that article but I'm not sure whether that translation adjustment still works. I think the easiest way is always make sure there is a frame so it is not then noticeable. This is assuming a model door. If it's a brush door then just move the origin right to the corner as described on the wiki.

So in this image which is plan view of course, on the left the door is right next to a side wall. But if instead you put a doorframe between the side wall and door then in the one on the right you can see the door rotates. It does clip into that frame but you can't really see it.

hinges.jpg

#62 Farsead

Farsead

    Member

  • Member
  • PipPip
  • 32 posts

Posted 21 April 2009 - 03:15 PM

Seems like a good way to do it. Thanks for drawing.

Although, if the open door does not have a parallell wall so close, and the wall that the door is set into is thicker than the door, then either the overlapping is easy to spot, or the frame needs to be placed a bit into the wall-surface (creating an odd niche).

That's kind of the problem I have. But I think I'll just make little "corridors", like yours, for the time being.

Edited by Farsead, 21 April 2009 - 03:17 PM.


#63 Fidcal

Fidcal

    Master Mapper

  • Development Role
  • PipPipPipPipPip
  • 16630 posts

Posted 21 April 2009 - 04:04 PM

Can you widen the doorway a little to fit in a wood frame?

#64 Komag

Komag

    Uber member

  • Development Role
  • PipPipPipPip
  • 3279 posts

Posted 21 April 2009 - 04:46 PM

I don't think you need a frame, doesn't hurt to have one, and they generally look better, but for function's sake I think it's best to just control the exact corner of rotation on the door by moving that vertex point, so that it properly hinges only on one side just like a real door.
Posted Image Posted Image

#65 Fidcal

Fidcal

    Master Mapper

  • Development Role
  • PipPipPipPipPip
  • 16630 posts

Posted 22 April 2009 - 12:44 AM

Yes if it's a brush door (see my earlier post) but you can't do that with a model door. It is optimised in the centre.

#66 demagogue

demagogue

    Mod hero

  • Active Developer
  • PipPipPipPipPip
  • 5125 posts

Posted 22 April 2009 - 01:57 AM

I read the wiki entry for decals but something isn't working for me.
I see the decal in the DR window, but I can't see it in-game, whether done by patch or putting them on the side of a brush ... although the brush is definiately there, it's just completely transparent in-game with no decal.
Posted Image

#67 Flanders

Flanders

    Advanced Member

  • Development Role
  • PipPipPip
  • 1116 posts

Posted 22 April 2009 - 02:41 AM

Could be the texture isn't placed on the brush properly so that it only shows a transparent part of the decal texture. If that's not it can you show a picture of what it looks like in DR (with the decal unselected)?

#68 demagogue

demagogue

    Mod hero

  • Active Developer
  • PipPipPipPipPip
  • 5125 posts

Posted 22 April 2009 - 03:07 AM

No matter how I aligned it, I never saw anything in-game.
It looks fine in the DR window.
Posted Image

#69 Farsead

Farsead

    Member

  • Member
  • PipPip
  • 32 posts

Posted 22 April 2009 - 03:15 AM

Can you widen the doorway a little to fit in a wood frame?


Yes, but then the frame gets overlapped too. Or, I can make it half as thick as the door, so that it isn't in the way of the door swinging, but this of course causes a little recess.

Edited by Farsead, 22 April 2009 - 03:18 AM.


#70 Fidcal

Fidcal

    Master Mapper

  • Development Role
  • PipPipPipPipPip
  • 16630 posts

Posted 22 April 2009 - 03:16 AM

@demagogue: As a test, change the texture to say stone and move the patch away from the back surface. If you now see it in game, move it back to 0.125 above the surface and try again. If still OK, now try your original stain texture. If it now disappears it seems like some sort of path error? A stain patch like that should be flush with the surface behind and still show.

#71 Fidcal

Fidcal

    Master Mapper

  • Development Role
  • PipPipPipPipPip
  • 16630 posts

Posted 22 April 2009 - 03:18 AM

Yes, but then the frame gets overlapped too. Or, I can make it half as thick as the door, so that it isn't in the way of the door swinging, but this of course causes a little recess.

Any chance of uploading a picture somewhere? I can't visualize the problem.

#72 Flanders

Flanders

    Advanced Member

  • Development Role
  • PipPipPip
  • 1116 posts

Posted 22 April 2009 - 03:25 AM

@ demagogue: It appears it's just that blood01 decal that isn't working, something wrong with the material I guess, you can make a bug report for it if you want.

#73 Farsead

Farsead

    Member

  • Member
  • PipPip
  • 32 posts

Posted 22 April 2009 - 03:33 AM

http://img4.imagesha...ge=40217704.jpg

The first one is the door swinging overlapping the wall. (Swing-direction is shown through red arrow).
Second one the door overlapping the frame, also the one to the next.
Third one, is the frame being half as thick as the door and therefore not being overlapped.

Edited by Farsead, 22 April 2009 - 03:35 AM.


#74 Fidcal

Fidcal

    Master Mapper

  • Development Role
  • PipPipPipPipPip
  • 16630 posts

Posted 22 April 2009 - 03:56 AM

Farsead: The frame doesn't help at all there as it just extends the wall. Your wall seems very thin. Generally go for 8, or 16 or even 32 in old castles etc. With thin walls you might get errors like players frobbing loot and switches right through the wall.

The clipping is very small and probably not noticeable. If you really want to eliminate it then I recommend you make the door from a brush:

  • Create a brush the size of door you want. I recommend you make it the thickness of the double doorhandle gap.
  • With the whole door selected, texture it with one of the textures from media: darkmod\door
  • On Surface Inspector click the 'Fit' button.
  • Check the edges of the door - might want to adjust.
  • [EDIT] Might need to use Surface Inspector 'Flip horizontal' on one side of the door so the lock is on the correct side.
  • With the whole door selected, RMB create entity
  • Select movers : atdm:mover_door
  • Now you should see the origin red, green, bluelines in the centre of the brush.
  • Press V for vertices mode
  • In plan view drag that origin to the hinge edge
  • Then drag it to the leading edge so it is right in the corner.

Now when the door opens it will rotate around that corner with no clipping at all.

#75 Farsead

Farsead

    Member

  • Member
  • PipPip
  • 32 posts

Posted 22 April 2009 - 04:46 AM

Great! Thanks so much. :-)



Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users