 Daya
#15909 posted by ericw on 2016/02/07 20:12:16
 Ok
#15910 posted by mfx on 2016/02/07 21:05:36
ad_test3s first rotating door (the "vault" door) is a bit trickier to explain, it is actually a func_rotate_train.
But first the normal door we all see everyday, with a vertical and fixed hinge. Build one of those out of as many brushes you want, these all go into an entity called "rotate_object".
Note there is no func_ prefix on this entity, idk who was so crazy to name it w/o this.. :) But the quoth fgd/def has it.
Give it a targetname, lets say rotate_door1 , and a target, lets say rotate_hinge1.
"targetname" "rotate_door1"
"target" "rotate_hinge1"
You must also set the light parameters like "_dirt" and "_minlight" on this one (if you want to).
Now create a "info_rotate", this is a point entity, important is you place it right on the vertical axis i.e when viewed from above or below in the middle of the hingebrush for best looking results.
This one is targeted by the rotate_object.
"targetname" "rotate_hinge1"
Now create a "func_rotate_door", again a point entity placed on the axis.
This one targets the rotate_object
"target" "rotate_door1"
This entity has all the keys for controlling the rotation of your door.
"speed" - the amount of time to open/close the door
"angles x y z" - the total angle the door rotates i.e.0 360 0 is one full turn vertical.
sounds/noise keys depending on the used progs.
"targetname" - last but not least this one must be targeted itself by a button/event of your choice.
Important note, these "doors" have no collision. You'd have to fake this with skip-textured func_doors/func_movewalls.
Try this guide first, vault-doors later (those are easier to fake collision for :))
Hey..
 ERIC
#15911 posted by mfx on 2016/02/07 21:06:41
 What's In A Name
#15912 posted by Preach on 2016/02/07 22:01:05
Build one of those out of as many brushes you want, these all go into an entity called "rotate_object".
Note there is no func_ prefix on this entity, idk who was so crazy to name it w/o this.. :) But the quoth fgd/def has it.
Blame hipnotic! In Quoth we tried to name things with consistency in terms of func_ being solid brush entities, trigger_ being invisible brush entities, info_ being invisible point entities, etc. Most of the exceptions to the rule are things that would be too confusing to rename now, like trigger_counter. Unfortunately rotate_object is a name hard-coded into the compile process and there's no way to change it.
 Looking At Preach's Tutorial
#15913 posted by aDaya on 2016/02/07 22:14:03
I don't get the part with the func_move_walls. I know they're part on making a collision mask, but for two side-to-side rotating doors how does it work?
Do I just make tiny cube brushes that form a quarter-circle from the closed position of the door to the theorized opened one? Or do I just make a single brush that I cut in an arc that's suposed to draw out the shape of the movement?
 Movewalls
#15914 posted by Preach on 2016/02/07 23:56:16
Correction: CZG's tutorial
The movewalls should be shaped to approximate the size and shape of the visible entity while stationary. The ideas is that because you can't actually rotate solids in Quake, you have these small chunks which slide along a circular path.
It might be better to describe a couple of basic things you might create, and how to movewall them.
A door: cuboids which stretch from the top to the bottom of the door, are square on top, and exactly match the width of the door. In ascii, from above
========= (door)
[ ][ ][ ][ ][ ] (movewalls)
A propeller: cubes along the length of each blade, flattened to the thickness of each propeller.
 Awww Yeaaah
#15915 posted by aDaya on 2016/02/08 00:45:13
After some bits of trial and error regarding rotation angles I came through
http://image.noelshack.com/fichiers/2016/06/1454888677-schlossherr20160208004219-00.jpg
(And here you can see fullbright pixels will be a huge problem)
#15916 posted by Rick on 2016/02/08 09:58:15
TexMex can remove fullbrights.
#15917 posted by Rick on 2016/02/08 10:04:46
Load the wad into TexMex. Double-click a texture. It will open in a "Detailed View" window. Right click on the texture and select "Adjust Brightness", then click "Remove Brites" in the "Brightness Adjust" window.
 Thanks!
#15918 posted by aDaya on 2016/02/08 10:05:25
#15919 posted by Rick on 2016/02/08 10:23:04
I hope it works. I'm not sure I ever actually tried it.
I edit textures in an old version of PSP and have a custom quake.pal file where all the fullbrights are replaced with black. I just apply that (using match nearest color) to any texture where I want to get rid of stray fullbrights.
 It Worked Half The Time
#15920 posted by aDaya on 2016/02/08 10:55:00
Some of the reworked pixels where fullbrights, so I had to edit them with Photoshop.
Nevertheless, they're gone now.
#15921 posted by PuLSaR on 2016/02/09 01:33:32
Is there a hack to make explosions made of info_notnull deal zero damage? I need just a visual effect of explosion.
 PuLSaR
#15922 posted by aDaya on 2016/02/09 02:07:38
 Oh Yes
#15923 posted by PuLSaR on 2016/02/09 02:27:03
Ogre grenade suits perfectly for this, thanks
#15924 posted by PuLSaR on 2016/02/10 20:04:08
Is it possible to place an animated texture without animation frames playing (last frame I need) without making it a separate non-animated texture in wad? Like the button that have already been pressed?
 Figured That Out
#15925 posted by PuLSaR on 2016/02/10 20:31:18
ignore the previous post
 How?
#15926 posted by ijed on 2016/02/11 03:00:22
 Ijed
#15927 posted by DeeDoubleU on 2016/02/11 13:59:36
Just use its switched-off frames as texture for your button, wall etc.
#15928 posted by anonymous user on 2016/02/11 14:28:01
so the +a*.* frame?
 Right
#15929 posted by ijed on 2016/02/11 15:27:19
But I read it as if PuLSaR is saying use one of the animation frames, not the 'off' (+a) frame.
I know that func_wall has some little known hackery inside that works with this, but can't remember what it is.
And now, reading it again, it seems that it is just setting the +a frame yeah.
 Yep
#15930 posted by PuLSaR on 2016/02/11 22:31:05
I just needed the +a frame, silly me
 Misc_explobox2 + Trigger
#15931 posted by DeeDoubleU on 2016/02/13 14:44:15
I want explosion of misc_explobox2 to trigger stuff.
Tried 'default' and hacked triggers, but it seems they don't take damage from that entity.
Setting enemy:1 to box makes it shot-through.
#15932 posted by DeeDoubleU on 2016/02/13 18:28:12
And another question.
Guys, how do you create caves?
Quick experiments taught me that it would be nearly impossible to do it in radiant or at least very long and masochistic experience.
Trying to use trenchbroom atm. Alas, it crashes often, but in the meantime gives much more freedom.
Technique I use is pretty much what was shown in TB tutorial-gifs - making a grid of 64x64 boxes and then pushing vertices.
https://i.gyazo.com/067766322d24018d6c8b2cadc916b4e0.png
It goes very slow and I'm not quite happy with my results so far.
Tips, rules, your personal general pipeline - I'm interested in everything.
 DeeDoubleU
#15933 posted by Kinn on 2016/02/13 18:41:44
I use Netradiant, and it's as quick as TB in my experience if you work in tri prisms and drag-select multiple vertices. You can even do all the pushing and pulling in the 3d view, like in TB.
Once I'm happy with the shape, I combine the tris to make them quads, which halves the brushcount and probably makes the compiler happier.
The trick is knowing which configuration of tri prism pairs makes a convex quad, and it takes a while to develop an intuition for that.
Your probably better off sticking to TB.
|