Search found 316 matches

by metlslime
Wed Jun 01, 2011 10:46 pm
Forum: Programming Tutorials
Topic: Loading External .Ent Files
Replies: 18
Views: 12346

should work the same way -- the entity lump in a bsp is just text, and the references to the brushmodels are just strings like "*12" so that same string could be stored in an external ent file.
by metlslime
Mon May 16, 2011 7:09 pm
Forum: Engine Programming
Topic: Max number of entities.
Replies: 14
Views: 4343

The NQ protocol limit is probablly 8192 edicts because of the way sound messages are sent. If you never send a sound from edicts with numbers >=8193 then you can probably get away with more.
by metlslime
Thu May 12, 2011 9:40 pm
Forum: QuakeC Programming
Topic: How to set clipbrush to entity?
Replies: 3
Views: 1485

You need at least one regular (non-clip) brush in the entity, then clip brushes are okay.

You could bury the non-clip brush under the floor so you can't see it, or use a skip texture to make it invisible (note: skip requires extra compile step to work)
by metlslime
Thu May 05, 2011 8:28 pm
Forum: QuakeC Programming
Topic: How to keep player on a ledge?
Replies: 2
Views: 1027

Perhaps try very high values of sv_edgefriction?

Not sure if that will give you the effect you want.

Another thing to try is to put clip brush walls on the sides of ledges so players cannot go off the edge.

Another possibility is to create some sort of custom qc entity that modifies player ...
by metlslime
Mon May 02, 2011 10:20 pm
Forum: General Programming
Topic: Screen shake when shooting
Replies: 6
Views: 3770

I'm wondering if the way it slowly fades punchangles back to '0 0 0' can be used to fade fog values from one to another...

perhaps, if (fog_r < desired_fog_r)
fog_r = fog_r +1
probably not how punchangles work, just going a bit off topic haha, sorry.

That would be very framerate dependant.
by metlslime
Wed Apr 27, 2011 8:20 pm
Forum: Mapping
Topic: How to make my own pak (or game)?
Replies: 20
Views: 10488

Baker wrote:Pak doesn't only do 8:3 files names, it is just Pak Explorer with that crippling limitation.
Ah, good to know.
by metlslime
Wed Apr 27, 2011 1:27 am
Forum: Mapping
Topic: How to make my own pak (or game)?
Replies: 20
Views: 10488

i should also mention that case sensitivity becomes an issue should you choose to use pak files, since the PAK file system is case sensitive. The standard case is lowercase, so before you PAK make sure you lowercase it all.

And the pak format only supports 8:3 filenames. So don't use any long ...
by metlslime
Tue Apr 26, 2011 6:07 pm
Forum: Mapping
Topic: How to make my own pak (or game)?
Replies: 20
Views: 10488

You should pak stuff up for a public release though... makes it easier for users.

If you have only a couple files total, it's not really necessary. But a huge mod with lots of files, it's a good idea.
by metlslime
Mon Apr 25, 2011 5:31 am
Forum: Engine Programming
Topic: Adding SVC like svc_cdtrack but w/fullname music file
Replies: 35
Views: 7813

I don't know, it seems more likely for users to add files to the music directory (including adding them to id1) than to open up a mod's pak file and delete or rename files in there.

I'm thinking of, for examples, the way map files are referred to by name in the trigger_changelevel, and the way ...
by metlslime
Sun Apr 24, 2011 11:43 pm
Forum: Engine Programming
Topic: Reducing the kludge in menu.c
Replies: 16
Views: 6895

There's also the mouse behaviour in windowed modes to consider - Quake releases the mouse to the OS when you bring up the menus or drop the console, and I didn't want to lose this behaviour as I think it's good form. Hard to reconcile that with having mouse control in menus.

Surely you let the ...
by metlslime
Sun Apr 24, 2011 11:39 pm
Forum: Engine Programming
Topic: Adding SVC like svc_cdtrack but w/fullname music file
Replies: 35
Views: 7813

I just wanted to say, enumerating the files so "05" gets mapped to file #5 in the directory listing is pretty fragile. This means if the user adds one new track named aaa.mp3 then every other map is broken.

As much as I don't like using stuffcmd for things that should be built into the protocol of ...
by metlslime
Sat Apr 23, 2011 5:53 am
Forum: Engine Programming
Topic: Adding SVC like svc_cdtrack but w/fullname music file
Replies: 35
Views: 7813

Re: Adding SVC like svc_cdtrack but w/fullname music file

Well, first of all if you just want to support this filename being in the worldspawn, you don't need a server message. The client can read it out of the bsp the same as fog and skybox support works.

However, if you want quakec to be able to change the music track on the fly, then you do need a ...
by metlslime
Fri Apr 15, 2011 10:54 pm
Forum: General Discussion
Topic: "Best of Quake" Votes
Replies: 28
Views: 9371

prodigy SE was one of the early greats. Definitely on my top 10-ish list for 1996/1997
by metlslime
Fri Apr 15, 2011 7:23 pm
Forum: General Discussion
Topic: "Best of Quake" Votes
Replies: 28
Views: 9371

I guess there are two pretty significant ambiguities in this poll: first, whether a map/episode with custom code is a "mod" or "map", and second, whether we are looking for single player, multiplayer, or both in each category.

Regarding the second question, who is the audience for this? Is it ...
by metlslime
Mon Apr 11, 2011 11:16 pm
Forum: General Discussion
Topic: "Best of Quake" Votes
Replies: 28
Views: 9371

Maps:

> Shadow Over Innsmouth
> The Cassandra Calamity
> Day of the Lords
> The Marcher Fortress
> Plumbers Don't Wear Ties (But They Do Carry Shotguns)