|
Necavi
|
 |
« on: October 15, 2010, 04:20:24 PM » |
|
I would like you to add a native which would be something like this: botspawn(team, vector, duration (optional), class (optional)). This would help with many race that I and others want to make, without having to create our own large section of code for each race to do this.
|
|
|
|
|
Logged
|
|
|
|
|
Ownz
|
 |
« Reply #1 on: October 15, 2010, 06:57:05 PM » |
|
bot spawn?
|
|
|
|
|
Logged
|
 DarkEnergy
|
|
|
|
Necavi
|
 |
« Reply #2 on: October 15, 2010, 07:54:55 PM » |
|
Yes, for example: I am redoing TeacherCreature's Goblin to be more what I think it should be, and as such he constructs a building, out of which every few seconds a bot as a (modified) version of his Clockwerk goblin is spawned.
|
|
|
|
|
Logged
|
|
|
|
Glider⠠⠵
Global Moderator
Sr. Member
    
Posts: 413
⠠⠵
|
 |
« Reply #3 on: October 16, 2010, 07:57:01 AM » |
|
I remember having this in the CS 1.6 mod and didn't like it that much back then. I don't think it's really worth the trouble and I personally dislike bots joining and disconnecting each few minutes.
|
|
|
|
|
Logged
|
|
|
|
|
[Oddity]TeacherCreature
|
 |
« Reply #4 on: October 16, 2010, 08:47:03 AM » |
|
That is the reason I didnt code it as well. Bots are a pain in the ass. If you do code it though I will recode carrion beetle, clockwerk, phoenix etc to use bots
the problem is this
What happens if your server is full and someone uses a bot command? or if your server is almost full and then bots are spawned making it full can other players join? What if you have multiple races all spawning bots nad you end up with lots of bots
Would be wicked more awesome to work with entities to create NPCs so that they would not use player slots, but I fear that is more work than it is worth. I started doing this and what a giant pain in the ass because you need tocreate loops and checks for everything , movement site shootign damage etc etc etc
|
|
|
|
« Last Edit: October 16, 2010, 08:49:10 AM by [Oddity]TeacherCreature »
|
Logged
|
|
|
|
|
Ownz
|
 |
« Reply #5 on: October 16, 2010, 11:47:14 AM » |
|
so TC, u finally realize what i was saying
|
|
|
|
|
Logged
|
 DarkEnergy
|
|
|
|
[Oddity]TeacherCreature
|
 |
« Reply #6 on: November 01, 2010, 07:56:26 AM » |
|
I sitll think it would be cool to have these natives
and perhaps have an option to check if bots are on the server and if the max bots allowed then skill will not process.
This way you can get 2 or 3 reserve slots and use them for bots but limit it
Bot spawn with duration and < maxbotallowed would still be very usefull - I have a race I am waiting to make with those commands
|
|
|
|
|
Logged
|
|
|
|
|