Forum

simple pac man game

Discuss Artificial Intelligence and Bot programming.

Moderator: InsideQC Admins

Re: simple pac man game

Postby toneddu2000 » Thu Feb 23, 2012 9:22 am

Thanks frag.machine! I thought it was the right function! Nevermind
@Baker:
Thanks for the first and the second reference! :)
I already tried to study at fight.qc but it's really complex because it's melted down in the quake structure with think functions and company. I couldn't find the "core" of the functions where it says:"enemy is a player. go near to him, and everywhere he goes, chase him"
Can I simply define in the game
enemy = player?
I tried with enemy = classname==player but it's not correct

I'm total noob I know! :oops:
thanks again
toneddu2000
 
Posts: 1301
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: simple pac man game

Postby Baker » Thu Feb 23, 2012 6:25 pm

You might post specific QuakeC questions in the QuakeC section.

I am thinking that most here only read the sections that interest them. I know I read anything posted in the engine section and am a lot less likely to read everything in the other sections.

Likewise, if you have a QuakeC problem you cannot get past, I think the passive idea that the solution will seek you out is a bad way to go.

If you really want an answer to precise QuakeC question, post it in that section so the most people with the most knowledge read it.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3661
Joined: Tue Mar 14, 2006 5:15 am

Re: simple pac man game

Postby toneddu2000 » Thu Feb 23, 2012 6:58 pm

yeah you're right Baker. I'll do that. thanks
toneddu2000
 
Posts: 1301
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Previous

Return to Artificial Intelligence

Who is online

Users browsing this forum: No registered users and 1 guest