gametechmods
Robot Arena => General Support => Topic started by: Natster-104 on February 21, 2014, 05:01:11 AM
-
I've been using Paranoia's ai pack for DSL 3 but, cause it's in beta, it's uncomplete. I've really wanted to make my own ai for Dsl 3 but there are a few problems: My robot's weapons won't fire and they won't srimech, could somebody tell me where I have gone wrong? it will be a massive help :smile:
-
You really need to post these issues in the Tech Support area of the forum rather than Off Topic - RA2 is the topic of the forum :P
But yeah, try following this
https://gametechmods.com/uploads/files/8459AI-Chart-2.3.rar (https://gametechmods.com/uploads/files/8459AI-Chart-2.3.rar)
Philetbabe's extensive guide is what taught me and many others.
-
You know you're stuff ;) I'm still getting to grips with the stuff on here. Thanks again for you're help :smile:
-
I was just wondering, how do you find out the weapon's name?
-
What do you mean?
-
list.append( ("Siberian Slinger", "Omni", { 'nose' : math.pi, 'radius':0.1, 'topspeed' : 99.0, 'turnspeed': 3.5, 'weapons': (8,) }) )
How do I find out that?
-
You don't actually need to worry about that as such, all that does is stop the weapon moving if it's not there. Most AIers ignore it, as long as the weapon works.
-
Ok but in the bindings,do I have to change something to make the weapon fire?
This is the bot I tried to make
list.append( ("Hanky Panky", "Flipper", { 'topspeed' : 20.0, 'weapons': (15,) }) )
Or has it got to do with another file?
-
Well to start with you'll probably want to remove all the spaces, I don't think RA2 is too fond of them.
Secondly, you need the other values you see in all AI lines, turnspeed and radius.
Have you also wired the robot correctly in the botlab? (Naming the controls LeftRight, Forward and Flip as well as adding a smart zone?)
-
Yup I've added all the smartzones, Programming etc and it drives normally, just won't use its weapons :/
-
Did you name the smartzone correctly?
-
Yup but I was looking at some examples Paranoia made but he had renamed it differently, I'm not sure whether it's to do with the burstmotor because even if it didn't have a smartzone, it should still srimech
-
Maybe try using Omni instead and renaming the Flip to Fire and the smartzone to weapon.
-
Ok I'll try that
-
Still won't flip
-
Send the bot to me in a personal message along with your AI line for it, I'll take a look when I can.
-
I will, have you got DSL3?
-
Who dosent?
-
Good point :)