gametechmods

Robot Arena => Discussion => Topic started by: Viper89 on December 24, 2009, 11:06:03 AM

Title: Need Help With A1'ing
Post by: Viper89 on December 24, 2009, 11:06:03 AM
I'm ready to enter the values in the Binding, their is just one problem how do you edit .py files????
Title: Re: Need Help With A1'ing
Post by: G.K. on December 24, 2009, 11:13:03 AM
Open them with notepad, notepad ++ or python itself.
Title: Re: Need Help With A1'ing
Post by: Viper89 on December 24, 2009, 11:16:15 AM
Open them with notepad, notepad ++ or python itself.

k thanks, I'm going to try python first.
Title: Re: Need Help With A1'ing
Post by: Viper89 on December 24, 2009, 11:31:29 AM
well it looks like I have to use note pad because everytime I try opening the.py file with python a black screen appears for a sec and then nothing happens???
Title: Re: Need Help With A1'ing
Post by: G.K. on December 24, 2009, 11:37:25 AM
I had that trouble too. You need to use IDLE (Python GUI) that should also be in the folder. IDK if you have vista but it appears in the start menu/program files if you have it:

(https://gametechmods.com/uploads/images/28136IDLE.jpg)
Title: Re: Need Help With A1'ing
Post by: Viper89 on December 24, 2009, 11:58:46 AM
I had that trouble too. You need to use IDLE (Python GUI) that should also be in the folder. IDK if you have vista but it appears in the start menu/program files if you have it:

(https://gametechmods.com/uploads/images/28136IDLE.jpg)

Ok, Ya I do have vista. I think I'm just gonna use notepad though :D.
Title: Re: Need Help With A1'ing
Post by: G.K. on December 24, 2009, 12:02:21 PM
Ok
Title: Re: Need Help With A1'ing
Post by: Madiaba on December 24, 2009, 12:13:05 PM
Right click on the the py doc, then choose 'Open with IDLE'...
Python is much better...
Title: Re: Need Help With A1'ing
Post by: Viper89 on December 24, 2009, 12:21:16 PM
Ok I'm almost done, I rename the bot to BOT0 put it in the the Team folder I wanted, edited FBS_2 and then put that into the Ai folder, now I'm on the Binding and at last part that says weapons. Their are number values I have no idea what these mean??? Could some one tell me the number value of Iron Spikes :smile: .
Title: Re: Need Help With A1'ing
Post by: G.K. on December 24, 2009, 12:24:01 PM
Do you have apanx's bot exporter? Download it and open your bot in it. Then find all of your weapons, and put the numbers next to them in the brackets in the bindings.

Like this: (https://gametechmods.com/uploads/images/19550like thuis.jpg)

Take those numbers and put them in the bindings. Obviously it won't be those numbers, but the ones from your bot.
Title: Re: Need Help With A1'ing
Post by: G.K. on December 24, 2009, 12:29:20 PM
And for more help, the AI chart made by Mad, Phil, Goose, Click, SC and apanx is very useful: https://gametechmods.com/uploads/files/AI-Chart-2.3.rar
Title: Re: Need Help With A1'ing
Post by: Viper89 on December 24, 2009, 12:33:29 PM
@GK I just read for basic .Py the weapons number don't really matter, So could I just plug in Iron Spaghetti weapon values? Edit: also I don't know where to find apanx's bot exporter.Edit : NVM I found it :D
Title: Re: Need Help With A1'ing
Post by: Viper89 on December 24, 2009, 12:46:31 PM
@GK I just read for basic .Py the weapons number don't really matter, So could I just plug in Iron Spaghetti weapon values? Edit: also I don't know where to find apanx's bot exporter.Edit : NVM I found it :D

When I run Exporter I get this: MSCOMCTL.OSX is missing or not registered????
Title: Re: Need Help With A1'ing
Post by: G.K. on December 24, 2009, 12:54:29 PM
Unfortunately, I've no idea about that, as it worked straight off for me.

The numbers don't matter, as long as you have the right amount of them.
Title: Re: Need Help With A1'ing
Post by: Viper89 on December 24, 2009, 12:59:56 PM
Unfortunately, I've no idea about that, as it worked straight off for me.

The numbers don't matter, as long as you have the right amount of them.

Well I just copy IP's values. I ran the game I seen my bot I entered V.S a computer but every time I go into a match the camera view is always looking at the ceiling so I can't see whats happening???? How do I change the camera view in the game?
Title: Re: Need Help With A1'ing
Post by: G.K. on December 24, 2009, 01:01:05 PM
Press F2, F3 and F4 to cycle through different camera options. I think F10 is also a camera.
Title: Re: Need Help With A1'ing
Post by: Viper89 on December 24, 2009, 01:07:33 PM
@GK thanks so much for your Help, I actually first try at AI'ing got it to work exactly how I wanted the bot to function :evilsmile: . Now just doing trial runs against different bot types.
Title: Re: Need Help With A1'ing
Post by: G.K. on December 24, 2009, 01:08:06 PM
No problem Viper.