Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Game Modes in Coop
Re: Game Modes in Coop [message #228911 is a reply to message #228774] Wed, 01 November 2006 01:42 Go to previous messageGo to previous message
Ivan275 is currently offline  Ivan275
Messages: 41
Registered: August 2006
Karma:
Recruit
It's not as much work as you may think. I did it for one map and it seems to work fine. What I did is this.

Made 1 unkillable hidden bot and added a custom scrip to it. The script checks every 2 minutes the player count. Then it enables or disables bot spawns based on player count and on an integer in the ini file. The more players in game and the larger the integer(every map gets it's own integer based on owner preference) in the ini the more bots(zones) are spawned. The ID's were done in zones, 20 zones in total, first zone has a few bots all over the map, second adds a few more threw out the map, third ads a few more and so on... The hard part, well it wasn't hard just took a while is to add all the bot id's bot-start-ID and bot-finish-ID for all the zones to the unkillable bot as parameters of the custom script.

Ex start1=1000234, finish1=1000259, start2=1000262, finish2=1000266...

There is also a script that takes care of bots that don't yet need to be spawned and bots that don't ever need to be spawned again...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: need help with character importing
Next Topic: Exporting w3d
Goto Forum:
  


Current Time: Mon Dec 30 05:04:14 MST 2024

Total time taken to generate the page: 0.00648 seconds