Author Topic: Flat robots and changing weight...  (Read 6157 times)

Offline WhamettNuht

  • *
  • Posts: 1302
  • Rep: 12
  • Robot Building Drag Queen
    • View Profile
    • Awards
  • Discord: WhamettNuht #1457
Flat robots and changing weight...
« on: October 26, 2008, 06:23:15 AM »
Hi all
Im currently working on a new Roaming Robots AI-Pack.
Im having some trouble with Whirlpool.
1-How do you make a robot as flat as possible (I know about the slider on the side, but i want him to be flatter)
2-He's in at middleweight, and i noticed that the stock SaberTooth is a middleweight, but he is acctuatly a heavyweight!
How do you make a robot lighter with out getting rid of components. (I want him to be lightweight)
Thanks all!
Matt
Damn I should probably put something fancy in this bit huh?

Offline Condor33

  • Super Heavyweight
  • Posts: 903
  • Rep: 0
  • Alpha One
    • View Profile
    • Awards
Flat robots and changing weight...
« Reply #1 on: October 26, 2008, 07:10:10 AM »
You know how if you push the slider down as far as it can go, and then keep pulling, the top of the robot vibrates? Well, the faster you pull down the harder it vibrates, except there's a limit to how fast you can go. However, you can use this to kind of "bounce" your chassis to be even flatter.
Avoid the beam and you won't get hit!

Clash Cubes 2 Grand Champion--Xenophobik Resurrektion
Winner of the RAW favorite bot award--Humdrums

Offline Urjak

  • *
  • Posts: 2753
  • Rep: 6
  • Shell Spinner King
    • http://www.youtube.com/wa
    • View Profile
    • Awards
Flat robots and changing weight...
« Reply #2 on: October 26, 2008, 10:29:09 AM »
If you put the slider at the very top, then press the VERY bottom, the slider will go pretty much as low as it can get.
Any comments would be appreciated. :D

Offline Clickbeetle

  • *
  • Posts: 3375
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Flat robots and changing weight...
« Reply #3 on: October 26, 2008, 03:06:25 PM »
Or you can do it how I made Tornado Mer and Ruiner ultra-flat in DSL.

Open up the .bot file in Notepad++ or some sort of hex editor (XVI32 is another one).

Right after the name is "Class: x" where x=0 (LW), 1 (MW), 2 (HW), or 19658784 (None).  That's easy enough to change to make your bot a different weight class.

Changing the height is a bit trickier.  It's easiest if you first make the bot as flat as possible in the bot lab (just click the bottommost pixel of the height slider).  If you do that, then the height of the bot SHOULD be 0.338182.  If it is, then you can just do a Find/Replace and replace all instances of "0.338182" with "0.25" or whatever you want the new height to be.

Note that you can't do this in regular Notepad.  If you do, it will corrupt the .bot file and it won't work anymore.  You need a hex editor to edit the file safely.

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings

Offline WhamettNuht

  • *
  • Posts: 1302
  • Rep: 12
  • Robot Building Drag Queen
    • View Profile
    • Awards
  • Discord: WhamettNuht #1457
Flat robots and changing weight...
« Reply #4 on: October 27, 2008, 03:27:30 PM »
I will try that, when my computer virus is fixed.
All of my programmes have been wiped off, even my internet.
On my dads Laptop.
Warning to you all, on Hamachi, beware of hahaha, he gave me a virus.
Just wanring you all.
Now i know why when i tried to edit one of my old robots bot files to lower the weight, everything went weird!
When i lower the weight, will my bot be faster?
Damn I should probably put something fancy in this bit huh?

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Flat robots and changing weight...
« Reply #5 on: October 27, 2008, 03:32:48 PM »
Quote from: WhamettNuht;18961
When i lower the weight, will my bot be faster?

Yes, and this is common sense.

No, seriously, even a n00b (that you aren't) won't dare to ask that

EDIT: and i proved it with Newton's 2nd law.

Offline System32

  • *
  • Posts: 4663
  • Rep: 4
  • Reality
    • View Profile
    • Awards
Flat robots and changing weight...
« Reply #6 on: October 27, 2008, 03:45:50 PM »
Yes, but at the cost of health.
Put this onto your signature if you were part of this crappy fad in '03.

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Flat robots and changing weight...
« Reply #7 on: October 27, 2008, 03:56:07 PM »
Quote from: System32;18964
Yes, but at the cost of health.


Yep. The smaller the chassis, the weaker it is.

Offline Madiaba

Flat robots and changing weight...
« Reply #8 on: October 27, 2008, 04:21:12 PM »
Wham, some more detail. Use Notepad++. Make BU.
 
If your bot is 'square', then it will look like this at the beginning of the bot file (All of this is the display mesh [around line 20]):
4
600 400
600 600
400 600
400 400
4
600 400
600 600
400 600
400 400
0.138182 12
true
 
It describes 2 sets of 4 vertices (top and bottom), and the location of each vertex.
The 0.138182 is the display height.
 
So,
1. Copy this number.
2. Put the cursor back above this section in the bot file.
3. Choose 'Replace' under the Search menu.
4. Paste in this number.
5. Type in the new number (height) you want it changed to.
6. Replace all (as CB said).
7. Save file.
 
Then Import the moded bot back into the workshop. Open and wala!
Shrimp.bot.
« Last Edit: October 27, 2008, 05:18:49 PM by Madiaba »
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

Offline WhamettNuht

  • *
  • Posts: 1302
  • Rep: 12
  • Robot Building Drag Queen
    • View Profile
    • Awards
  • Discord: WhamettNuht #1457
Flat robots and changing weight...
« Reply #9 on: October 27, 2008, 06:22:54 PM »
Im not a n00b!
I was just wondering, thats all.
And what if my robot has more than 4 sides?
And, by the way, i have a habit of correcting people generally, its Voi-La, not wala (Sorry, had to get that out of my system!)
Damn I should probably put something fancy in this bit huh?

Offline Madiaba

Flat robots and changing weight...
« Reply #10 on: October 27, 2008, 07:39:05 PM »
Quote from: WhamettNuht;18988
And what if my robot has more than 4 sides?
Here Wham, this is a round bot with 15 vertices(points). Since you're not a noob you can figure out the right number, and then repeat the process described above. (Hint: Look right above the "true".)
15
0 500
44 296
166 128
346 24
553 2
751 66
905 206
990 396
990 603
905 793
750 933
553 997
346 975
166 871
44 703
15
0 500
44 296
166 128
346 24
553 2
751 66
905 206
990 396
990 603
905 793
750 933
553 997
346 975
166 871
44 703
0.6 56
true

--------------
Quote from: WhamettNuht;18988
And, by the way, i have a habit of correcting people generally, its Voi-La, not wala
[/COLOR][/COLOR]It depends where your from, Wham.:ermm: ...I happen to know a few languages myself.
 
..
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

Offline WhamettNuht

  • *
  • Posts: 1302
  • Rep: 12
  • Robot Building Drag Queen
    • View Profile
    • Awards
  • Discord: WhamettNuht #1457
Flat robots and changing weight...
« Reply #11 on: October 28, 2008, 04:36:35 AM »
Orly?
Im just learning the 2, French at school, and Portuguise in my spare time!
Damn I should probably put something fancy in this bit huh?

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Flat robots and changing weight...
« Reply #12 on: October 28, 2008, 05:34:18 AM »
For being precise it's Voilà. If i remember well, English doesn't use stresses like we have (é,è,à...)

Offline Madiaba

Flat robots and changing weight...
« Reply #13 on: October 28, 2008, 08:55:06 AM »
Wham, I'm not a 'flamer' per say. But it seems your more interested in correcting american slang, than the coding I'm trying to help you with. So you can do it yourself. Most others here are more prone to appreciate the help.
 
 
FYI: I happen to know some French, as some here can attest; including much of Latin from which voir is derived (videre). Oh my, did you notice; the French changed the word from the correct Latin. Well words change as they spread to different cultures (etymology). But as long as you relieved yourself and 'got it out of your system', then I hope you feel better. And while your looking up original root words and meanings,you might check the definition of a Freudian term "anal-retentive", where sometimes we focus on one-little-thing while missing the over-all picture.
« Last Edit: October 28, 2008, 03:32:32 PM by Madiaba »
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

Offline ACAMS

Flat robots and changing weight...
« Reply #14 on: October 28, 2008, 09:10:29 AM »
I know french......I used to watch Pepé Le Pew all the time.

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Flat robots and changing weight...
« Reply #15 on: October 28, 2008, 10:23:20 AM »
Quote from: ACAMS;19020
I know french......I used to watch Pepé Le Pew all the time.


ORLY?

Show us then:-D

Offline ACAMS

Flat robots and changing weight...
« Reply #16 on: October 28, 2008, 10:31:52 AM »

 
 

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Flat robots and changing weight...
« Reply #17 on: October 28, 2008, 10:41:52 AM »
C'est tout?

(is that all?)

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
Flat robots and changing weight...
« Reply #18 on: October 28, 2008, 10:42:04 AM »
It's:

Voilà.

Period.
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
Flat robots and changing weight...
« Reply #19 on: October 28, 2008, 10:43:20 AM »
Quote from: Naryar;19029
C'est tout?

(is that all?)


Oui, c'est tout. T'es francais?
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org