Pages: [1]
  Print  
Author Topic: Hello a little technical question  (Read 6517 times)
schorsch
Nub


Cakes 0
Posts: 11


« 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.alien
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
Logged
Gig
In the year 3000
***

Cakes 45
Posts: 4392


WWW
« Reply #1 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.
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
schorsch
Nub


Cakes 0
Posts: 11


« Reply #2 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. Wink

I hope there comes a funny nude  Kiss patch for openarena server to    Cheesy

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

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

« Last Edit: November 04, 2014, 11:34:42 AM by schorsch » Logged
grey matter
Member


Cakes 8
Posts: 381

>9k


« Reply #3 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.
« Last Edit: November 04, 2014, 04:51:28 PM by grey matter » Logged

This space is for rent.
schorsch
Nub


Cakes 0
Posts: 11


« Reply #4 on: November 05, 2014, 10:52:06 AM »

Good this works really fine for me  Cheesy,

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

best regards
georg
« Last Edit: November 05, 2014, 11:37:47 AM by schorsch » Logged
grey matter
Member


Cakes 8
Posts: 381

>9k


« Reply #5 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 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".
Logged

This space is for rent.
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #6 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?
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
Gig
In the year 3000
***

Cakes 45
Posts: 4392


WWW
« Reply #7 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.
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Pages: [1]
  Print  
 
Jump to: