gametechmods
Robot Arena => General Support => Topic started by: Natster-104 on July 26, 2014, 06:54:43 AM
-
When trying to Ai mechadino's bot for the last one standing, I ai'd it, and it works, but it doesn't fire it's weaponry
Bot Shot:
(https://gametechmods.com/uploads/images/55018AI help.png)
Bindings:
list.append(("Crystal","Poker",{'invertible':True,'radius':0.05,'topspeed':99,'throttle':130,'turn':40,'turnspeed':1.5}))
Any help?
-
What is the smartzone named?
-
What did you call the Smartzone?
Edit: YOU TIT.
-
weapon
-
Could you send me the bot so I can see what the problem is?
-
Is the button actually wired up to fire?
Could you send me the bot so I can see what the problem is?
-
Could you send me the bot so I can see what the problem is?
Yeah sure, as soon as I find my power pack x(Is the button actually wired up to fire?
Yes
-
Could you send me the bot too? I am intrigued as to why this isn't working.
-
Could you send me the bot too? I am intrigued as to why this isn't working.
Sure
-
You need a 'weapons' thing in bindings for the bot to use a weapon, so just put ,'weapons':(0,) in before the closing wiggly bracket after turnspeed and it'll work.
-
You need a 'weapons' thing in bindings for the bot to use a weapon, so just put ,'weapons':(0,) in before the closing wiggly bracket after turnspeed and it'll work.
Ah, I see, thanks a bunch Craaig
-
You need a 'weapons' thing in bindings for the bot to use a weapon, so just put ,'weapons':(0,) in before the closing wiggly bracket after turnspeed and it'll work.
Oh yeah, I never noticed that. Yeah, the bot needs to recognize that it has a weapon through the bindings or else it won't bother to fire a weapon it doesn't know it has.
-
tried it, and now my game won't even load or boot up
-
Your binding should be
list.append(("Crystal","Poker",{'invertible':True,'radius':0.05,'topspeed':99,'throttle':130,'turn':40,'turnspeed':1.5,'weapons':(0,)}))
-
Nope, the games buggered up, let me restart my computer
-
list.append(("Crystal","Poker",{'invertible':True,'radius':0.05,'topspeed':99,'throttle':130,'turn':40,'turnspeed':1.5,'weapons':(0,)}))
Does your line of AI look like this? If so (and still doesn't work), try to match the number of weapons Crystal has with the number of weapons listed.
-
Matching the number of weapons will make no difference to the game loading/crashing. In fact, the only difference having the correct numbers there makes is if all the weapon id's listed have been torn off of the bot, the weapon will stop firing.
If that correct binding isn't working and the game is crashing, there's a different issue.
-
No, you don't understand, it's broken, it gets to the infogrames loading screen, and goes:
Robot arena 2 has stopped working
so somethings busted, probably not the bindings though
-
Did you change anything in the AI Team folders, or any other binding lines? Worth checking.
-
What I don't get is, you said that your game crashed shortly after you made the change when it wasn't crashing before... Did you make any other changes, apart from the Crystal bindings? Incorrect bindings doesn't make your RA2 crash immediately.
Did you change anything in the AI Team folders, or any other binding lines? Worth checking.
Basically what he said.
-
added an image, and changed the teams.txt,but thats about it
-
What did you change in the teams.txt?
-
From my experience, if the game crashes on load-up that means the bindings have a comma or something hiding somewhere out of place, or the teams.txt hasn't been written properly.
-
The names of the teams and the picture
Heres my ai folder:
-
DP
From my experience, if the game crashes on load-up that means the bindings have a comma or something hiding somewhere out of place, or the teams.txt hasn't been written properly.
hmm, I'll look into it
-
I imagine it's the space in Tournament banner.bmp.
Rename it to Tournament_banner.bmp and change the teams.txt accordingly.
EDIT: It could equally be that you've got a capital B in the teams.txt and not the file, so fix both.
-
What Craaig said.
-
Nope, still doesn't work,
I think I might need to get a new stock game :dumb)
-
list.append(("Crystal","Poker",{'invertible':True,'radius':0.05,'topspeed':99,'throttle':130,'turn':40,'turnspeed':1.5,'weapons':(0,)}))
list.append(("Praetorian","Omni",{'topspeed':99,'throttle':130,'range':99,'weapons':(1,2,3,4,5,6,7,8)}))9
list.append(("Alien Queen","Omni",{'topspeed':99,'throttle':130,'range':25,'weapons':(1,2,3,4,5,6,7,8,9,10)}))
What's the 9 doing at the end of Praetorian's line?
-
I'm pretty sure that will be the problem.
From my experience, if the game crashes on load-up that means the bindings have a comma or something hiding somewhere out of place.
-
Same here. At least we managed to iron out more problems in the process.
-
list.append(("Crystal","Poker",{'invertible':True,'radius':0.05,'topspeed':99,'throttle':130,'turn':40,'turnspeed':1.5,'weapons':(0,)}))
list.append(("Praetorian","Omni",{'topspeed':99,'throttle':130,'range':99,'weapons':(1,2,3,4,5,6,7,8)}))9
list.append(("Alien Queen","Omni",{'topspeed':99,'throttle':130,'range':25,'weapons':(1,2,3,4,5,6,7,8,9,10)}))
What's the 9 doing at the end of Praetorian's line?
No idea, must have been an accident, but it works now! :D
-
:bigsmile:
-
You have to thank Craaig and his keen eyes.
-
I do, very much so, thanks a lot craaig
-
Good job AI-ing, but you could have asked 09' for the bindings he used for Tusslers 4.
-
Good job AI-ing, but you could have asked 09' for the bindings he used for Tusslers 4.
Yes but that would have prolonged SBV as it would have probably have taken a while for 09 to get back to me,
Also, off topic, Beetle Bashers? :P
-
there is an AI thread somewhere, why not use it