Raised This Month: $ Target: $400
 0% 

bot AI


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 12-07-2006 , 13:18   Re: bot AI
Reply With Quote #4

Does this work: register_think("nca_bot","bot_think")
I'd be very if it does since 99% if not 100% of bot coders actually get it to work based on StartFrame.

Code:
/* AMXX Bot [API] * * Copyright © 2006, Space Headed Productions * * This file is provided as is (no warranties). * */ enum bot_data {     bot_int_start,     bot_buttons,     bot_impulse,     bot_int_end,     bot_float_start,     bot_forward_move,     bot_side_move,     bot_up_move,     bot_float_end } enum bot_chat {     chat_all,     chat_team,     chat_radio } forward bot_think(id); // Checks whether its AMXX Bot native is_bot(id); // Creates a bot by given name and joins a team if specified native create_bot(const name[], team=0); // Removes a bot by id native remove_bot(id); native get_bot_data(id, bot_data:member, {Float,_}:...); native set_bot_data(id, bot_data:member, {Float,_}:...); // Sets the bots angles to the given origin native set_bot_angles(id, Float:origin[3]); native set_bot_voice(id, const wavefile[], pitch=100, Float:duration=1.0); native set_bot_chat(id, bot_chat:member, const text[]);
This is our current set of natives available you can use, like I said previously its not complete don't know exactly what is missing/required.

I'm unsure if our Team thing will work when you create a bot on NS since it has a Ready Room, not a standard menu for selecting a team.
__________________
|<-- Retired from everything Small/Pawn related -->|
You know when you've been Rango'd

Last edited by Orangutanz; 12-07-2006 at 13:23.
Orangutanz is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode