Idea

Discuss anything not covered by any of the other categories.
Post Reply
Entar
Posts: 439
Joined: Fri Nov 05, 2004 7:27 pm
Location: At my computer
Contact:

Idea

Post by Entar »

I was playing HL2 a while back and it gave me an idea - would it be possible to use the 'intermission' camera to show what level you were last playing, instead of playing a demo? :roll:
scar3crow
InsideQC Staff
Posts: 1054
Joined: Tue Jan 18, 2005 8:54 pm
Location: Alabama

Post by scar3crow »

possibly, i hadnt really thought of it

but if you did like HL2 does with its opening menu, make the map just the area you see, and not the whole damn thing so as to save on load times... though it does look good
Entar
Posts: 439
Joined: Fri Nov 05, 2004 7:27 pm
Location: At my computer
Contact:

Post by Entar »

Trouble with that is you'd have to make a new map for each one... wouldn't you? :?
Tei
Posts: 193
Joined: Mon Oct 25, 2004 12:22 pm

Post by Tei »

scar3crow wrote:possibly, i hadnt really thought of it

but if you did like HL2 does with its opening menu, make the map just the area you see, and not the whole damn thing so as to save on load times... though it does look good
Maybe can be posible to run the engine trough a "collect any stuff you need to render on a static array", the run this array trough a do{}while()

...but that can be terrible boring to code.

Much better the idea to load a custom minimap has a 3d background.
leileilol
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Post by leileilol »

A titlemap cvar for Darkplaces would do great. The cvar would be altered by map's triggers probably for the appropriate map, and the cvar would be saved in the config, and it would be, well, the name of the map you wish to start in during "disconnect" menu startup. Notarget could automatically be enabled in the titlemap. With some clevar QC moving cameras and such, you could create Unreal-style flybys!



Zdoom just got TITLEMAP support too
i should not be here
Wazat
Posts: 771
Joined: Fri Oct 15, 2004 9:50 pm
Location: Middle 'o the desert, USA

Post by Wazat »

I really like that idea. It could actually be done with QC as well. You could use FRIK_FILE to simplify things and make it work on any map.

autoexec.cfg execs titlemap.cfg (which gets written by FRIK_FILE each time a map loads as the player is playing the game), which contains the name of the last map played. This map is immediately loaded with these lines:

Code: Select all

temp1 1
map gmsp1
temp1 0
When this map loads, because temp1 is 1, it knows to treat it as a titlemap, so it searches for an info_intermission. That failing, it searches for any info_player_start, and then just watches monsters move around or what not. The player's takedamage and movetype will be such that monsters won't see him (he won't even have flags & FL_CLIENT).

By this time, the console has executed the "temp1 0" command, so when the player decides to load a save, start a new game, or load a map, it won't start as a titlemap.

The only problem is when the player runs Quake with +map... that could cause problems.
When my computer inevitably explodes and kills me, my cat inherits everything I own. He may be the only one capable of continuing my work.
Post Reply