Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I get enemies in my map?

#1
Sounds stupid, but I can't do this. I create info_player_team1 and info_player_team2 but no bots show up on the other team. How do I achieve this? Really, I'm probably missing something obvious, but I have no idea.

Thanks for any help.
Reply

#2
Did you enable bots? That's not a per-map settings, the info_player entities are spawn entities that players and bots alike use to spawn. To enable bots, you can set bot_number to the number of bots you desire. You can do this by typing for example bot_number 1 to have one bot in your game. Type that in the Xonotic console, you can access it with shift-escape in the hosting client or by typing in the controlling terminal in a dedicated server or sending it through rcon.
Reply

#3
Thanks. That works great. Is it possible to prevent the bot from re spawning? Reason is, I'm making a single-player level with a start and finish, and want bots to fight on the way, BUT I want them to remain dead whilst I'm in a certain area. I assume if I make, say fifteen team2 spawn points, and choose fifteen bots to be spawned, then one will spawn at each location?

The level is coming along nicely - I'm fixing up the textures at the minute. Whilst I'm here, I hope I can also ask how do I print text on the screen (I want a point where the game says "Press Space to Jump") in game and how to have lights that flicker in some places (the game is supposed to start on a crashed starship which is heavily damaged)

Thanks again!
Reply

#4
flickering lights are tricky ...
they are not added in radiant ... instead you add them in game using the console ...
http://dev.xonotic.org/projects/xonotic/wiki/Lighting
make sure you have real-time/world-lighting on in the effect settings

For bots respawning ... im not really sure what you can do ... extensive spawn control is something I have wanted for a while ...
Mario is kind of in charge of the single layer development at the moment (at least he is the only on actually doing something on the development side) you should contact him ...

As for text ... I've always wondered that too (it is possible ...)
Reply

#5
What you want is not bots, it's something called "monsters" for which we have no support yet. Mario is working on this though, as far as I know. Bots are designed to be a substitute for players in multiplayer games, not entities that are part of a map. Monsters are entities in a map and are more of a singleplayer concept.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't get netradiant to work with Xonotic NoClue 2 2,838 06-14-2022, 01:25 PM
Last Post: NoClue
Brick trying to get into mapping, HAALP TheSmasher1992 21 10,058 06-14-2018, 02:04 PM
Last Post: Julius
  What is needed to get started mapping? twitch 5 4,852 01-15-2017, 10:13 PM
Last Post: twitch
  How to get rid of the line on edge of warpzone? Penguinum-tea 6 6,907 03-25-2015, 02:56 PM
Last Post: Penguinum-tea

Forum Jump:


Users browsing this thread:
3 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-