Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2008-08-22 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
August 22, 2008, 11:01:15 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Current Official Servers:
#1 - 207.210.236.112:27015 Location US
#2 - 85.190.38.232:27015 Location Amsterdam
| Tick@100 | wcs 0.77 | Mani |
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Bots  (Read 131 times)
WEMO
Level 1 Trained Beginner
*
Offline Offline

Posts: 23


« on: April 15, 2007, 10:38:51 PM »

A bot only seems to gain experience in one race....ie. never changing race.

Each time a Bot joins a sever, could the bot randomly select a race.  If he doesnt meet the requirements of the race that has been randomly picked, then the the bot doesnt change its race.

I think a Predator Bot would be evil ........but currently there is no way that could happen.
Logged

kryptonite
<WCS coder>
Administrator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 1118



WWW
sp0nk

myServer 85.190.38.232:27015
(Warning: click connects through Steam)
« Reply #1 on: April 15, 2007, 11:05:02 PM »

exactly....
I didn't give bots the ability to changerace...this would require some kind of KI

On first join, he picks a random OPEN race, and thats not predator, because it has a required level.

Well, I could code something that every re-join the bot thinks about picking another race *g*
or maybe in admin menu, that you could toggle the bot race ? that would be a good feature !
Logged

(click to show/hide)
WEMO
Level 1 Trained Beginner
*
Offline Offline

Posts: 23


« Reply #2 on: April 15, 2007, 11:48:24 PM »

Some of the bots on our server are now around level 20.

They can be nasty, real nasty.

I dont mind if its an admin command or an automated process.  An automated process would be easier I guess as it would be a self managing process.

Logged

Real_Wolf
WCS Supporter
Level 7 Expert
*****
Offline Offline

New Zealand New Zealand

Posts: 636


« Reply #3 on: April 16, 2007, 02:20:08 AM »

Yeah, an automated process would be good, i can even see how it would work.

Set up a counter on map_start, a random variable per bot, which is between 1 and say 7, and at that specific round (each round -1 from the counters) you do a check for changing race. Eventually they should become high levels in most races, but they'll be changing all the time, will add a cool effect.

You'd have to use keygroups though to make it so that each counter is per bot, that way not all the bots change at once, some change in the second round, some in the 5th, etc. Adds some cool realism, and also lets them use races which have a required level
Logged

=|[K|T]|= Real Wolf

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 12:43:07 PM
server 1 ist wieder on xD
Today at 12:09:18 PM
Duffer ur Banner is finisht and ready 2 dl http://warcraft-source.com/board/index.php/board,62.0.html
Today at 04:25:54 AM
Thanks Polis for the help.
Today at 03:53:21 AM
Updated Solaris, specs and dead players will not longer give Solar Energies.
Today at 03:24:36 AM
nexusgaming.org
Today at 02:49:54 AM
If any one could help me with my race problem i would greatly appreciate it. tyvm
Today at 01:48:31 AM
Check out my sub forum for a script on how to make damage and messages from delayed skills not carry on to the next round.
Recent
[Today at 11:00:24 PM]

[Today at 10:49:35 PM]

[Today at 08:35:20 PM]

[Today at 08:06:14 PM]

[Today at 07:22:17 PM]

[Today at 05:49:50 PM]

[Today at 05:16:21 PM]

[Today at 05:14:22 PM]

[Today at 04:27:53 PM]

[Today at 02:09:07 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.239 seconds with 27 queries.