gametechmods

Robot Arena => Tutorials and Tips => Topic started by: kix on January 20, 2019, 01:44:26 PM

Title: Making OBJ bots
Post by: kix on January 20, 2019, 01:44:26 PM
Note: I don't mean disrespect to Badnik and his OBJ tutorial, but i can still see a lot of people asking on how to build OBJ bots, so here we go!
In this tutorial i will be showing you how to make a bot using 3d modeling software and importing it to RA2
First of all you will need:
Sketchup online program - app.sketchup.com/app (http://app.sketchup.com/app)
NOTE: Any other modeling program works, its just that i'm used to Sketchup
Blender - https://www.blender.org (https://www.blender.org)
OBJ2RA2 - https://gametechmods.com/forums/downloads/?sa=view;down=320 (https://gametechmods.com/forums/downloads/?sa=view;down=320)
Now that we have all the necesarry stuff, lets make a bot!


DESIGNING A BOT:


Here is a simple design i kinda based off lucky
(https://cdn.discordapp.com/attachments/514931284825604100/536538942418190366/unknown.png)
You can make whatever you want, but this it what i chose because it is gonna be easy to explain some stuff on it
So first of all what you need to know:
BLUE IS BAD
(https://cdn.discordapp.com/attachments/514931284825604100/536540238034763776/unknown.png)
Parts that i've selected are not gonna be displayed in ra2. Blue colour means that the mesh is inverted. For Bots like this one that has a dedicated "hole" for flipper its bad because you will have a mesh the bottom of the bot, and empty on the other side
To fix it, you cant simply reverse faces because:
(https://cdn.discordapp.com/attachments/514931284825604100/536541296974757898/unknown.png)
The outside is now inverted. To fix that you need to make a new layer inside. So basically just draw a new layer on it
You can either draw it like this: (simple, only need to add a layer on middle)
(https://cdn.discordapp.com/attachments/514931284825604100/536549778528665622/unknown.png)
Or this: (more complex, also need to add layer on more places)
(https://cdn.discordapp.com/attachments/514931284825604100/536550376376369173/unknown.png)
After you are done, go to
(https://cdn.discordapp.com/attachments/514931284825604100/536550660867489802/unknown.png)
And export as STL.


EDITING IN BLENDER:


After you launched Blender, get rid of that box
Import the model
(https://cdn.discordapp.com/attachments/514931284825604100/536621494319710219/unknown.png)
After you load the bot you might see that the bot is not on the grid
(https://cdn.discordapp.com/attachments/514931284825604100/536626400871055371/unknown.png)
To fix that, just set geometry to origin
(https://cdn.discordapp.com/attachments/514931284825604100/536626965126447124/unknown.png)
Chances are it is pretty much oversized
To shrink it down, just select the Scale option (or press s on keyboard), and scale it down.
Best width size would be around 1 block from the middle (you can go a bit bigger or a bit smaller)
(https://cdn.discordapp.com/attachments/514931284825604100/536627939954130949/unknown.png)
After you scaled it, time to change the mode to edit mode
(https://cdn.discordapp.com/attachments/514931284825604100/536628532860813345/unknown.png)
First of all, you need to UV the model. Go to mesh, and UV Unwrap and Smart UV Project
(https://cdn.discordapp.com/attachments/514931284825604100/536629127499874306/unknown.png)
Press OK
(https://cdn.discordapp.com/attachments/514931284825604100/536629416231567389/unknown.png)
So UV Mapping is done
Now you need to:
A. Recalculate normals to be outside
(https://cdn.discordapp.com/attachments/514931284825604100/536629685552021534/unknown.png)
B. Triangluate Faces
(https://cdn.discordapp.com/attachments/514931284825604100/536630079870992394/unknown.png)
That is pretty much it! If you dont select either of them, bot wont show up in RA2
All you need to do now, is to export the bot as OBJ and youre done with blender
(https://cdn.discordapp.com/attachments/514931284825604100/536630784052953088/unknown.png)
After exporting, you will get OBJ file.


CONVERTING THE BOT FOR RA2:


Drag obj file into OBJ2RA2
(https://cdn.discordapp.com/attachments/514931284825604100/536631132020539396/unknown.png)
NOTE: If a bot has over 86 faces Control board hit (basically that part where the bot sparks before it dies) game crashes (thanks geese for clarifying that)
Like share and subscribe
Drag the newly converted bot file into the folder, and test it in ra2
And there we go!
(https://cdn.discordapp.com/attachments/514931284825604100/536631960458493953/unknown.png)
Like share and subscribe
Title: Re: Making OBJ bots
Post by: Reier on January 20, 2019, 03:13:21 PM
very useful.
Title: Re: Making OBJ bots
Post by: 09090901 on January 20, 2019, 07:52:26 PM
you should've said that 86+ faces can cause the game to crash if a bot takes a control board hit. technically you can make bots for show over the face limit, but youre kind of giving people the wrong message that's gonna make tournaments even more of a hassle to run
Title: Re: Making OBJ bots
Post by: kix on January 20, 2019, 07:53:29 PM
you should've said that 86+ faces causes the game to crash if a bot takes a control board hit. technically you can make bots for show over the face limit, but youre kind of giving people the wrong message that's gonna make tournaments even more of a hassle to run
Huh i didnt actually know that, will update it to include that, danke
Title: Re: Making OBJ bots
Post by: Redalert on January 21, 2019, 06:56:20 AM
Clever, but is it... cheating?
Title: Re: Making OBJ bots
Post by: Hoppin on January 21, 2019, 06:57:15 AM
Clever, but is it... cheating?

It would depend on meta. OBJ is commonly used in the IRL meta
Title: Re: Making OBJ bots
Post by: Redalert on January 21, 2019, 07:04:26 AM
IRL, I can see, but it’s so easy to make the armor invincible, so in that case, it’s...cheating.

In showcases, though, it’s a great idea. Tournaments and exhibitions, though, cheating again.
Title: Re: Making OBJ bots
Post by: TheOrcCorp on January 21, 2019, 07:06:18 AM
IRL, I can see, but it’s so easy to make the armor invincible, so in that case, it’s...cheating.

In showcases, though, it’s a great idea. Tournaments and exhibitions, though, cheating again.
You hardly know anything about the game yet act like you're some smartass. Sit down.
Title: Re: Making OBJ bots
Post by: Redalert on January 21, 2019, 07:08:22 AM
IRL, I can see, but it’s so easy to make the armor invincible, so in that case, it’s...cheating.

In showcases, though, it’s a great idea. Tournaments and exhibitions, though, cheating again.
You hardly know anything about the game yet act like you're some smartass. Sit down.

I don’t try to act like a knoy-it-all. But when you’re watching a over eighteen matches a day in RA2, you get familiar with the pros and cons of components.
Title: Re: Making OBJ bots
Post by: kix on January 21, 2019, 07:17:11 AM
IRL, I can see, but it’s so easy to make the armor invincible, so in that case, it’s...cheating.

In showcases, though, it’s a great idea. Tournaments and exhibitions, though, cheating again.
You hardly know anything about the game yet act like you're some smartass. Sit down.

I don’t try to act like a knoy-it-all. But when you’re watching a over eighteen matches a day in RA2, you get familiar with the pros and cons of components.
He hosts a tournament with 100+ matches, i think he knows more than you. You also posted something totally unnecessary on this thread. You better shut up or ill personally ask hop to ban you
 
Also lul invincible armour. That doesn't exist in ra2
Title: Re: Making OBJ bots
Post by: TheOrcCorp on January 21, 2019, 07:25:47 AM
IRL, I can see, but it’s so easy to make the armor invincible, so in that case, it’s...cheating.

In showcases, though, it’s a great idea. Tournaments and exhibitions, though, cheating again.
You hardly know anything about the game yet act like you're some smartass. Sit down.

I don’t try to act like a knoy-it-all. But when you’re watching a over eighteen matches a day in RA2, you get familiar with the pros and cons of components.
He hosts a tournament with 100+ matches, i think he knows more than you. You also posted something totally unnecessary on this thread. You better shut up or ill personally ask hop to ban you
 
Also lul invincible armour. That doesn't exist in ra2
There's been quite a few OBJ bots in Orc's Wars, none of them have been "invincible" or "cheating". Kix, Badnik, Tashic are just some of the few I know who have used OBJ to make a unique chassis and have not cheated with them. Again, this shows what little you know RedAlert.
Title: Re: Making OBJ bots
Post by: Redalert on January 21, 2019, 07:29:17 AM
I don't know that I have THAT little knowledge, but I know you guys are way more experienced than I am.

back on topic, please.
Title: Re: Making OBJ bots
Post by: superbomb122 on January 21, 2019, 07:58:19 AM
I don't know that I have THAT little knowledge, but I know you guys are way more experienced than I am.

back on topic, please.
Invincible armor is impossible in RA2 to my knowledge. OBJ is simply a way to create chassis shapes that are not possible in normal RA2. To my knowledge, it generates the chassis with DSA (which sucks in DSL).

Also, if you want things to stay on topic, maybe you shouldn't derail the conversation in the first place. From now on, "Back on topic" means "I know I'm wrong but I won't admit it so instead I will try to change the subject to hide how wrong I am."


Also, thanks for the tutorial kix.
Title: Re: Making OBJ bots
Post by: Redalert on January 21, 2019, 08:03:41 AM
I don't know that I have THAT little knowledge, but I know you guys are way more experienced than I am.

back on topic, please.
Invincible armor is impossible in RA2 to my knowledge. OBJ is simply a way to create chassis shapes that are not possible in normal RA2. To my knowledge, it generates the chassis with DSA (which sucks in DSL).

Also, if you want things to stay on topic, maybe you shouldn't derail the conversation in the first place. From now on, "Back on topic" means "I know I'm wrong but I won't admit it so instead I will try to change the subject to hide how wrong I am."


Also, thanks for the tutorial kix.

It is possible to make invincible armor. Simply program the bot file to have 9999999999 armor.
Title: Re: Making OBJ bots
Post by: Hoppin on January 21, 2019, 08:12:58 AM
Right putting an end to this.

OBJ is ok in the IRL scene, it isnt cheating.
Invincible armour isnt possible, but editing values to reach ridiculously high armour values are, this also can be done on regular chassis, which is cheating.
RedAlert, please think about the information you are presenting and the accuracy of said information before posting, this would go along way in helping not only you but who you're giving feedback for.
The rest of you, I would appreciate less hostile responses and if you feel like you need to, just notify me of any of these kinds of situations.


Title: Re: Making OBJ bots
Post by: Redalert on January 21, 2019, 10:13:17 AM
Right putting an end to this.

OBJ is ok in the IRL scene, it isnt cheating.
Invincible armour isnt possible, but editing values to reach ridiculously high armour values are, this also can be done on regular chassis, which is cheating.
RedAlert, please think about the information you are presenting and the accuracy of said information before posting, this would go along way in helping not only you but who you're giving feedback for.
The rest of you, I would appreciate less hostile responses and if you feel like you need to, just notify me of any of these kinds of situations.

Got ‘it.