Search found 191 matches

by Junrall
Tue Nov 17, 2015 6:35 am
Forum: QuakeC Programming
Topic: Smooth Rotation And Rotate to Specific Degree
Replies: 8
Views: 5760

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. ...
by Junrall
Sun Nov 15, 2015 7:26 am
Forum: QuakeC Programming
Topic: Smooth Rotation And Rotate to Specific Degree
Replies: 8
Views: 5760

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...
by Junrall
Fri Nov 13, 2015 7:02 am
Forum: QuakeC Programming
Topic: Smooth Rotation And Rotate to Specific Degree
Replies: 8
Views: 5760

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);
by Junrall
Fri Nov 13, 2015 6:59 am
Forum: QuakeC Programming
Topic: Smooth Rotation And Rotate to Specific Degree
Replies: 8
Views: 5760

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...
by Junrall
Thu Nov 12, 2015 9:58 am
Forum: QuakeC Programming
Topic: Smooth Rotation And Rotate to Specific Degree
Replies: 8
Views: 5760

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 ...
by Junrall
Tue Jun 11, 2013 11:07 am
Forum: Artificial Intelligence
Topic: Any New Bots?
Replies: 5
Views: 5040

Re: Any New Bots?

mankrip wrote:I guess not, there hasn't been any spam lately. </zing!>
huh? :shock:
by Junrall
Tue Jun 11, 2013 5:38 am
Forum: Artificial Intelligence
Topic: Any New Bots?
Replies: 5
Views: 5040

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?
by Junrall
Thu Mar 17, 2011 12:53 am
Forum: General Discussion
Topic: Prey 2
Replies: 13
Views: 3593

I enjoyed the "Art Bell" radio theme and hope they do something similar with Prey 2. Like Ajay, I too enjoyed interesting ideas and game play mechanics. I'm not sitting on the edge of my seat waiting for Prey 2, but probably will get it... and probably enjoy it as much as I did the first o...
by Junrall
Sat Mar 12, 2011 3:45 am
Forum: General Discussion
Topic: Covert Ops Thread
Replies: 6
Views: 1811

Nice screenshot! Very covert! You can just tell that he won't even know what hit 'em! 8)
by Junrall
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...
by Junrall
Thu Mar 03, 2011 5:43 am
Forum: General Discussion
Topic: What are you working on?
Replies: 3884
Views: 6068467

metlslime wrote:previous post looks like spam to me
yeah, it is.

Now this type of spam totally pisses me off.
I hate the idea of scrutinizing every legit looking post. Only to pass it up because I don't recognize the name.

What a shame. :(
by Junrall
Thu Feb 24, 2011 6:58 am
Forum: QuakeC Programming
Topic: Flashbang/stun grenades?
Replies: 13
Views: 1883

Error wrote:for my flashbang, I was thinking of using a white model, attached to the player's viewport (viewmodelforclient) and alpha it until it's invisible... :lol:
Nice! Simple and easy to do.
by Junrall
Thu Feb 24, 2011 6:09 am
Forum: General Discussion
Topic: What are you working on?
Replies: 3884
Views: 6068467

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...
by Junrall
Wed Feb 23, 2011 7:52 pm
Forum: General Discussion
Topic: What are you working on?
Replies: 3884
Views: 6068467

junrall - why would you need to completely redo your program? i personally wouldnt. if i were you i'd fix any bugs you can track down. also a black background for the txt editor i dont know is such a good idea. It's not so much the bugs as it is with all the "spider webbing" of the code. ...
by Junrall
Wed Feb 23, 2011 6:47 am
Forum: General Discussion
Topic: What are you working on?
Replies: 3884
Views: 6068467

I finally merged my syntax colorizor-thingy-majingy into QCPad... wow, what an undertaking! There are a few glitchy things to fix and polish with the syntax colorizing and a few other glitches related to file saves. You know the saying... "It's a diamond in the rough" well... at the moment...