I Know
#5837 posted by madfox on 2007/01/31 08:06:46
This mdl I made myself, because the one in the deathmatch maker had a rather plump way of falling down.
Made no sense for such a big object.
I find it strange if I see it in Qml or Quark it has a right bounce box, but if I shoot it at the top it won't get hurt.(?)
Hitbox, Bounding Box And The Rest
#5838 posted by Preach on 2007/01/31 09:20:54
The box you see in quark/qml is the box that bounds the size of the model. It's used by the engine to determine when the model is drawn, but nothing else. The hitbox is determined by the QC, specifically this line:
setsize (self,'-32 -32 -24','32 32 64');
Adjusting these values will give you a larger or smaller hitbox as you require. The first vector gives the coordinate of the lower left part of the box relative to it's origin. The second vector is the upper right coordinate, so it defines a cuboid hitbox.
Making it see from a different point of view may be a little more complicated to fix, I'll try and post about that later.
Thanks
#5839 posted by madfox on 2007/01/31 23:54:20
preach, I wondered about that quiete a time.
To make it launch from that height was already a fix, it tended to start shooting in angles up and below the player.
Wurvy
#5840 posted by Lunaran on 2007/02/02 03:40:52
Knowing how poorly the q1 engine and compiler generally handles slanted stuff, how insane would this be:
I want to design a map that's made of concentric sections surrounding a circular core. Every area of the map would have a gentle (or, near the center, not so gentle) curve to it. All lines would either be radial or circumferential. Essentially the entire map would be designed for polar coordinates, but imposed on a square grid.
Insane? Mad? Masochism?
#5841 posted by gibbie on 2007/02/02 03:55:05
You mean like this?
http://www.student.vu.nl/h.e.beck/girl8.gif
Yes, the compiler handles stuff like this fine.
Sweet Jesus Gibbie
#5842 posted by Lunaran on 2007/02/02 04:49:35
like I said, you're out of your mind. :) does that even come close to the 8 grid?
Quark
#5843 posted by than on 2007/02/02 05:53:53
handles stuff off the grid afaik. For SM32 I had to rebuild Gibbie's bit because it was on a floating point grid >:(
Radiant handles stuff down to 0.25 I think, and last time I used it you could build
I think the plan to make that in Quake is masochism. I built about half of my wolfenstein map at 45 degrees when there wasn't much need for it. It wasn't particularly difficult, just time consuming and annoying to build. Having said that, gibbie's map looks like it is generally at more challenging angles.
Gibbie: How about an editor xz view? I want to see how the ceilings were built.
#5844 posted by gibbie on 2007/02/02 11:24:31
Shady xz:
http://www.student.vu.nl/h.e.beck/shadyxz.gif
Girl8 xz:
http://www.student.vu.nl/h.e.beck/girl8xz.gif
In gtkradiant 1.5 you have to turn off "Snap planes to grid" or everything goes wrong. The smallest grid for both maps is 0.125. That is also the smallest grid you can set in gtkradiant. However if your brushes are not on the smallest grid (eg because of clipper usage) i think it will still save them properly.
Anyways, most of the time i don't mess on such small grids. I mostly just use prefabs from a curvey thing of concentric brushes i once made, kinda like:
http://www.student.vu.nl/h.e.beck/curve.gif
This also has pre-aligned textures :)
Whoa
#5845 posted by R.P.G. on 2007/02/02 19:29:52
A map called "girl" filled with phalluses? And people thought I was perverted.
What's Perverted...
#5846 posted by metlslime on 2007/02/02 20:24:36
about filling a girl with phalluses?
Well,
#5847 posted by HeadThump on 2007/02/02 22:42:03
about filling a girl with phalluses?
I really hate during a DP when they rub your weiner up against another guy's junk while they are giving oral, but other than that, nothing!
Well,
#5848 posted by Mike Woodham on 2007/02/03 00:38:12
I think that I am glad that I don't understand American too well!
Metl
#5849 posted by Spirit on 2007/02/03 00:47:19
the plural
Spirit:
#5850 posted by metlslime on 2007/02/03 02:38:17
yeah, but generally it only takes one to fill 'er up.
Silent Push
#5851 posted by negke on 2007/02/04 12:01:33
is there a way (hack) to have a trigger_push that does not play the wind sound?
Silent Push
#5852 posted by Mike Woodham on 2007/02/04 13:30:15
As far as I can tell, the windfly.wav is only used by the trigger_push. Therefore if you are doing a mod you could get away with supplying ambience/windfly.wav in your mod directory where you have a copy of null.wav (from the sound/misc folder in pak0) and renamed windfly.wav. That's a hack.
If you play with Qc it's straightforward to create a flag for noise or no noise.
But Preach will probably come up with some wizard way of doing it :)
'Fraid Not
#5853 posted by Preach on 2007/02/04 14:13:43
The function that causes the push of the trigger also specifically plays ambience/windfly.wav - unlike doors which play whatever wav file is in self.noise1 for instance. So there's no possibility that the sound could be changed to null.wav by entity field editing. The only possible line of attack would be to make sure that the player's .fly_sound is set to a time far in the future, but I doubt there is any function in the QC that will perform this.
Ok
#5854 posted by negke on 2007/02/04 14:48:53
i already expected it to be impossible. thanks for clarifying.
AI
#5855 posted by inertia on 2007/02/14 20:59:31
Are there extent AI mods that would give monsters (I'm thinking an enemy human-type thing) the ability and logic to duck-and-cover and work as teams and stuff like that?
Can I
#5856 posted by golden_boy on 2007/02/14 22:37:53
make spikeshooters fire diagonally in Q1?
If so, how?
Diagonally In Which Direction?
#5857 posted by R.P.G. on 2007/02/14 22:56:13
Do you mean 45 degrees down, for example? Then no, AFAIK. Otherwise, yes.
Damn.
#5858 posted by golden_boy on 2007/02/14 23:18:45
I want two shooters mounted on the ceiling firing in an "X" pattern. Both downward and 45 degrees inward.
Nothing can be easy :-(
anyway, straight downward will do. I figured out how to do that at least.
Diagonal Spikeshooters And AI
#5859 posted by Preach on 2007/02/15 01:55:25
Diagonal shooters are easy to do. Info_notnull with these fields
use spikeshooter_use
targetname blah
wait -1
spawnflags as for desired spikeshooter
movedir vec
Where vec is a vector in the direction you want the spikes to fire. The velocity the spikes are fired at is 500* vec, so to match standard quake behaviour this should be a vector of unit length. Of course, the advantage of this method is you can actually control how fast the spike fires by varying vec - I hadn't thought of that before.
This sets up a triggered spikeshooter, if you want a constantly firing one the setup is a little different:
think shooter_think
wait n
nextthink 3
spawnflags as for desired spikeshooter
movedir vec
Be warned you need something else in the level to precache the required entities, like a regular shooter of the required type.
inertia: AI_Cafe is a good place to start looking, there's certainly an example of making enforcers duck there
http://minion.planetquake.gamespy.com/index3.html
Working in teams is a bit more vague though, as the quake AI atttacks are basically relentless and crude. There's only so much teamwork you can put into constantly spamming grenades until you die. If you had something more specific in mind, like say navigating more sensibly in packs rather than the current all rush straight at the player and collide, then maybe...
Preach
#5860 posted by inertia on 2007/02/15 02:43:36
I want to have really intelligent packs of enemies, so that the whole "assault a base" thing could be done in a more tactical style.
Gosh
#5861 posted by golden_boy on 2007/02/15 02:47:18
I hope I understood that. Thank you Preach!
TROUBLE: Building E1M2
----------------------
I need help. I am trying to build e1m2.map, straight from Romero's zip file.
QBSP gives me a warning about texture +1SLIPBOT not found. Of course, there is no such texture in wizard.wad! Is the map file faulty? I went the extra mile and downloaded wizard.wad from quaddicted. Problem remains. I changed that face to wiz1_4 or something, warning is gone, but:
QBSP then doesn't write a .prt file for no apparent reason. Sorry, I have no idea of the details involved, just trying to build the map. The wad is in a dir named gfx in the same folder as QBSP, the map wants gfx/wizard.wad. That should be OK.
Following that, vis says "no prt file found" and exits :-(
I have built an original and a modified e1m1.map without problems with the same setup. Got a .prt file without problems.
Qbsp does NOT give any error messages, just no .prt file.
Aguire ?
|