Search found 191 matches
- Tue Nov 17, 2015 6:35 am
- Forum: QuakeC Programming
- Topic: Smooth Rotation And Rotate to Specific Degree
- Replies: 8
- Views: 5750
Re: Smooth Rotation And Rotate to Specific Degree
It's just limiting the value of move to the range between -self.yaw_speed and self.yaw_speed. But I agree it could be more concise: if (move < 0 - self.yaw_speed) { move = 0-self.yaw_speed; } else if (move > self.yaw_speed) { move = self.yaw_speed; } Haha... yeah, I didn't like how it read either. ...
- Sun Nov 15, 2015 7:26 am
- Forum: QuakeC Programming
- Topic: Smooth Rotation And Rotate to Specific Degree
- Replies: 8
- Views: 5750
Re: Smooth Rotation And Rotate to Specific Degree
Been struggling with trying to get my brainless bot to rotate smoothly in one direction or another. I have finally discovered why it has not been working for me. I have been using DP's spawnclient to spawn a bot into a client slot and discovered that ChangeYaw does not work with bot spawned like thi...
- Fri Nov 13, 2015 7:02 am
- Forum: QuakeC Programming
- Topic: Smooth Rotation And Rotate to Specific Degree
- Replies: 8
- Views: 5750
Re: Smooth Rotation And Rotate to Specific Degree
Sorry,
tempvec = vectoangles(self.enemy.origin - self.origin);
should be
tempvec = vectoangles('0 200 0' - self.origin);
tempvec = vectoangles(self.enemy.origin - self.origin);
should be
tempvec = vectoangles('0 200 0' - self.origin);
- Fri Nov 13, 2015 6:59 am
- Forum: QuakeC Programming
- Topic: Smooth Rotation And Rotate to Specific Degree
- Replies: 8
- Views: 5750
Re: Smooth Rotation And Rotate to Specific Degree
Thanks for the response Spike, Based on what you shared, I had thought that the following would work, but it did not. (self.ideal_yaw is a float and would not accept vectorangles directly.) vector tempvec; tempvec = vectoangles('0 200 0' - self.origin); self.ideal_yaw = tempvec_y; self.yaw_speed = 5...
- Thu Nov 12, 2015 9:58 am
- Forum: QuakeC Programming
- Topic: Smooth Rotation And Rotate to Specific Degree
- Replies: 8
- Views: 5750
Smooth Rotation And Rotate to Specific Degree
Hello all, I'm dinking around with DP and it's bot spawning function spawnclient(). Does anyone know of a way to easily use DP to smoothly rotate a bot's yaw to a specific degree? I'm not familiar with DP, so I might be missing something in the dpextensions.qc file. I have been experimenting with a ...
- Tue Jun 11, 2013 11:07 am
- Forum: Artificial Intelligence
- Topic: Any New Bots?
- Replies: 5
- Views: 5007
Re: Any New Bots?
huh?mankrip wrote:I guess not, there hasn't been any spam lately. </zing!>
- Tue Jun 11, 2013 5:38 am
- Forum: Artificial Intelligence
- Topic: Any New Bots?
- Replies: 5
- Views: 5007
Any New Bots?
Hi everyone! Been a while since I last posted here!
I find myself being drawn to Quake yet again... go figure!
Anyways, I was wondering if any new or recent bots have been created?
I find myself being drawn to Quake yet again... go figure!
Anyways, I was wondering if any new or recent bots have been created?
- Thu Mar 17, 2011 12:53 am
- Forum: General Discussion
- Topic: Prey 2
- Replies: 13
- Views: 3593
- Sat Mar 12, 2011 3:45 am
- Forum: General Discussion
- Topic: Covert Ops Thread
- Replies: 6
- Views: 1811
- Sun Mar 06, 2011 8:45 am
- Forum: Engine Programming
- Topic: Mass Search and Replace?
- Replies: 18
- Views: 3498
This might be a bit late for Baker, but may be of use in the future. Until 12 midnight you can get a free copy of AKS Text Replacer at Giveaway of the Day I think this might have been what Baker was looking for? Anyways, thought I'd share. If you're wanting more info on the program here is the websi...
- Thu Mar 03, 2011 5:43 am
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6062495
- Thu Feb 24, 2011 6:58 am
- Forum: QuakeC Programming
- Topic: Flashbang/stun grenades?
- Replies: 13
- Views: 1877
- Thu Feb 24, 2011 6:09 am
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6062495
Junrall, I forgot if you'd answered this already, but is qcpad scintilla based? If not I'd definately suggest checking scintilla out. No, QCPad isn't Scintilla based. I have my own home brewed syntax highlighting system built in... certainly not as fast as Scintilla or the others but it works and I...
- Wed Feb 23, 2011 7:52 pm
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6062495
- Wed Feb 23, 2011 6:47 am
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6062495