ai_disable
Moderator: InsideQC Admins
10 posts
• Page 1 of 1
ai_disable
Just wondering if vanilla quake or WinQuake has an ai_disable console command. I've haven't been able to google one.
Thanks,
DieparBaby
Thanks,
DieparBaby
-

DieparBaby - Posts: 44
- Joined: Tue Dec 05, 2006 3:27 pm
- Location: London, Ontario, Canada, eh
What makes you think it's called exactly 'ai_disable'?
'notarget' makes monsters ignore you unless you shoot them.
'notarget' makes monsters ignore you unless you shoot them.
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
- Sajt
- Posts: 1215
- Joined: Sat Oct 16, 2004 3:39 am
Well I don't know if it's called ai_disable exactly but a search for "quake 1 disable ai" should turn up something if it exists. I just wanted to be able to turn the monster thinks off and on. I'm near the end of writing a quake c 'mod' to do it in case there isn't already a way.
-

DieparBaby - Posts: 44
- Joined: Tue Dec 05, 2006 3:27 pm
- Location: London, Ontario, Canada, eh
Well you could add an extra field called .last_think which would store the last think
that an entity had before the ai was disabled through an impulse. Then you would
set the current .think function to SUB_Null. To turn the ai back on, set the .think
function to .last_think.
that an entity had before the ai was disabled through an impulse. Then you would
set the current .think function to SUB_Null. To turn the ai back on, set the .think
function to .last_think.
-

DieparBaby - Posts: 44
- Joined: Tue Dec 05, 2006 3:27 pm
- Location: London, Ontario, Canada, eh
DieparBaby wrote:Well you could add an extra field called .last_think which would store the last think
that an entity had before the ai was disabled through an impulse. Then you would
set the current .think function to SUB_Null. To turn the ai back on, set the .think
function to .last_think.
I'm afraid it's a bit more complicated, since the time stills going on, and a lot of things would be screwed (animations, calls to SUB_CalcMove and stuff alike). It would look more like they were frozen on time actually (which could be a funny thing to do just for fun).
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC
(LordHavoc)
-

frag.machine - Posts: 2090
- Joined: Sat Nov 25, 2006 1:49 pm
-

Entar - Posts: 439
- Joined: Fri Nov 05, 2004 7:27 pm
- Location: At my computer
-

Entar - Posts: 439
- Joined: Fri Nov 05, 2004 7:27 pm
- Location: At my computer
10 posts
• Page 1 of 1
Return to Artificial Intelligence
Who is online
Users browsing this forum: No registered users and 1 guest
