Author Topic: DSL 3 ai help  (Read 1460 times)

Offline Natster-104

  • Ultra Heavyweight
  • Posts: 1406
  • Rep: 6
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • Skype: natster-104
DSL 3 ai help
« 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:

Offline cephalopod

Re: DSL 3 ai help
« Reply #1 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
Philetbabe's extensive guide is what taught me and many others.
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline Natster-104

  • Ultra Heavyweight
  • Posts: 1406
  • Rep: 6
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • Skype: natster-104
Re: DSL 3 ai help
« Reply #2 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:

Offline Natster-104

  • Ultra Heavyweight
  • Posts: 1406
  • Rep: 6
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • Skype: natster-104
Re: DSL 3 ai help
« Reply #3 on: February 21, 2014, 05:35:35 AM »
I was just wondering, how do you find out the weapon's name?

Offline cephalopod

Re: DSL 3 ai help
« Reply #4 on: February 21, 2014, 05:47:29 AM »
What do you mean?
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline Natster-104

  • Ultra Heavyweight
  • Posts: 1406
  • Rep: 6
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • Skype: natster-104
Re: DSL 3 ai help
« Reply #5 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?

Offline cephalopod

Re: DSL 3 ai help
« Reply #6 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.
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline Natster-104

  • Ultra Heavyweight
  • Posts: 1406
  • Rep: 6
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • Skype: natster-104
Re: DSL 3 ai help
« Reply #7 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?

Offline cephalopod

Re: DSL 3 ai help
« Reply #8 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?)
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline Natster-104

  • Ultra Heavyweight
  • Posts: 1406
  • Rep: 6
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • Skype: natster-104
Re: DSL 3 ai help
« Reply #9 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 :/

Offline cephalopod

Re: DSL 3 ai help
« Reply #10 on: February 21, 2014, 06:03:57 AM »
Did you name the smartzone correctly?
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline Natster-104

  • Ultra Heavyweight
  • Posts: 1406
  • Rep: 6
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • Skype: natster-104
Re: DSL 3 ai help
« Reply #11 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

Offline cephalopod

Re: DSL 3 ai help
« Reply #12 on: February 21, 2014, 06:12:41 AM »
Maybe try using Omni instead and renaming the Flip to Fire and the smartzone to weapon.
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline Natster-104

  • Ultra Heavyweight
  • Posts: 1406
  • Rep: 6
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • Skype: natster-104
Re: DSL 3 ai help
« Reply #13 on: February 21, 2014, 06:14:25 AM »
Ok I'll try that

Offline Natster-104

  • Ultra Heavyweight
  • Posts: 1406
  • Rep: 6
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • Skype: natster-104
Re: DSL 3 ai help
« Reply #14 on: February 21, 2014, 06:27:44 AM »
Still won't flip

Offline cephalopod

Re: DSL 3 ai help
« Reply #15 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.
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline Natster-104

  • Ultra Heavyweight
  • Posts: 1406
  • Rep: 6
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • Skype: natster-104
Re: DSL 3 ai help
« Reply #16 on: February 21, 2014, 06:32:42 AM »
I will, have you got DSL3?

Offline Avalanche

  • Retired.
  • Ultra Heavyweight
  • Posts: 3107
  • Rep: -34
  • Yeah, I don't know why I'm still here either.
    • View Profile
    • Awards
  • Discord: ThePootisPower#8377
Re: DSL 3 ai help
« Reply #17 on: February 21, 2014, 09:59:14 AM »
Who dosent?
Former DSL HW champion.
Runner-Up in The Cybernetic Colosseum HW division.
Semi-finalist in RNP: Sword of Glory.
Robogames 1 BW Runner-up.
Professional cunt.
Man of a thousand alt accounts.

Offline Natster-104

  • Ultra Heavyweight
  • Posts: 1406
  • Rep: 6
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • Skype: natster-104
Re: DSL 3 ai help
« Reply #18 on: February 21, 2014, 10:00:51 AM »
Good point :)