gametechmods

Robot Arena => General Support => Topic started by: Natster-104 on February 21, 2014, 05:01:11 AM

Title: DSL 3 ai help
Post 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:
Title: Re: DSL 3 ai help
Post by: cephalopod on February 21, 2014, 05:06:13 AM
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.
Title: Re: DSL 3 ai help
Post by: Natster-104 on February 21, 2014, 05:08:10 AM
You know you're stuff ;) I'm still getting to grips with the stuff on here. Thanks again for you're help  :smile:
Title: Re: DSL 3 ai help
Post by: Natster-104 on February 21, 2014, 05:35:35 AM
I was just wondering, how do you find out the weapon's name?
Title: Re: DSL 3 ai help
Post by: cephalopod on February 21, 2014, 05:47:29 AM
What do you mean?
Title: Re: DSL 3 ai help
Post by: Natster-104 on February 21, 2014, 05:49:31 AM
 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?
Title: Re: DSL 3 ai help
Post by: cephalopod on February 21, 2014, 05:51:48 AM
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.
Title: Re: DSL 3 ai help
Post by: Natster-104 on February 21, 2014, 05:56:19 AM
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?
Title: Re: DSL 3 ai help
Post by: cephalopod on February 21, 2014, 05:58:48 AM
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?)
Title: Re: DSL 3 ai help
Post by: Natster-104 on February 21, 2014, 06:01:27 AM
Yup I've added all the smartzones, Programming etc and it drives normally, just won't use its weapons :/
Title: Re: DSL 3 ai help
Post by: cephalopod on February 21, 2014, 06:03:57 AM
Did you name the smartzone correctly?
Title: Re: DSL 3 ai help
Post by: Natster-104 on February 21, 2014, 06:07:17 AM
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
Title: Re: DSL 3 ai help
Post by: cephalopod on February 21, 2014, 06:12:41 AM
Maybe try using Omni instead and renaming the Flip to Fire and the smartzone to weapon.
Title: Re: DSL 3 ai help
Post by: Natster-104 on February 21, 2014, 06:14:25 AM
Ok I'll try that
Title: Re: DSL 3 ai help
Post by: Natster-104 on February 21, 2014, 06:27:44 AM
Still won't flip
Title: Re: DSL 3 ai help
Post by: cephalopod on February 21, 2014, 06:30:29 AM
Send the bot to me in a personal message along with your AI line for it, I'll take a look when I can.
Title: Re: DSL 3 ai help
Post by: Natster-104 on February 21, 2014, 06:32:42 AM
I will, have you got DSL3?
Title: Re: DSL 3 ai help
Post by: Avalanche on February 21, 2014, 09:59:14 AM
Who dosent?
Title: Re: DSL 3 ai help
Post by: Natster-104 on February 21, 2014, 10:00:51 AM
Good point :)