|
I Didnt Use Movewalls
#7002 posted by RickyT33 on 2008/02/21 13:56:02
in The Hand That Feeds You, because:
a - signon buffer was maxed out
b - not really worth it cause the only way you could reach the fan was via a secret anyway, which isnt realistic anyway.
So you can walk straight through all of the rotating entities in TheHand without getting hurt!!
:P
Quake's Physics
#7003 posted by bambuz on 2008/02/21 14:52:08
are fucked anyway in that department. For example jumping up on a horizontally moving platform, you're suddenly horizontally stationary relative to the world, which means you move backwards relative to the platform. And shooting grenades when at speed, you catch your own grens etc...
So I don't know what would happen even if you got the clipping to work, gb.
#7004 posted by gb on 2008/02/21 18:21:54
neg!ke, thanks, I'll check that out.
Ricky, yup, I have fans in some other map and I came to the same conclusion as you :-) very practical. You could just use a clip brush/trigger_hurt combination in the air duct I guess, if there is a possibility the player might touch the fan. Or just a trigger_push/trigger_void Alien 3 style :-P rather mean.
Ijed:
they move around the info_rotate in an orbital pattern
does this indeed mean a spherical pattern that doesn't follow the shape of the object?
If so, how can the player stand on a func_rotate_train, or can't he?
even though (the model) rotates, it's collision won't.
That's what I feared. That sucks. It means my rotating platform won't work.
However it seems that while the model rotates, its collison moves in some completely trippy way.
Well, I'll try to find some map sources to look at... maybe decompile some hipnotic maps. ^^ gosh I like doing stupid, repetitive things :-P I'll reread czg's doc, but it isn't terribly clear on the collision part.
For example jumping up on a horizontally moving platform, you're suddenly horizontally stationary relative to the world, which means you move backwards relative to the platform
That sounds like a bug that could be fixed in something like Quoth. Not the grenade thing though.
So I don't know what would happen even if you got the clipping to work, gb.
I kinda put my money on the fact that you can stand on a lowering door aka door used as lift... and you can stand on the lowering door in the hipnotic start map, and even let yourself be lifted and squished by it.
Whoever owns it should release the hipnotic map sources ... I think Ritual went belly up though...
You Can
#7005 posted by ijed on 2008/02/21 19:08:06
As I remember you can stand on a rotating - there's one used in one of the hipnotic maps, but it's cheated past the broken physics by sticking the player to it - so they don't adopt the momentum of the thing they're stood on.
The reason to have lots of movewalls is that they're inside your rotating model, so as it rotates around the axis the movewalls are orbiting around it at the same pace, making them more or less inside the model constantly.
Collision On Func_movewall
#7006 posted by Preach on 2008/02/21 19:55:51
func_movewall collide in exactly the same way as a door does. The player can stand on one, and when it moves they move with it. As usual for a door, once you just off it, you don't take any momentum from it.
The idea behind them is to make an approximation to the rotating object out of small pieces, each of which can move separately. Since the solid collision hull of objects in quake can't be rotated, the idea is that each small piece is moved in a circular path, so that its centre is in the same place relative to the rotating object. If your pieces are suitably shaped, this should approximate the shape of your rotating object both when it is stationary and when it is in motion. The best shape for each one is probably a cuboid, although you could make them cylindrical with more than 4 faces if you liked/needed.
One image you might want to think of is the carriages on a Ferris wheel. While the wheel turns, the carriages stay the same way up the whole way round, but they trace out the path of a circle. The most useful thing you can do is to apply spawnflag 1 to your func_movewalls. This will make them visible, so that while you are building your map/testing out the idea, you can see what they are doing. Then hide them once you have the rotation working.
One nice thing about the way they work currently is it makes it very easy for a person to stay standing on top of something as it rotates(assuming you make the. In real life the player would have a sense of balance that you can't get from just playing with a mouse and keyboard. Making it easy for them to keep their footing is a good decision, which is why I'd recommend keeping the top surface of each movewall flat.
That sounds like a bug that could be fixed in something like Quoth.
It certainly could be made to happen without too much code, but it won't be changed. One reason is that it would annoy everyone who's used to the quake physics as they are. The other is the sense of balance argument again. Momentum not being imparted to a player might be because of the way quake handles motion on platforms(sticking their feet to the floor and updating their position when the physics is run on the platform). But it might also be a conscious decision, because it's much more natural to control the player like that.
Don't You Hate 'missing Closing Bracket' Errors...
#7007 posted by Preach on 2008/02/21 19:58:26
(assuming you make the top of the movewall a flat surface)
Thanks Guys
#7008 posted by gb on 2008/02/22 20:54:58
That was really what wasn't clear to me, that you should put the movewalls inside the rotating model.
I made a test map with some visible movewalls and the lightbulb went on in my head when I watched the doors from various angles. Very interesting to see the stairstep effect... incidentally that means I could use the back of a "drawbridge" type door as a ladder, since I was using 16 unit high movewalls that somehow didn't remain perfectly vertical in a perfectly vertical door brush. Gosh. Since my editor only lets me adjust things to a 8 unit precision, this isn't fixable (OK, perhaps in a text editor.) I'd need to use a func_togglewall as a momentary clip brush when the door is up. Or something.
The only thing that doesn't work is a rotating lift, at least it doesn't work "well". This is because the movewalls on which the player is standing go into the stairstep effect when the lift is rising, and this stair is rotating while the player stands on it and the whole thing raises, making it a very rough ride. I decided that rotating lifts are stupid, I just did it to see if I could :-P
The collision will probably be good enough to do all kinds of traps, machinery that isn't touched by the player, levers, cogs, and doors and hatches.
It looks like rotating trains are not very useful. Most kinds of rotating doors seem like overkill,too, when the novelty wears off... machinery seems good though...
I'll upload the map when it's finished.
By the way it seems like rotating things are lit in position, not at 0 0 0 (or was it worldspawn?) because I saw some shadows that exactly matched doorposts etc. Suspicious. I used Tyrutils.
Q1rad Sky Lights
#7009 posted by bambuz on 2008/02/22 23:12:27
For the record, so it will be findable in the internet in the future, as it's not mentioned in the readme.
When using q1rad to light maps, add the sky texture in the lights.rad, then make a point entity with name
"light_environment"
with fields _light, pitch, angle
And let every sky you want to emit light see it.
My lights.rad includes this line:
SKY9_1 255 0 0 75
And my map has a point entity:
light_environment with the fields
_light 200 200 200 200
pitch -60 -60
This functionality is NOT DOCUMENTED ANYWHERE. Big thanks to Asaki for helping me out on this, for the second time through.
(He adds that "Pitch and angle are both one number." which makes sense of course)
#7010 posted by Drew on 2008/02/23 05:06:02
Does anyone other than Neg!ke and Efdat use Quest? is it awesomer than WC?
Radiant Entity Definition With Notes
/*QUAKED light_environment (0 .7 .5) (-8 -8 -8) (8 8 8) START_OFF
Used to create sunlight or outdoor lighing with Q1rad. Must be placed near a sky brush.
Keys:
"_light" sets brightness
"pitch" sets the vertical angle (-90 = straight down)
"angle" sets the horiztonal angle
*/
Btw
Lights.rad is optional and is only required if you want surface lighting (of course, this might be a very good idea with sky brushes!)
Here's the info from the readme, this part at least is documented:
Now, in order to use surface lights, you must create a file called "lights.rad" You can optionally create a file called "levelname.rad" with "levelname" being the name of your level without the .bsp extension. In that file are the surfacelight descriptions. To edit it, feed it to your favorite text editor. Each line should contain the following format
<texture name (capitalized)> <red> <green> <blue> <intensity>
So if you wanted to make the texture +0slip a strong red with 200 intensity, you'd add:
+0SLIP 255 0 0 200
So that for any lights you want to be surfacelights.
Yes Just To Say That I DID Read The Fucking Manual
#7013 posted by bambuz on 2008/02/23 12:10:11
but the skylight part is not documented in the docs that come with q1rad and the internet is devoid of such documentation as well (until now in this thread finally).
(I use WC and not radiant).
Bambuz
Yeah, I figured as much but I was posting that info for those that don't have it. It's quite possible to have q1rad.exe without the readme (there's some zipped versions floating around without it).
At least Riot had a link to the VERC page about light_environment, but as you know it's dead now. Pity he didn't put the actual info in the readme. Thank you for posting it for those that don't have the knowledge.
#7015 posted by Spirit on 2008/02/23 17:38:04
Since it is very hard to find I uploaded it:
http://www.quaddicted.com/files/q1rad.zip
That's the full zip with readme and example map.
I already forgot who gave it too me in the end but thanks again!
Drew
#7016 posted by negke on 2008/02/23 20:10:49
IK used it too.
I guess Quest is just as quirky and confusing as WC when trying it for the first time. Takes some time getting used to it. I prefer its view modes. You can use the standard three-window view most editors have (albeit not forced to 2D mode exclusively) or one large window and switch between 2D and wireframe or shaded/textured/lighted view. Unlike other editors this one has a stronger focus on the 3D wireframe view - I find the fixed 3-axis 2D view of other editors to be awkward and inflexible, though it's probably a matter of taste.
I grew to really appreciate it's 'click-brush' (brush drawing) feature and the pretty accurate leak detection.
However, one has to learn quite a few key shortcuts to use it proficiently and since it's more or less a DOS program, there might be some compatibility issues. Always ran fine on my XP (apart from rare freezes). Unfortunately my new graphics card doesn't like Quest's palette, so I have to run it on Linux now. :P
http://negke.quaddicted.com/images/quest000.jpg
http://negke.quaddicted.com/images/quest001.jpg
Neg|ke
#7017 posted by JPL on 2008/02/23 21:32:34
The map looks cool: is that a Doom-ish map ?
#7018 posted by gb on 2008/02/23 21:49:54
I also use Quest and have become quite fond of it. It has some little features like selecting 20 func_movewalls and setting spawnflag1 on all of them, and more stuff like that. Also texture locking which is useful, and texture rotating, scaling etc.
The key shortcuts are nice and configurable.
The screenshots from mine are very dark though. I mean _really_ dark.
The downside to Quest is the crappy UI, the fact it is no longer developed and some random crashes, I use the save function really often.
#7019 posted by negke on 2008/02/23 22:36:28
JPL: no, it's quakish :P
I forgot to mention, even though it doesn't have hardware support, the texture view is pretty precise and in combination with the (admittedly extremely slow) polygon mode, which let's you align multiple textures on different planes by visual offset, allows for very neat texture work.
gb: I never use texture locking though. I hate how it changes every face to some strange values even if you just move the brush slightly. If you have slanted faces or rotations, it totally screws up the aligning. I often pressed it by accident only to find out later on when a good chunk of the map suddenly looked borked.
#7020 posted by gb on 2008/02/23 22:52:20
I often pressed it by accident only to find out later on when a good chunk of the map suddenly looked borked.
Haha, I know that :-)
I use texture locking for crates etc. when I copy-paste them. It seems to work for me. Anyway, the face mode (texture alignment) is rather comfortable, so doing it manually isn't too bad. But when I have 20 crates it gets tedious.
I was SO glad when I found out how to set spawnflags and targetname for multiple entities at once. ^^ The 3D view is rather comfortable I think, I do most things in that. Like selecting brushes and faces. Even copy and paste.
I haven't found out how the group stuff works, do you ever use that neg!ke? Does it let you hide or copy and paste groups?
#7021 posted by negke on 2008/02/23 23:18:10
Yes, groups are useful in large maps with complicated brushwork or if there's a considerable amount of DM/SP-only stuff. ALT+G opens the group window. Select some brushes (or entities), press ALT+G and "create group". You can change their colors and hide them. Not sure about copy/paste.
Btw. you can align multiple faces in the same plane with the regular face edit window. It always uses the texture and settings of the last selected face.
#7022 posted by negke on 2008/02/23 23:20:59
See here: http://quest-ed.sourceforge.net/doc/manual/questdoc.html
If you flag "s", selecting one brush from the particular group will automatically select all its brushes (then c/p).
Cool, Thanks
#7023 posted by gb on 2008/02/24 01:37:05
Useful stuff. So creating groups works like creating models.
Neg|ke
#7024 posted by ijed on 2008/02/24 02:14:18
Cool shots - SP or DM in mind?
Houston, We Got...
#7025 posted by gb on 2008/02/24 02:31:02
pf_precache_model: overflow
-> segfault...
bspinfo says I have 211 models, is that already too much? Isn't 256 the limit?
I could use some help here, I'm stuck until this is resolved.
#7026 posted by Drew on 2008/02/24 05:24:12
The brush drawing feature sounds pretty cool. Don't think I'll be picking up any new editors though, since I'm too comfortable with wc.
PS - nice shots, as always.
|
|
You must be logged in to post in this thread.
|
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.
|
|