Debriefing > Questions, Help, & How To's

How To Add Bots To Maps

(1/2) > >>

markpeterjameslegg:
I've been searching around, not just on the forums, but the wiki as well but can't find any info on the subject. I know how to access Node Edit in game and have the controls from the Node_Edit.cfg but when it comes to actually putting these functions into practice I am completely in the dark as to how they work, also there's no mention of saving changes in the config. Would anyone be able to give me some help on this as there a few great maps I would like to play on like ge_garrison, ge_ica_event,  ge_void_a1 & ge_pipes_a1 etc. Any help would be much appreciated, and of course I'll upload any work I complete.

Mangley:
Our AI navigates using info_node entities.

They should be placed in corners and junctions in maps. They operate by using a basic line of sight system. (read the SDK documentation wiki above for a good description on how that works)

Example: If 2 nodes can see eachother they create a corridor of navigation. If 4 nodes can see eachother they create a navigable 'room' of sorts. A hexagonal room would need 6 nodes, one in each corner for correct navigation, and so on.

Note: All player spawns MUST be able to see a node, otherwise any AI that spawns there will be unable to navigate.

Here is a good tutorial for basic placement.Watch this.

This tutorial also covers how to debug and edit nodes in realtime, with Hammer open the nodes will be added to the .VMF file. .AIN files are generated by the server on map start based off the nodes found in the .BSP file. .AIN files can be used to hotfix AI issues without needing to include map files.

markpeterjameslegg:
Wow... Thanks Mangley, I'll have a go at this tomorrow  :)

markpeterjameslegg:
Finally got round to looking at the vid, but it's for adding bots within Hammer. I'm trying to add bots within Goldeneye Source itself using "exec node_edit", I get that you place the nodes using Mouse 1, but how do I connect them and test them, for example, spawning a bot and testing their manoeuvres in realtime, also saving my changes out so that next time I load the map the nodes are in place.

EDIT: Sorry to be a pain... But I'm a noob at this :)

Mangley:
Nodes should automatically connect to eachother using line of sight. If a node connection is green it should be fine. Red indicates a disconnected node. (IIRC)

You can spawn bots with ge_bot and they should be able to navigate new nodes as long as they are connected. I've not used the in-game node editor in a long time. Maybe someone else can weigh in.

Navigation

[0] Message Index

[#] Next page

Go to full version