OpenArena Message Boards

OpenArena => General => Topic started by: carn1x on May 19, 2010, 08:51:48 AM



Title: Bot personalities?
Post by: carn1x on May 19, 2010, 08:51:48 AM
I'm looking at playing with the individual bot stats, but I noticed there are scripts "missing" for certain bots, such as Assassin doesn't seem to have any corresponding botfiles. Does OA use these botfiles, or is there a default file where bots are listed?

Thanks


Title: Re: Bot personalities?
Post by: RMF on May 19, 2010, 09:00:39 AM
There are more things in oa which are missing :)


Title: Re: Bot personalities?
Post by: carn1x on May 19, 2010, 09:33:07 AM
There are more things in oa which are missing :)

Well the confusing part is, there is a bot for Assassin, yet i can't find the script for it.

Do models without scripts just use default script?


Title: Re: Bot personalities?
Post by: Neon_Knight on May 19, 2010, 10:32:37 AM
You may want to check the botfiles dir and scripts/bots.txt inside pak6-misc.pk3 and play with it.


Title: Re: Bot personalities?
Post by: carn1x on May 19, 2010, 10:34:57 AM
You may want to check the botfiles dir and scripts/bots.txt inside pak6-misc.pk3 and play with it.

That's what I'm playing with :)

no assassin_*.c files!

I'll have a further play with stuff though and report my findings ;D

EDIT: Oh I just realised you mentioned scripts/bots.txt, I missed that one, it seems Assassin is in there, and feeding off of Sergei's bot files.

Thanks :D


Title: Re: Bot personalities?
Post by: carn1x on May 20, 2010, 09:01:58 AM
I have been playing with the botfiles, however it's occured to me that I may be wasting my time.

What files take priority? I've always been under the impression that if you have say, botfiles.txt inside the pak, and another botfiles.txt outside in the scripts folder, that the one in the scripts folder will take presidence over anything in a pak file?

Also, I'm guessing that as each bot script gives values for skill 1, 4, 5, it must interpolate skills 2, 3 from 1, 4? I don't personally care about all the different skill levels however as I only plan to play on one difficulty, so can I simply remove all but one skill level from the botscripts for simplicity sake?

Thanks for any advice :)


Title: Re: Bot personalities?
Post by: Logan on May 21, 2010, 01:03:22 AM
Any effort to make the bots more enjoyable to play against is appreciated.


Title: Re: Bot personalities?
Post by: Udi on May 21, 2010, 04:51:38 AM
Chaoticsoldier has already started working (http://openarena.ws/board/index.php?topic=3048.0) on the botlines, but hasn't finished it. You may want to contact him and work together.


Title: Re: Bot personalities?
Post by: GrosBedo on May 21, 2010, 04:18:23 PM
What files take priority ?

That is a good question. Simply stated : the pk3 file that is loaded first.

The engine seems to not be able to replace a file once it's loaded into memory. That means that if you can load yours first, you will totally (I said totally, you cannot just append) replace the original file.

To do that, you need to know 2 things :

- Engine only loads files in pk3 (to generalize, there are special cases)
- It loads them in inversed alphabetical order

This means that to load your own botfile instead of the original one, you have :

- To put it in a pk3 (you should already know, but a pk3 is only a zip archive containing all your files and renamed *.pk3)
- Name it with a name that is alphabetically sorted after the pk3 that contains the original file you want to replace (naming your pk3s like "z-something" or "zz-something" works well)


Title: Re: Bot personalities?
Post by: chaoticsoldier on May 22, 2010, 07:50:31 PM
Chaoticsoldier has already started working (http://openarena.ws/board/index.php?topic=3048.0) on the botlines, but hasn't finished it. You may want to contact him and work together.

Thanks Udi,

I posted all my work here (http://openarena.ws/board/index.php?topic=3623.msg30899#msg30899) about 8 weeks ago (which is still all I have to date), asking fromhell to tell me what she thinks.

I'll gladly continue, I've got plenty of ideas, but I really wanted feedback from fromhell first. She didn't open my spreadsheet and there's no other practical way of presenting all the work. If I finish it and then fromhell doesn't like it then I've just wasted my time.

Should I just go ahead with it anyway?


Title: Re: Bot personalities?
Post by: carn1x on May 23, 2010, 12:03:18 AM
Thanks for the advice all :)

Everybody seems to be getting excited that I'm going to be contributing! Unfortunately I just want to fiddle with the numbers and have some fun, I don't think I'm in a position to give back at this point, maybe one day :).

I don't plan to touch any of the bot dialogue, I was more referring to the bot stats like skill/weapon/item weights!

On a side note, I was just doing a ton of testing, to see how much difference individual skill stats made by running a ton of bot tests. It was about 2 hours after this point of wondering why none of the stats seem to have much overall effect (e.g 6 bots all with identical stats except aiming skill ranging from 0 - 1) when I realised that the bot scripts would not work outside of the pak files!

I do have a question though; I'm wondering, for running bot tests, is there a way to have a listen server screenshot or output the scores at the end of a round automatically? I've basically been running a ton of tests by the most manual method of:

Create Server -> Select Bots -> Start -> Spectate -> Wait until the end of the round

I'd like to do all this via a cfg if possible, saving me having to constantly check back to see if the round has finished!

Thanks :)


Title: Re: Bot personalities?
Post by: Graion Dilach on May 23, 2010, 06:09:24 AM
Should I just go ahead with it anyway?

Of course.

If she doesn't care to open an xls, then I gladly convert them into pure format. It's too nice to forget it.