thx yall
Bots and ladders
Moderator: Moderators
- MasterMind
- Major
- Posts: 316
- Joined: Thu Jul 15, 2004 12:10 am
Bots and ladders
I did everything in the manual but i cant seem to get the bots to go up my ladder. Can someone please explain to me in MUCH detail how make "botable ladders".
thx yall
thx yall
Jesus built us a bridge, with 2 boards and 3 nails.
Do you have a route node with the $action key set to ladder and $actionset set to a number for the set ? Did you make a script_origin with the targetname ladderbottom placed 32 units away from the ladder and set the angle key ? Did you make a script_origin with the targetname laddertop placed 32 units away from the ladder and set the angle key . Did you set the #set key on the script _origins to match the $actionset value of the route node ? Is there enough space around the ladder for bots ? Do they goto the ladder but seem to have a problem climbing ?
- MasterMind
- Major
- Posts: 316
- Joined: Thu Jul 15, 2004 12:10 am
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
- MasterMind
- Major
- Posts: 316
- Joined: Thu Jul 15, 2004 12:10 am
one question, do the ladders have to be in some kind of route that leads to a camper node(or something like that)? or can i just place nodes around it so that bots can just find the camper node(which is up the ladder) without a manully made route that leads to it?
the bots only seam to climb the ladder when the ladder is part of a route that leads to a camper node and the camper node has a key value of $route/nameofladderroute.
the bots only seam to climb the ladder when the ladder is part of a route that leads to a camper node and the camper node has a key value of $route/nameofladderroute.
Jesus built us a bridge, with 2 boards and 3 nails.
- MasterMind
- Major
- Posts: 316
- Joined: Thu Jul 15, 2004 12:10 am
alrighty, i pretty much got my ladder to work, but i have one more question: my bots ONLY go through the ladder route if the first node of the ladder route is right next to them. How do i make it so that they go through the ladder route even when there far away from the first route node? do they only go through the route if they just so happen to run into the first node? or choose to go through the route from a distance away?
if you have any questions about my questions, jsut ask(i know, i can be confusing sometimes)
if you have any questions about my questions, jsut ask(i know, i can be confusing sometimes)
Jesus built us a bridge, with 2 boards and 3 nails.
You will need to make a routelist . What you do is instead of giveing your camper node for example the $route key use the $routelist key then make your list like this
level.routelist[my_first_list] = "route1"::"route2"::"route3"
so instead of the camper node haveing the key:$route value:Sroute1 it will have the key:$routelist value:$my_first_list
The $ in front of the value means that the value is a string just like the # if front of a value means a number . level.routelist[my_first_list] is an array of routes so separate each item with :: and use " around the items as they are strings . Also more than 1 node can use that routelist or the routes as well for example if in the same area you have a sniper node you can set the same routelist key for it too .
level.routelist[my_first_list] = "route1"::"route2"::"route3"
so instead of the camper node haveing the key:$route value:Sroute1 it will have the key:$routelist value:$my_first_list
The $ in front of the value means that the value is a string just like the # if front of a value means a number . level.routelist[my_first_list] is an array of routes so separate each item with :: and use " around the items as they are strings . Also more than 1 node can use that routelist or the routes as well for example if in the same area you have a sniper node you can set the same routelist key for it too .
- MasterMind
- Major
- Posts: 316
- Joined: Thu Jul 15, 2004 12:10 am
- MasterMind
- Major
- Posts: 316
- Joined: Thu Jul 15, 2004 12:10 am
MasterMind wrote:ok thx,![]()
do bots only go through routes if the route is right next to them?
the bots follow the routes or route liste you gived , you can increase the possibillty to spawn by change weight.
like this.
//<-------------------SNIPER Ladder-------------------->
level.obj_model[62] = spawn script_origin
level.obj_model[62].targetname = so13
level.obj_model[62].origin = ( 2473.394 -787.937 128.875 )
level.obj_model[62].angles = ( 0.000 0.000 0.000 )
level.obj_model[62].set = 0
//<------------------------------------------------------------->
level.obj_model[63] = spawn info_pathnode
level.obj_model[63].targetname = sniper
level.obj_model[63].origin = ( 2805.981 -787.123 128.135 )
level.obj_model[63].angles = ( 0.000 270.000 0.000 )
level.obj_model[63].target = so13
level.obj_model[63].tag = NIL
level.obj_model[63].noaxis = 1
level.obj_model[63].noallies = 0
level.obj_model[63].weight = 3.000
level.obj_model[63].nocrouch = 0
level.obj_model[63].set = 5
level.obj_model[63].route = weg2
//<------------------------------------------------------------->
www.mohaaclantb.tk
Take a look to our server we add bots to more than 120 maps and we never stop
Server IP 91.194.236.203:12207


Take a look to our server we add bots to more than 120 maps and we never stop
Server IP 91.194.236.203:12207


If a bot is assigned the task to goto a camper node for example and the script sends him to one he will use the route or routelist set on that camper node . The camper node would have the route or routelist key set that is the $name value set on a route node or the name of a routelist array . The weight is for decideing what task to do or which camper node to use if that is the task picked . JV would know which it is .


