Jump to content
The Dark Mod Forums

Fidcal

Development Role
  • Posts

    16801
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Fidcal

  1. There is a console command to call script so it should be possible to do it by binding a key something like this:

     

    bind "F6" "script myscript"

     

    You would need to inform players that they must set the bind either in Darkmod.cfg or manually in the console (or I think it might be set in an autoexec.cfg in the pk4 but that needs care to not conflict with anything the player has set. Needs a bit of thought but might be possible.

  2. Personally I never read books on my PC. Maybe I'm a bit old-fashioned but I like the feel and the smell of books. :smile:

     

    So did I but I struggle to read fine print these days. Also, my PC uses a giant 40 inch monitor so I'm leaning back in my armchair with my feet up on a footstool and the auto scroll moving the text along for me! That leaves me free to slurp coffee and munch. I would not fancy reading a book on my old pc in my 'office/study' room sitting on an office chair.

  3. I believe you - but it depends on the distance whether I would notice. In a big hall I'm not sure I would notice if a distant picture or chair back had smears or specks on it. Clearly it's a problem for others though so I'd have to watch out for that in maps I create. The most common decal I use is grime corners which is both smooth and confined to corners where paintings would not be hung and any chair might be angled out so that might be one reason I've not seen it. I mean, a picture that is slightly darker at 30 paces I don't think I would detect. I'll certainly be putting other dirt and smears in the big factory room I'm working on at the moment so I'll try and remember to test when I get to that.

  4. I've always understood there to be two types of decal. The grime or stain type use blend and they can be flush. The thick speckled dirt or vine or straw or poster type of decal needs to be offset. I've never noticed the offset in-game. I guess it would have to on a wall near a convex corner so you can get close enough?

     

    But this problem with popping above at a distance I've never noticed before that I can recall. Is that above a model painting or another decal poster?

  5. Hey Fidcal,

     

    If you're interested in good Guttenberg-available books, I'd recommend The Prisoner of Zenda by Anthony Hope, and The Man who was Thursday by G.K. Chesteron.

     

    OK, thanks. I'd not heard of Zenda since I was little when we used to have a copy. I think I must have read it but I can't remember anything. Chesterton I've heard good things about. So, I've downloaded those two now and added them to my collection for future reads. Zenda as html and Man as Kindle.

     

    I've got mixed feelings as to which is the best format for me. Both html and Kindle can have images but html zooms those better (I struggled to view the Lord of the Rings maps even at max zoom in the Kindle so downloaded the main map from elsewhere.) I've got auto-scroll in Opera but Kindle has a nice two-page display which makes it feel like a book. Also, Kindle auto-bookmarks your latest position whereas html I generally copy and past a few distinctive words into a plain text file so I can find my place again (why don't web browsers provide a positional bookmark as well as web page bookmarks!)

  6. I used to read a lot when I was younger - mostly sci-fi and non-fiction then video recorders and computer games came along and killed that way of life. Recently I've started again and have several on the go at the same time. Dickens, Rowling, Tolkien (re-reading,) Burroughs I read all his stuff last year.

     

    You can get a free Kindle for the PC from Amazon and there are quite a few free stories and ultra-cheap ones. One I can recommend that I'm in the middle of is The Phoenix Conspiracy by Richard Sanders. It's a sort of detective starship mystery sci-fi thriller.

     

    There are also tons of text and html freebies at guttenberg. One old story I can recommend is The Wonder by J. D. Beresford. It's about a strange baby prodigy who is like this mega-genius - so advanced in fact that it can't relate to 'ordinary' people well and seems freakish. Written in the early part of the twentieth century it's an 'undiscovered' gem. They'll probably make a spooky movie out of it one day.

  7. Likely nobody has come across this problem before. I thought reflectivity was to do with the texture and nothing to do with the entity. Maybe this is a special case - like when colour is passed to a texture.

     

    I wonder how much terrain cuts into your water? I'm just wondering what would happen if any intersecting solids were made func_static. Would that cure your original problem and if so, would it be practical in your case? And if so, would it cure the reflectivity problem?

  8. Can't tell from that picture. Have you got eg, any pillars or other solid brushes immersed in the water? Can't remember exactly but I think something like that needs separate water entities that go around - or maybe it's just the center of the water entity must be in water. I forget. This also stops swimming but your water might not be deep enough to reveal that. Try dropping in a small floatable. Does it float?

     

    Try creating a big block of water in a spare area and make it work. Then move it into position and adjust until it fails. That should indicate the problem.

     

    PS. I assume you dmapped after any entity changes? Eg, create worldspawn brush. dmap. then make it a water entity - remember to dmap again.

    • Like 1
  9. rough gestimate to patch as I'm not certain but this is what I'd try: Select top patch and experiment with patch menu - the cap or thicken options to form a side piece that is like a triangle with the big side is a curve. Check carefully and be prepared to undo to get it right. You might need to delete some side pieces and might need to adjust things like patch tesselation in Patch Inspector.

     

    Now, starting with that, use the vertex thing so you can move vertices around. Drag the point on the square side down to the bottom to meet the vertex of the other two vertical curved pieces. You'll probably also need to turn orthoview to drag the vertex in the other dimension as well. Now you might need to adjust tesselation to get it line up. You might finish up with more vertices to drag.

     

    If you can get that lot to line up then try pasting in the texture using the different paste options. If it won't look right then create a brush and texture it then copy and paste from that. If that don't work then I'd bodge it with a gargoyle on top to hide the mess! That's what I do!

     

    [EDIT] HAHA! I knew that no matter how fast I typed that grayman would beat me to it!

  10. Have you definitely included the xd file in the right path in the pk4?

     

    As for the skybox, where did you get it? If you extracted it from the trainer then is this the trainer I think is now included within Dark Mod? If so, possibly the texture is not included directly within the Dark Mod texture pk4s but within the trainer pk4? If so, you need to open that up and copy the relevant dds files and folder plus the material shader file all to your own pk4. The skyline actually looks like the custom one for the trainer as I recall whereas the 'ceiling' with the moon is probably the standard texture built into darkmod.

     

    If, however, you used an official darkmod prefab with the skybox in then somebody needs to transfer those shaders into the main dark mod shader pk4's I think.

  11. I'm fairly sure you can directly access the sound file but the shaders are very easy to make. Just create a plain text file in a folder named sound within the game folder (eg, darkmod/sound or mymap/sound.)

     

    In the text file, at its simplest essentials:

     

    unique_name

    {

    sound/<path>/soundfile.suffix

    }

  12. As for the rotation, I think I tried a year or two back. Not sure I tried every script event but I think they all work a similar way. So basically x works, y, works, z works - they all end up at the same place but take different routes! So my idea is to only rotate 1 degree at a time then repeat in a loop. But it still might not work dunno.

  13. Moonbo: Sadly, I had this problem a few years back and never found a solution. It's the same whether it's brushwork or model doors. In fact, I have it in a current map I've worked on where an abandoned building has a cabinet tilted over and its door fails to rotate properly too. I had to make the cabinet either upright or flat on its back or side.

     

    Thinking about it now, it might be possible to set up a script that increments each of the three rotations a tiny amount, say 1 degree, in each loop then repeats so the oddities are too small to see. I'm not confident though.

     

    Be a good project but it might not work and it wouldn't be a standard door entity. That might be solved by having an invisible door as well with its sounds and portal closing etc coupled with a true-rotating door. Another way might be one door that only opens 1 degree but triggers a continuing rotation by script. All sorts of problems might ensue.

     

    If I get time, I might fool around with a script but it would be interesting to hear what any of the math coders might suggest. After all, any normal door rotation must be done in increments so its hard for me to visualise the math of why it goes wrong currently. We see the start and stop points are correct but the in-between is all wrong!

     

    [EDIT - I meant to say the only current workaround for a sloping door is make it open upwards or downwards so it's in the same plane.]

  14. Overnight, my Win7 Windows Explorer has become flooded with a message in every single folder:

     

    unspecified (n) ———————————————

     

    ...where n appears to be the number of files and subfolders in the folder. Any idea what it means? Can't find anything sensible in google and Windows 'Help' is just a big barrel of laughs. The most useless help conceived by man. It just throws up huge lists of unrelated documents.

     

    The only thing I can recall setting recently in Explorer is the usual Tools - 'set all folders to be like this' but I've used that hundreds of times over the years because Windows keeps losing my settings.

     

    Any idea how I can get rid of the line?

     

    I started trialling Total Commander a few weeks ago but sort of dropped out of it. I might go back to that and try it some more. Just about sick of Explorer.

    • Like 1
×
×
  • Create New...