OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: schorsch on November 04, 2014, 09:43:48 AM



Title: Hello a little technical question
Post by: schorsch on November 04, 2014, 09:43:48 AM
Hello Openarena Team and many friendly Developers and Users,

you doing a realy big Job to develope this game. A big thanks.

My little question is how can i change the bot Names in the Server 0.8.8,
or making a server.cfg wich do addbots with my created Names in each Map.

I have tested in my server.cfg with:

addbot neko 2 blue 0 my_created_name_for_this_bot

This Bot will add the first map, but when all human player fill up the game,
when human players will later leave the game. The following bots will not be this
one own created bot. The server adds standard bots without my name.

My question is how to add bots with my name, or how change bots name for
a 0.8.8 pure server game with out cheats on every following map.

Thanks a lot for your help.

best regards
Georg


Title: Re: Hello a little technical question
Post by: Gig on November 04, 2014, 10:33:45 AM
If the server adds and removes bots automatically, I can guess you are using bot_minplayers variable, right?
Uhm... I don't know if there is a way to set custom names bots added by bot_minplayers.
You could add bot with custom names without having to type them each one by creating a cfg file with a series of "addbot" strings (and if you wish, "kick allbots" before), and then "exec" that file, but that would not automatically adjust the number of bots according to the number of human players.

I don't know... even creating your own bot files would not fix the problem, because standard bots may be randomly picked as well....

Note: I'm not actually a developer, nor a real server admin.


Title: Re: Hello a little technical question
Post by: schorsch on November 04, 2014, 10:54:58 AM
Hello yes this is what i know,

i hope someone can make this, i realy like my own given bot names. ;)

I hope there comes a funny nude  :-* patch for openarena server to    :D

I like funny streakers :D :D there be very very cool in alpin Ski, Socker and any sports to. :D

The funniest beautiful girl streaker was in alpin ski, the ski race driver had had an accident. :D
 
best regards
Georg



Title: Re: Hello a little technical question
Post by: grey matter on November 04, 2014, 04:46:15 PM
Without actually testing this, try the following;

Code:
unzip -j /usr/share/games/openarena/baseoa/pak6-patch088.pk3 scripts/bots.txt -d ~/.openarena/baseoa/scripts/
# override "name" and/or "funname" values
$EDITOR ~/.openarena/baseoa/scripts/bots.txt
openarena-ded +set bot_enable 1 +set bot_minplayers 4

This might interfere with sv_pure though. You'd either need to make g_botsFile read/write or see whether you can override (if any) the existing scripts/*.bot files.
You're lucky, *.txt does not count as a pure reference.


Title: Re: Hello a little technical question
Post by: schorsch on November 05, 2014, 10:52:06 AM
Good this works really fine for me  :D,

one little question, how can i setup text color in bots.txt ?

best regards
georg


Title: Re: Hello a little technical question
Post by: grey matter on November 05, 2014, 04:21:53 PM
You can use DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/Manual/Text_colors]color codes (http://([b) in the "funname" or (which has priority over) the "name" bot key, e.g.
Code:
{
    name       RegularName
    funname    "^1r^2a^3i^4n^5b^6b^7o^8w ^9!"
    model      angelyss
    aifile     bots/angelyss_c.c
}

You can also set keys like "team_model", "team_headmodel", "headmodel", "gender", "color1" and "color2".


Title: Re: Hello a little technical question
Post by: fromhell on November 05, 2014, 05:15:01 PM
I thought about organizing OA3 bots with abbreviated model name and then the funname being their normal name. Good idea Y/N?


Title: Re: Hello a little technical question
Post by: Gig on November 06, 2014, 02:05:57 AM
I thought about organizing OA3 bots with abbreviated model name and then the funname being their normal name. Good idea Y/N?
I don't know what to tell you about this. I'm not used to the "funname" thing, so I can't imagine if changing that stuff may cause some kind of problem.