Search found 52 matches

by Blackstar1000
Sat Sep 03, 2011 5:56 pm
Forum: QuakeC Programming
Topic: Multi-Imput Impulse Toggle
Replies: 8
Views: 2484

Multi-Imput Impulse Toggle

I was wondering if it's possible to...

Make it so my "W" key (walk forward) also could toggle an Impulse depending on weather or not the key is pressed down.

So, you enter the game, and you walk forward by holding "W" this will turn on impulse20, you run down a hallway and stop by letting up the ...
by Blackstar1000
Fri Sep 02, 2011 11:35 pm
Forum: QuakeC Programming
Topic: BaseQC CCam rotation?
Replies: 33
Views: 8029

Actually I wanted to thank you again. I realized what I was trying to ask for was very hard to describe. So I toughed it out and modified the code above for a couple days. The result was exactly what I was looking for.


I'm working on a third person game, I have pretty exactly recreated the camera ...
by Blackstar1000
Mon Aug 29, 2011 4:44 pm
Forum: QuakeC Programming
Topic: BaseQC CCam rotation?
Replies: 33
Views: 8029

This is a wonderful piece of code once again. I messed with it all night and morning.

Currently I'm trying to set the "self.angles" in the camera script to be the same as the player when the code is enabled.

In other words. I spawn, then move around. Type in the impulse and the player will snap ...
by Blackstar1000
Sun Aug 28, 2011 11:02 pm
Forum: QuakeC Programming
Topic: BaseQC CCam rotation?
Replies: 33
Views: 8029

God I remember reading that like a year ago. I have to stop programming against my instincts.

YES it works, Thanks everyone. You saved me a great deal of time and effort. Kick ass. :D
by Blackstar1000
Sun Aug 28, 2011 8:29 pm
Forum: QuakeC Programming
Topic: BaseQC CCam rotation?
Replies: 33
Views: 8029

Yes, yes. The impulse commands are in place. ( I have much experience in modding the weapons) I also moved the lines back into player prethink. Compiles correctly, still no effect when I impulse them.
by Blackstar1000
Sun Aug 28, 2011 7:57 pm
Forum: QuakeC Programming
Topic: BaseQC CCam rotation?
Replies: 33
Views: 8029

Nice it compiles! Though my impulse 666 does not do anything.

I changed the model of the chasecam to the eyes.mdl and it does not show up. I messed with parameters - they don't seem to help.


This is called first, is that right?

if(self.aflag)
Chasecam_Update();
by Blackstar1000
Sun Aug 28, 2011 6:39 pm
Forum: QuakeC Programming
Topic: BaseQC CCam rotation?
Replies: 33
Views: 8029

//I HAVE ALL THIS ABOVE void() PlayerPreThink =

entity ccamera;
void SetViewAngle(entity ent)
{
msg_entity = self;

WriteByte (MSG_ONE, SVC_SETANGLE);
WriteAngle (MSG_ONE, ent.angles_x);
WriteAngle (MSG_ONE, ent.angles_y);
WriteAngle (MSG_ONE, ent.angles_z);
}

void SetViewPoint(entity ent ...
by Blackstar1000
Sun Aug 28, 2011 5:46 pm
Forum: QuakeC Programming
Topic: BaseQC CCam rotation?
Replies: 33
Views: 8029

ChaseCam_Update();

This is all it highlights in Friq when I click edit.
by Blackstar1000
Sun Aug 28, 2011 2:01 pm
Forum: QuakeC Programming
Topic: BaseQC CCam rotation?
Replies: 33
Views: 8029

Thanks, My hiatus did not help my syntax, lol.

float SVC_SETANGLE;
float SVC_SETVIEW;
float ChaseCam_Update;

Now I have this at the bottom of my defs.qc

I get one new error, it points toward ChaseCam_update

ERROR client.qc temp is not a function.


Also thanks for your help. It would have taken ...
by Blackstar1000
Sun Aug 28, 2011 12:11 am
Forum: QuakeC Programming
Topic: BaseQC CCam rotation?
Replies: 33
Views: 8029

Thanks so much!

EDIT: Doh

warning: ent redefined on a different scope
Unknown Value "SVC_SETANGLE"
ent rediclared
Error client.qc Unknown Value "SVC_SETVIEW"
Error client.qc Unknown Value "SetViewPoint"
Error client.qc Unknown Value "ChaseCam_Update"

this all now comes out of client.qc
as well ...
by Blackstar1000
Sat Aug 27, 2011 10:22 pm
Forum: QuakeC Programming
Topic: BaseQC CCam rotation?
Replies: 33
Views: 8029

I've been trying to do this for months. I'm using quake clean. Unmodified. I just don't understand how you implement what you are talking about above.

I guess what I'm asking for is sort of a tut, I'm sorry I'm a total newb at quakes code but I am finding it a bit convoluted. How do I get this to ...
by Blackstar1000
Sat Jul 30, 2011 2:05 pm
Forum: QuakeC Programming
Topic: static camera activable by impulse
Replies: 9
Views: 2760

AH! Okay I though I had done something wrong. Yes the 6 min. was driving me nuts, I only have 10 min. breaks at work. I could not reply to more than one topic!
by Blackstar1000
Fri Jul 29, 2011 2:49 am
Forum: QuakeC Programming
Topic: static camera activable by impulse
Replies: 9
Views: 2760

sucks? I don't understand :?
by Blackstar1000
Mon Jul 25, 2011 3:34 am
Forum: QuakeC Programming
Topic: static camera activable by impulse
Replies: 9
Views: 2760

Been googling this one for a week. Want :lol:
by Blackstar1000
Mon Jul 25, 2011 3:28 am
Forum: General Discussion
Topic: Introducing myself and Thanking You
Replies: 15
Views: 4136

Thanks Dr. Shadowborg. I have indeed seen that website, though it was nearly a year ago. I do so much goolgeing between home and work on the subject of quake it is insane. Sometimes it is hard to keep track of all the information. I must let you know that I do all the Mapping, Modeling, Programming ...