Re: How to change RADAR_SCAN_RADIUS to a value lower than 1200 pixels?
fnl <[email protected]> Tue, 7 Jul 2015 14:13:34 -0700 (PDT)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
Yes, it should be enough just to change the Rules.RADAR_SCAN_RADIUS to e.g. 500 or some other value. You'll need to re-compile the Rules.class and put this into the [robocode directory]/libs/robocode.jar file, inside the /robocode folder of the robocode.jar file. You can do this with e.g. the 7-zip tool or similar, as a .jar file is actually an extended .zip file. :-) You can also build Robocode using the Developers Guide for Building Robocode and use mvnassembly, and then install robocode from /robocode.distribution/target/robocode-setup-1.9.4.2.jar. Cheers, - Flemming Den onsdag den 1. juli 2015 kl. 19.25.41 UTC+2 skrev NPS: > > Hi folks! > > > I'm trying to find a solution of how to change the radar scan radius > robot's property to a value lower than 1200 pixels. I think one of those > solutions would be change RADAR_SCAN_RADIUS constant from Rules Class. Is > it possible? If yes, how can I proceed? > > > > Thanks! > -- You received this message because you are subscribed to the Google Groups "robocode" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.