Modding and bot: who to...


(Cheveche4) #1

Hello,
I have a lot of question in ratio with bot and modding:
1- I saw that there’s a entity for player, a structur for client… Who use these information?
2- How insert a bot in the source code of ET? (I looked near g_bot.c but I don’t understand very well…Explain me please!)
3- How to manage the AI of bots and where to implement it?
4- Where can I find information of implement of bots in the source code?

I’d like source example too… Thank’s for your answer!


(kamikazee) #2

If you know nothing about the source, don’t try to make bots from scratch…
Get to know what is what first. You could read the stickies in this forum for a start.


(Jaquboss) #3

read a c++ guide friend, and try to understand the code
to allow ET bots you need to allow addbot command nothing more, BUT they are broken even with correct AAS file ( you have to uncommenct AAS loading code to try that of course )


(IneQuation) #4

Just for the sake of being exact, it’s ANSI C, not C++. :wink:


(kamikazee) #5

Yes, but it’s easier to learn C++ and have a basic look at how the C syntax looks then to start programming in C with all it’s messier approaches and learning C++ afterwards.


(EB) #6

I agree with this.


(Shaderman) #7

Q: Knowing C is a prerequisite for learning C++, right?

A: Wrong. The common subset of C and C++ is easier to learn than C. There will be less type errors to catch manually (the C++ type system is stricter and more expressive), fewer tricks to learn (C++ allows you to express more things without circumlocution), and better libraries available. The best initial subset of C++ to learn is not “all of C”.

Taken from Bjarne Stroustrup’s FAQ at http://www.research.att.com/~bs/bs_faq.html#prerequisite


(Cheveche4) #8

so, i’m not a begin. I know the C++, C,(see my website: http://www.system-linux.net/~garia ) ANSI and the ASCII but if I can just to have a help
:moo:


(Jaquboss) #9

try this
http://www.mpcforum.com/archive/index.php/t-25521.html
EDIT: Fretn who posted there is an ETPro programmer, you may use etpro forums to ask
http://etpro.anime.net/


(Cheveche4) #10

thank you