Jump to content
The Dark Mod Forums

Bikerdude: - questions


Bikerdude

Recommended Posts

  • Replies 972
  • Created
  • Last Reply

Top Posters In This Topic

Did you try clicking the "Use Full Editor" button under the textbox? Not sure, but if that doesn't give you access to the title, it might be that forum members can't do it.

Doesn't work, and I dont see why normal forum member cant have access to that feature -I have it on every other forum I use...

Link to comment
Share on other sites

I had a brief look but didn't find that option in the admin cp. Then again, I'm not a IPB veteran in any way. Maybe modetwo can have a look if he's reading this.

 

As far as I know I am not an admin, but I could edit a thread of mine. The trick is one has to use the full editor on the first post of the thread (or at least that is how I did it).

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

# When I create a prefab, how do I lock down the position and origin, without turning the whole thing into a static?

 

- when I import them I get orphan brushes, object's and origin's all over the damn place... which is ****ing annoying - I just spent 2 hrs trying to figure out where a leak was coming from.

Link to comment
Share on other sites

It's not importing but rotating multi-selections that I think is your problem even if not a prefab. This is a flaw in Dark Radiant at present. There is a button something like 'rotate around origins' or something but I think there are problems either way.

Link to comment
Share on other sites

Make sure you have nothing else selected before saving (possible you had something in distance selected?)

 

And becareful when rotating, just make sure after rotate everything looks the same, if not cntrl-z right away.

 

It's also easy to deselect then not select everything when you move, leaving stuff behind.

 

I haven't even used them yet but I think layers would help you, don't know if they will save with a prefab, but when you import one, before you do anything save as a layer. All the grouped stuff should stay together now.

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

 

Just got to run around your FM for a few. I loved the start point, I think one of the best so far. Felt like home, going out for the night. Great touch.

Didn't get too far tonight, seems like lately I get more screwing around done than anything. I turned on portals to see how yours looked, read something in the thread about performance...

You have a ton of them, looked like one for every window but I didn't notice any I could open so looked in editor. Looks like they are all doors but not frobable. If they don't open you should deffinately make the glass worldspawn and big enough to seal the whole, get rid of the portal (that takes time to compute, and if it's not being used...). Then make the frames func_static.

Don't know if it would help alot but might some. Deffinately something to consider in future works. If you don't need a portal don't use one.

Also, once the frames are func_statics the extra polys against the walls will still render, so pull the frame and caulk the edges, that'll save polys here and there.

----------

Well, I'll play it more tommorrow and NOT use any console commands, they draw me out of the game and make me want to tinker.

Dark is the sway that mows like a harvest

Link to comment
Share on other sites

It's not importing but rotating multi-selections that I think is your problem even if not a prefab. This is a flaw in Dark Radiant at present.
Oh well, it would have been handy to build new building/s on a empty map then import them into the main map etc.. maybe the new version of DR 1.1.0 will have better results.

 

Another question:-

# Func_portal, How do I make it open and close a VP - a complete example with args:

 

- I haven't been able to find an example of how to get this working(went to the d3 wiki etc and googled), all I wnt to do is have it open the Vp when Ithe player is within say 5m. I've set the distcheck_period and the portal_dist, but it dosent open or close the VP.

Edited by Bikerdude
Link to comment
Share on other sites

I think this is it:

portal_dist <distance in units>

distcheck_period <seconds>

start_on <0 or 1>

 

I did a long long street test some time ago with the func portals embedded in the visportals. If you can't get it to work I could upload it somewheres.

Link to comment
Share on other sites

  • Make sure you have nothing else selected before saving (possible you had something in distance selected?)
  • And becareful when rotating, just make sure after rotate everything looks the same, if not cntrl-z right away, It's also easy to deselect then not select everything when you move, leaving stuff behind.
  • I haven't even used them yet but I think layers would help you, don't know if they will save with a prefab, but when you import one, before you do anything save as a layer. All the grouped stuff should stay together now.
  • You have a ton of them, looked like one for every window but I didn't notice any I could open so looked in editor. Looks like they are all doors but not frobable. If they don't open you should definitely make the glass worldspawn and big enough to seal the whole, get rid of the portal.

  • I had a blank map, the only in it was the new house I just created.
  • thats THE problem, everything isnt rotating with everything else - other big complicated prefabs I in TDM rotate perfectly(no missing origins, or orphan brushes), which is whay I am trying to do.
  • I dont know about layers, I will have to read up about them.
  • I created the windows from scratch(every part of the frame and windows panes aligned and touching) and then tried turned the whole window into afull func_static, but they didnt seal the building space (so made them into func_door, locked and unfrobbable) Also the windows touched the inside of the building walls so why would the engine render the sides still?

So another question -

 

How do I make a window prefab that's been turned into a func_static thats capable of sealing a hole in the side of a building..

Link to comment
Share on other sites

For layer (just saw this today myself :) )

Select what you want (the whole prefab), right click>make layer. Probably name it house or whatever. It should al rotate together.

 

func_statics don't seal. So a func_static in a window won't seal the hole. Unless you make it a door/vis portal.

So instead leave the window glass (doesn't work if it's transparent though) worldspawn and that will seal the hole, no need for portal then.

Just make the trim/frame a func_static to save on calculation time for pathfinding...

 

You have to caulk unseen faces of func_statics because ONLY worldspawn unseen faces are removed. If you turn on r_showtris 2 you will see polys for the edges of the func_static windows, so you render more then needed. So the sides of the glass will be cut during compile (because you leave them world spawn) but the sides of the func_static frame won't be cut.

 

Then you have a choice, make the inside of window trim/frame seperate from the outside or leave as one piece.

1 piece is easier for sure, takes fewer brushes and doesn't add up entity count as much. So it has benefits. Drawback being that the entire frame will be rendered on both sides of the wall. That obviously is usually better for the outside of a building.

2 pieces is just the opposite. Better because it will only render the indie or outside of frame depending on closed portals, but you double the entity count, have to do more work and it takes twice as many brushes.

In most cases I'd just do one piece frames. But if you have an area where you are pushing performance to the max you might want inside/outside frames there.

Dark is the sway that mows like a harvest

Link to comment
Share on other sites

When I was testing out using woldspawn windows for your map I converted one of the static windows to brushes then made it back into a static, from there I made a new layer and replaced all the windows with the new static version, easier for dragging around etc. When it came time to save and test etc I just selected them all and reverted to worldspawn.

 

As for the issue with rotating etc, I found that usually comes in if your section that you have pasted or I assume imported from a prefab includes statics or other entities, since they reference the origin of the map, when you rotate they will leave their vertex in some strange place. If the entities are just brushes you can select them all and revert to worldspawn, more complex things will require more manual work.

Link to comment
Share on other sites

There are at least three things in that sentence I don't understand. ;) I can only guess you mean align the edges so look at tasselation in Patch inspector.

 

Sorry, tired. Too early in the morning - cant sleep.

 

From the 'patch menu' I selected 'create end cap' to creat a curved arched ceiling for a tunnel - but what I'd like to do is when teo tunnels meet, I dont have to do some square 'junction' room - I would like the two curved ceiling to merge and creat a smooth x shape as you look up...

Link to comment
Share on other sites

Question:-

 

I make - ' textures/darkmod/window/diamond_pattern01_lit ' brighter, as its far too dull for my intended use. I have found and downloaded Gimp and the dds plugin....

 

No, don't brighten the texture. Use textures/darkmod/window/diamond_pattern01_selflit instead. You do not need any other light in front of this as it is self illuminating. If it is not in Release 1 then it will be in the next update. But you can make it now and include it with your pk4. But rename the def path so there is no conflict in the future,eg:

 

 

textures/BikerDude/window/diamond_pattern01_selflit

{

glass

noselfshadow

qer_editorimage textures/darkmod/window/diamond_pattern01_lit_ed

diffusemap textures/darkmod/window/diamond_pattern01_self_lit

{

blend add

map textures/darkmod/window/diamond_pattern01_self_lit

rgb 1

}

specularmap textures/darkmod/window/diamond_pattern01_s

bumpmap textures/darkmod/window/diamond_pattern01_local

}

 

 

Note that the rgb 1 affects the brightness range 0 to 1 but you should find 1 is fine.

 

[EDIT] NOTE THERE IS NO SPACE IN THE PATH - THAT IS JUST CAUSED BY THE QUOTE IN THIS FORUM.

Link to comment
Share on other sites

No, don't brighten the texture. Use textures/darkmod/window/diamond_pattern01_selflit instead. You do not need any other light in front of this as it is self illuminating. If it is not in Release 1 then it will be in the next update. But you can make it now and include it with your pk4. But rename the def path so there is no conflict in the future

yeah, I don't have that texture in my version, but I'm running an update now and it seems to be replacing a handful of pk4's - so hopefully the new texture is there this update.

 

Regarding all that code - atm I have no idea how or what do do with it.....

Edited by Bikerdude
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

    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 3 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
×
×
  • Create New...