Forum

Quake camera

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Quake camera

Postby hellspawnchrist » Wed Feb 09, 2011 5:21 pm

I hope this forum isn't dead :/ well here it goes.. I'm wanting to create a mod that requires a different kind of "viewpoint" as the qcdocs call it. The easiest way I can think of is using the "chase_active 1" command at the beginning of each game, but having it edited so that it views from a different angle. Unfortunately I can't find the code, I think that maybe the code for that is in the engine. I'm using the original winquake and dosquake. What do you guys think?
hellspawnchrist
 
Posts: 5
Joined: Wed Feb 09, 2011 5:16 pm

Re: Quake camera

Postby Nahuel » Wed Feb 09, 2011 5:30 pm

I tried something like that
http://www.youtube.com/watch?v=H2lqoaSv4zA
but i do not know how make it
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 492
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Postby hellspawnchrist » Wed Feb 09, 2011 5:39 pm

That's close, those are static cameras probably created at the beginning of the game as entities and triggered on as the player ent. walks into the room. I want to create a view somewhat like an RTS but that moves with the player. The camera looks down at you isometrically. ( and no I'm not trying to make an rts)

If you can figure out how to create cameras and tell the game weather to look for them or not then you can do the survival horror maker camera.

Imma go look at the code for the camera change at the end of each level.
hellspawnchrist
 
Posts: 5
Joined: Wed Feb 09, 2011 5:16 pm

Postby Nahuel » Wed Feb 09, 2011 5:59 pm

Do you know the castlevania mod for quake?
http://home.earthlink.net/~turdbackup3/Shots/shots.html
, the angles camera are very easy to change
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 492
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Postby frag.machine » Wed Feb 09, 2011 10:43 pm

Check this engine tutorial.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm

Postby hellspawnchrist » Wed Feb 09, 2011 10:58 pm

Awesome frag.machine! Thanks! I'm assuming I'll have to find the engine source and get a c compiler.
hellspawnchrist
 
Posts: 5
Joined: Wed Feb 09, 2011 5:16 pm

Postby frag.machine » Wed Feb 09, 2011 11:01 pm

Or just download any engine that already has this. Check for FiztQuake_Plus in the more recent messages.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm

Postby leileilol » Wed Feb 09, 2011 11:33 pm

Almost feel like doing a GoWcam.... panning closer in when EF_MUZZLEFLASH is detected on the client entity.
i should not be here
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby ceriux » Wed Feb 09, 2011 11:34 pm

that would be pretty cool leilei
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby hellspawnchrist » Thu Feb 10, 2011 4:02 am

alright this looks promising. I found the winquake source on the id ftp. Unfortunately I can't convert the visual studio project because it's to old. So I'm downloading old VC++ 6 ( which was a pain to find ), but I think that's all for today I have a class in the morning.
hellspawnchrist
 
Posts: 5
Joined: Wed Feb 09, 2011 5:16 pm

Postby hellspawnchrist » Sat Feb 12, 2011 5:26 am

Success! Alright now how to draw the playermodel? I'm getting a weapon and bullet lol.
hellspawnchrist
 
Posts: 5
Joined: Wed Feb 09, 2011 5:16 pm


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest