Search found 429 matches

by gnounc
Thu Mar 27, 2014 6:32 pm
Forum: Artificial Intelligence
Topic: Frikbot Item desirability
Replies: 135
Views: 174168

Re: Frikbot Item desirability

I do need to point out that dr shadowborg just asked for frikbotsxc because he couldnt find it. Thats the latest version.
This leads me to believe that maybe the version you're working with is older. I saw in the release notes that a "major navigation bug" was squashed. So try updating to xc and let ...
by gnounc
Thu Mar 27, 2014 6:27 pm
Forum: General Discussion
Topic: quake games on android
Replies: 11
Views: 4382

Re: quake games on android

csqc on fte already supports multitouch.
by gnounc
Thu Mar 27, 2014 10:47 am
Forum: Artificial Intelligence
Topic: Frikbot Item desirability
Replies: 135
Views: 174168

Re: Frikbot Item desirability

looks good. if it works good thats even better!
If you really want to stretch a bit, I got this bit from spike.


local float m;
m = self.health/(1-self.armortype)

if(self.armorvalue > m && m > 0)
health = self.health + m;
else
health = self.health + self.armorvalue;


that gives you "converted ...
by gnounc
Thu Mar 27, 2014 3:40 am
Forum: Artificial Intelligence
Topic: Frikbot Item desirability
Replies: 135
Views: 174168

Re: Frikbot Item desirability

the only improvement I would suggest is using converted health.
Meaning count armor as well.

But, looks good! good work
by gnounc
Wed Mar 26, 2014 7:16 am
Forum: General Discussion
Topic: John Carmack to work primarily on Oculus Rift
Replies: 33
Views: 16871

Re: John Carmack to work primarily on Oculus Rift

Yeah I read that.
I hope they stay the fuck out of carmacks way. :/
by gnounc
Tue Mar 25, 2014 12:39 am
Forum: Artificial Intelligence
Topic: Frikbot Item desirability
Replies: 135
Views: 174168

Re: Frikbot Item desirability

sorry, I'm out of ideas.
I'm really not sure what else to do, except ask frikac for help.
I hope you manage to get something going though.
by gnounc
Mon Mar 24, 2014 12:29 pm
Forum: Artificial Intelligence
Topic: Frikbot Item desirability
Replies: 135
Views: 174168

Re: Frikbot Item desirability

thing is correct there.

thing is the argument name of the entity being passed.
if you look a bit above that it says something like thing.waypoint.
by gnounc
Mon Mar 24, 2014 5:10 am
Forum: Artificial Intelligence
Topic: Frikbot Item desirability
Replies: 135
Views: 174168

Re: Frikbot Item desirability

no i hadnt seen the edits. Yes, the randomization should apply to ammo as well.
Also you said the bots still fight over a spawn item thats already been taken..above i mentioned in botAI checking for an item being taken and removing it from the list, I dont see you mentioning having put that code in ...
by gnounc
Mon Mar 24, 2014 4:05 am
Forum: Artificial Intelligence
Topic: Frikbot Item desirability
Replies: 135
Views: 174168

Re: Frikbot Item desirability

Code: Select all

r = random();
if(r > 0.5)
     self.fb_base_priority = -35;
else
     self.fb_base_priority = 35;
by gnounc
Mon Mar 24, 2014 2:25 am
Forum: Artificial Intelligence
Topic: Frikbot Item desirability
Replies: 135
Views: 174168

Re: Frikbot Item desirability

yeah, theyre equally distributed random values, so they should be going for the same items roughly. the variance should be pretty slight. doing what you said would help. allowing a wider variation including negative would help too.

you can do that by doing a second random call and using that to ...
by gnounc
Sun Mar 23, 2014 10:30 pm
Forum: Artificial Intelligence
Topic: Frikbot Item desirability
Replies: 135
Views: 174168

Re: Frikbot Item desirability

yeah random() is what i meant. i always do that for some reason.

Anything you put in bot_ai for randomness beforehand should be reverted, but the priority values are otherwise still used.

Let me know if it works.
by gnounc
Sun Mar 23, 2014 6:09 am
Forum: Artificial Intelligence
Topic: Frikbot Item desirability
Replies: 135
Views: 174168

Re: Frikbot Item desirability

I figure because you've provided a ton of wp's for the community someone should get off their ass and help you.
Might as well be me.

this is from the frikbot source, its the priority values.

// priority scale
// 0 - 10 virtually ignore
// 10 - 30 normal item range
// 30 - 50 bot will consider ...
by gnounc
Sun Mar 23, 2014 5:09 am
Forum: Artificial Intelligence
Topic: Frikbot Item desirability
Replies: 135
Views: 174168

Re: Frikbot Item desirability

Doing what I said above would be a start. It would set the priority of the item on item spawn. So it would
update to your new random value every time the item spawns.

On the other side, you would want to set the items priority to zero when its picked up.
That would ensure the bots ignore the ...