gametechmods
Robot Arena => Discussion => Topic started by: goose on October 30, 2009, 03:37:03 AM
-
A list of custom components
What I need is:
1. the component txt file; found in either the components folder or the components cfz file. NOT the gmf.
2. the weight of that component, which in most cases can be found in the component txt file, or in the game.
3 The name of the component.
4. the link to the download zip of the component/pack
in this format:
component name, componenttextfile.txt, weight, download link
if its a single component please list them like this:
Mini CO2 Airtank, a5099air.txt, 55*, https://gametechmods.com/Robot_Arena2...o2_airtank.zip (https://gametechmods.com/forums/../Robot_Arena2/Components/A5099s_mini_co2_airtank.zip)
Blue Bird, bluebird1.txt, 66*, https://gametechmods.com/Robot_Arena2.../blue_bird.zip (https://gametechmods.com/forums/../Robot_Arena2/Components/blue_bird.zip)
If its a pack like this:
Dark Pack 1 (https://gametechmods.com/Robot_Arena2...pack_v1.0.exe- (https://gametechmods.com/forums/../Robot_Arena2/Components/Darkpack_v1.0.exe-))
component name, componenttextfile.txt, weight
component name 2, componenttextfile2.txt, weight
What I need this for:
I will make is so when uploading bots to the exchange you will not to do anything but give the bot file. The script will calculate the bot weight and extract the bot preview image automagicly. It will also provide a list of required downloads on the download page.
people who help will be given the following:
-early access to the bot exchange
-name put on the credits page
-I will have your babies?
people who don't:
will have ads on the exchange, maybe.
List of Done components/packs:
1.Stock.(thanks acams)
2. Darkpack v3(thanks Craaig)
3. DSL (thanks acams)
4. Firebeetles Component Pack( thanks JoeBlo)
5. Alphaisim Part Set(thanks trumpetguy)
6.Lu-Tze's Component Pack v1.9(thanks H@zm47)
Complete Example:
Lu-Tze's Component Pack v1.9 (https://gametechmods.com/Robot_Ar...ponents1.9.exe)
Beltdrive Motor, lt_beltdrive1.txt, 30
Balance Caster, lt_caster1.txt, 6
Chainsaw, lt_chainsaw.txt, 8
Large Crossbow, lt_crossbow.txt, 65
Windoze Desktop Cannon, lt_desktop.txt, 30
Lightweight Mauling Disc, lt_disk.txt, 15
Spinner Drum, lt_drum.txt, 10
Double Axle Motor, lt_dxmotor.txt, 40
Micro Flamer, lt_flamer.txt, 36
Flame Poker Spike, lt_fspike.txt, 14
Hazard Blade, lt_hazardblade.txt, 18
Hex Plate, lt_hex1.txt, 5
Metal Hinge, lt_hinge.txt, 12
Carbon Kevlar Sheet, lt_kevplate.txt, 15
Bloody Great Lance, lt_lance.txt, 35
Light Sabre, lt_litesabre.txt, 6
Micro Cannon, lt_mcan.txt, 35
Cold Fusion Reactor, lt_reactor.txt, 100
Cold Fusion Reactor Exhaust Catcher, lt_reactorex.txt, 100
Tank Tracks, lt_tanktrak.txt, 20
Tuff Weapon Motor, lt_tuffmotor.txt, 20
Microshot Windoze PC, lt_winpc.txt, 8
You can use THIS UPLOADER (https://gametechmods.com/?do=textuploader) for your text files
notice: this post has been updated for clarity.
-
I have a feeling I know what it is for... (and possibly why ACAMS had a similar question (https://gametechmods.com/forums/showthread.php?t=2427))
Anyways, a couple quick questions:
1. What do you want done when multiple packs include the same components (such as DSL-Components&AI and DSL-Components or between versions)
2. What custom components are you wanting? (GTM Downloads Section, RFSHQ Downloads Section, Member Signatures, Member Sites (such as Giga's site))
3. Who plans on helping? (my time is more limited than before so I can't be counted on for everything (although, I will volunteer some help))
Anyone wanting to help (but not wanting to make a list) can use the info that I gave in ACAMS thread to make a list in Goose's format.
-
Thanks Trov.
as for everyone else:tongue:
-
Thanks for the appreciation.
Anyways, here is another Batch file that will make doing this a lot easier:
(Copy this into a file named "TextFilePrinter2.bat")
::Author - Trovaner
::Description - Makes a list of RA2 component names, files, and weights
::What To Do -
:: 1. Put this in the same folder as the RA2 component text files
:: 2. Double click this batch file
:: 3. Copy and paste (or save) the results somewhere else
:: 4. Complete the formatting listed here: https://gametechmods.com/forums/showthread.php?t=2714
:: 5. Reply to the above thread with your results
for %%a in (*.txt) do (set file= %%a & call :Create "%%a")
goto Complete
:Create
for /F "tokens=*" %%b in (%file%) do set %%b
echo %name :~1%,%file:~0,-1%,%mass % >> TextFileList.tmp
goto :EOF
:Complete
::Pause
START /w NOTEPAD.EXE TextFileList.tmp
del TextFileList.tmp
Now all you really need to do is write the name of the pack and where to download it (following the format Goose gave in his first post). It now automatically opens the file where it stored the list, deletes automatically after closing out of notepad, looks inside of the text files for the desired information, formats things better, and got quite a bit more complicated.
@Goose: Whenever you have time, could you answer the questions in my previous post.
@Everyone Else: Please post if you want to help out. Before doing anything, please post whatever you plan on doing so that no one else does it. I'm still very busy so I'm not going to request any sections yet but I might do something later... (but like I'm trying to get you guys to do, I'll post what it is before starting)
-
1.Just do the latest version of the pack.
2.Do any pack you can find, I want a comprehensive list of ALL parts, if possible.
nice batch file. ;)
I guess Trov is the only one that wants access to the bot exchange...
-
i would help but i have no idea what to do.
are you just wanting a list if the names of the components like for example the d1 components pack.
the first is d1_blade so.
blade.gmf
next is d1_bumper so.
bumper1.gmf
bumper2.gmf.
if that is what you mean i could help most of the time as i never have anything to do so i could do that.
if not then i dont know if i could help.
-
https://gametechmods.com/uploads/files/AU_Power_Pack_1.zip (https://gametechmods.com/uploads/files/AU_Power_Pack_1.zip)
This is the AU power pack
AU burst https://gametechmods.com/Goose/Text_Files/auburst_txt.txt (https://gametechmods.com/Goose/Text_Files/auburst_txt.txt) weight 55
AU Spin https://gametechmods.com/Goose/Text_Files/ztekAU.txt.txt (https://gametechmods.com/Goose/Text_Files/ztekAU.txt.txt) weight 65
-
What packs do you want to have. I'll see if I can scrounge some time this weekend.
-
is it the gmf files in a zip.
if so ill give you alot if you want.
-
odd, I could have swore I posted a response, guess it did not go through...
What I need is:
1. the component txt file; found in either the components folder or the components cfz file. NOT the gmf.
2. the weight of that component, which in most cases can be found in the component txt file, or in the game.
3 The name of the component.
4. the link to the download zip of the component/pack
if its a single component please list them like this:
Mini CO2 Airtank, a5099air.txt, 55*, https://gametechmods.com/Robot_Arena2...o2_airtank.zip (https://gametechmods.com/forums/../Robot_Arena2/Components/A5099s_mini_co2_airtank.zip)
Blue Bird, bluebird1.txt, 66*, https://gametechmods.com/Robot_Arena2.../blue_bird.zip (https://gametechmods.com/forums/../Robot_Arena2/Components/blue_bird.zip)
If its a pack like this:
Dark Pack 1 (https://gametechmods.com/Robot_Arena2...pack_v1.0.exe- (https://gametechmods.com/forums/../Robot_Arena2/Components/Darkpack_v1.0.exe-))
component name, componenttextfile.txt, weight
component name 2, componenttextfile2.txt, weight
What I need this for:
I will make is so when uploading bots to the exchange you will not to do anything but give the bot file. The script will calculate the bot weight and extract the bot preview image automagicly. It will also provide a list of required downloads on the download page.
people who help will be given the following:
-early access to the bot exchange
-name put on the credits page
-I will have your babies?
people who don't:
will have ads on the exchange, maybe.
-
I will provide you with all the Backlash Components once I finish balancing all the values (which will be a little longer away)
I can do all the CC2 prize components if you like
-
This is going to take forever if we get all the existing components...
Why don't you make the bot exchange just for stock and DSL for now ?
-
.....
What I need this for:
I will make is so when uploading bots to the exchange you will not to do anything but give the bot file. The script will calculate the bot weight and extract the bot preview image automagicly.(Wow, nice.) It will also provide a list of required downloads on the download page. (Wow x5, very nice.)
people who help will be given the following:
-early access to the bot exchange
-name put on the credits page
-I will have your babies? (No, thanks, I'm done with babies, I'm a Mod on a couple forums)
people who don't:
will have a(i)ds on the exchange, maybe. (:eek:-->So we better help out!)
....
-
im spending my 3000th post on this, thats the extent of my dedication :P
what has already been done ? I can knock off some quickly as I have a game with just about everything on it as far as component packs go
-
This is going to take forever if we get all the existing components...
Why don't you make the bot exchange just for stock and DSL for now ?
Stock is the only thing done(thanks ACAMS), Someone do DSL 2.0
-
im never really up to something so ill be able to give a lot of stuff.
i might wait to do the weight of the robot as it would mean that i would have to install them all because i only have clean copies the now because my game kept messing up.
ill update post soon after digging out the files from hard drive and all the places they are hiding in.
-
Just did darkpack v3, hope its okay.
-
I will do DSL.....have it to you today.
-
Single packs
1467DYMO_Wheel_1
dymowheel1.txt
a5099s_soundchip
a5099sc.txt
sounds : taunt1,taunt2,taunt3,taunt4
b4btire
mudtire.txt
ballasthammer
ballasthammer1.txt
bluebird
bluebird1.txt
cherrypoint(CFL_s_spike)
cherrypoint.txt
stamper(CFLv_stamper)
stamper.txt
t_soundchip(CFLv_tchip)
t_soundchip.txt
CTC_bullhorn
bullhorn.txt
CTC_graptor
graptor.txt
CTC_long_battery
longbattery.txt
CTC_ntooth
ntooth.txt
ntooth0.txt
custom_zone
zonezone1.txt
zonezone2.txt
zonezone3.txt
Devils_Elbow_AntiBallast
DE_anti-Ballast.txt
DR_steelball
barrels.txt
steelball.txt
DV_Snow_burst
snow.txt
DV_SnowBurst_Plow
snow.txt
GSE_bigbrotherflipper
bigbrotherflipper.txt
bigbrotherflipper_txt.txt
GSE_psycohammer
psycohammer.txt
GSE_smallsheet
smallsheet.txt
GSE-hazardstyle_motor
hazardmotor1.txt
hazardmotor2.txt
hazardmotor3.txt
hazardmotor4.txt
hazardmotor6.txt
hazardmotor8.txt
hazardmotor42.txt
GSE_rotovator2
rotovator.txt
rotovator_txt.txt
GSE_universalX
universalX.txt
HX_custom_zone
zonezone1.txt
zonezone2.txt
zonezone3.txt
HX_hackerdisc2_4
hacker_disc1.txt
hacker_disc2.txt
hacker_disc3.txt
hacker_disc4.txt
sounds : hackerdisc_attach
hackerdisc_hit2
HPAngleMotor
anglemotor1e.txt
anglemotor2e.txt
HX_hazard_skirts
hazard_flipper.txt
JX_SKZ_nightmare_disc
nightdisc.txt
thats about half of the custom components that i have got.
i have more but i will do them later.
-
I wish I could help... but my knowledge with this stuff is not all that good.
As a cheerleader though, I will say thanks for working on this project! You guys are awesome.
-
Single packs
1467DYMO_Wheel_1
dymowheel1.txt
a5099s_soundchip
a5099sc.txt
sounds : taunt1,taunt2,taunt3,taunt4
b4btire
mudtire.txt
ballasthammer
ballasthammer1.txt
bluebird
bluebird1.txt
cherrypoint(CFL_s_spike)
cherrypoint.txt
stamper(CFLv_stamper)
stamper.txt
t_soundchip(CFLv_tchip)
t_soundchip.txt
CTC_bullhorn
bullhorn.txt
CTC_graptor
graptor.txt
CTC_long_battery
longbattery.txt
CTC_ntooth
ntooth.txt
ntooth0.txt
custom_zone
zonezone1.txt
zonezone2.txt
zonezone3.txt
Devils_Elbow_AntiBallast
DE_anti-Ballast.txt
DR_steelball
barrels.txt
steelball.txt
DV_Snow_burst
snow.txt
DV_SnowBurst_Plow
snow.txt
GSE_bigbrotherflipper
bigbrotherflipper.txt
bigbrotherflipper_txt.txt
GSE_psycohammer
psycohammer.txt
GSE_smallsheet
smallsheet.txt
GSE-hazardstyle_motor
hazardmotor1.txt
hazardmotor2.txt
hazardmotor3.txt
hazardmotor4.txt
hazardmotor6.txt
hazardmotor8.txt
hazardmotor42.txt
GSE_rotovator2
rotovator.txt
rotovator_txt.txt
GSE_universalX
universalX.txt
HX_custom_zone
zonezone1.txt
zonezone2.txt
zonezone3.txt
HX_hackerdisc2_4
hacker_disc1.txt
hacker_disc2.txt
hacker_disc3.txt
hacker_disc4.txt
sounds : hackerdisc_attach
hackerdisc_hit2
HPAngleMotor
anglemotor1e.txt
anglemotor2e.txt
HX_hazard_skirts
hazard_flipper.txt
JX_SKZ_nightmare_disc
nightdisc.txt
thats about half of the custom components that i have got.
i have more but i will do them later.
download link for all of them
https://gametechmods.com/uploads/files/91231467DYMO_Wheel_1.rar (https://gametechmods.com/uploads/files/91231467DYMO_Wheel_1.rar)
https://gametechmods.com/uploads/files/A5099s_mini_co2_airtank.zip (https://gametechmods.com/uploads/files/A5099s_mini_co2_airtank.zip)
https://gametechmods.com/uploads/files/4528angle_extender.rar (https://gametechmods.com/uploads/files/4528angle_extender.rar)
https://gametechmods.com/uploads/files/a5099s_soundchip.zip[/url
[url=https://gametechmods.com/uploads/files/B4B_wheel.zip]https://gametechmods.com/uploads/files/B4B_wheel.zip (https://gametechmods.com/uploads/files/a5099s_soundchip.zip)
https://gametechmods.com/uploads/files/ballasthammer.zip (https://gametechmods.com/uploads/files/ballasthammer.zip)
https://gametechmods.com/uploads/files/5353blue_bird.zip (https://gametechmods.com/uploads/files/5353blue_bird.zip)
https://gametechmods.com/uploads/files/CFlv_s_Spike.zip (https://gametechmods.com/uploads/files/CFlv_s_Spike.zip)
https://gametechmods.com/uploads/files/CFlv_stamper.zip (https://gametechmods.com/uploads/files/CFlv_stamper.zip)
https://gametechmods.com/uploads/files/CFlv_tchip.zip (https://gametechmods.com/uploads/files/CFlv_tchip.zip)
https://gametechmods.com/uploads/files/CTC_bullhorn.zip (https://gametechmods.com/uploads/files/CTC_bullhorn.zip)
https://gametechmods.com/uploads/files/CTC_graptor.zip (https://gametechmods.com/uploads/files/CTC_graptor.zip)
https://gametechmods.com/uploads/files/CTC_long_battery.zip (https://gametechmods.com/uploads/files/CTC_long_battery.zip)
https://gametechmods.com/uploads/files/CTC_ntooth.zip (https://gametechmods.com/uploads/files/CTC_ntooth.zip)
https://gametechmods.com/uploads/files/custom_zone.zip (https://gametechmods.com/uploads/files/custom_zone.zip)
https://gametechmods.com/uploads/files/Devils_Elbow_ AntiBallast.zip (https://gametechmods.com/uploads/files/Devils_Elbow_ AntiBallast.zip)
https://gametechmods.com/uploads/files/DV_Snow_burst.zip (https://gametechmods.com/uploads/files/DV_Snow_burst.zip)
https://gametechmods.com/uploads/files/DV_SnowBurst_Plow.zip (https://gametechmods.com/uploads/files/DV_SnowBurst_Plow.zip)
https://gametechmods.com/uploads/files/HamComponents.zip (https://gametechmods.com/uploads/files/HamComponents.zip)
https://gametechmods.com/uploads/files/HX_hazard_skirts.zip (https://gametechmods.com/uploads/files/HX_hazard_skirts.zip)
the GSE parts and HP angle motor aren't allowed uploaded because they are exe files and DR steelball because it is a ace but they are download able from the downloads section.
-
Oi, goose, what language are you developing this in? I can betatest / help with some code.
-
*very much shortened message*
I don't think that's totally what goose was asking for.
-
I don't think that's totally what goose was asking for.
He is right.....and DO NOT reupload something that is ALREADY uploaded......
-
well im sorry.
i wont be able to help with the bot exchange.
i was really wanting to help but turns out im useless.
once again im sorry.
-
Hmm.. I'll see what I can do...
-
has FB's component pack been done ? I could do that one?
-
FB's component pack
https://gametechmods.com/uploads/files/3883zbbudc.rar (https://gametechmods.com/uploads/files/3883zbbudc.rar)
-
so you already sent the info to goose ?
-
I have stock and darkpack3(thanks Craaig)
Everything should be posted in this thread. That way people will know what is done.
Serge- My goal is to make the backend purely using PHP. Currently it is proving to be a challenge to calculate chassis weight using PHP; so I may end up "cheating" and use python. At the moment I don't need any coding help; it's mostly the 'grunt' work like this that I need help with. If I do end up needing help Ill let you know, thanks.
ashman12 - you got a good amount of work done. All that needs to be changed is the format(re read my first post), the component weight, and a download link.
Everyone- Please don't re-upload components, just give the link to where they are on gametechmods.
-
FB's pack is on its way then
-
Firebeetles Component Pack http://beetlebros.gametechmods.com/files/zbbudc.zip
Acid Spike, acidspike.txt, 12kg
Spent Nuclear Fuel, barrel.txt, 1500kg
Biggie Burger, burger.txt, 20kg
Chicken Motor, chickenmotor.txt, 10kg
Cinder Block, cinderblock.txt, 25kg
Clown Head Bomb, clownhead.txt, 15kg
Traffic Cone, cone.txt, 6kg
Frigedy Motor, crusher.txt, 25kg
Earthquake Heavy Burst Motor, earthquake.txt, 38kg
El Tonno Eye, eteye.txt, 3kg
Fish, fish.txt 50kg
Refridgerator, fridge.txt, 300000kg
Fortified Extender, ft_extender 1.txt, 8kg
Zephyr Burst Piston, gale 1.txt, 30kg
Ghost Wedge, ghostwej.txt, 10kg
Sweet Tasty Grapes, grapecrate.txt, 40kg
Hammer Motor, hammermotor1.txt, 18kg
Infinity Burst Piston, infpistonburst.txt, 12kg
Fruit Punch, juice.txt, 5kg
Laser Rifle, laserrifle.txt, 22kg
Micro Motor, micromotor.txt, 10kg
Mini Laser, minilaser.txt, 10kg
Monster Wheel, mwheel.txt, 28kg
Neutron Star Piece, neutron.txt, 999999995904kg
Energy Spike, nrgspike_b1.txt, 0kg
Outside Mounted Battery, outbat.txt, 22kg
Mega Adapter, pboost.txt, 1kg
Crusher, realcrusher.txt, 34kg
Robo-Arm, roboarm.txt, 10kg
Rocket Wheel, rwheel.txt, 15kg
Sheet Wedge, sheetwej.txt, 10kg
Loudspeaker, speaker1.txt, 6kg
Mini Hovercraft Engine, stackhovercraft.txt, 10kg
Mini Magnet, stackmagnet.txt, 1kg
F300 Tornado Motor, superangle1e.txt, 21kg
Smart Zone Ballast, szballast.txt, 10kg
Wildfire Battery, wildfire.txt, 18kg
I will do the "styles" next :-D
-
Thanks for your hard work Goose. I can't wait to check out the new features. Some other time, I would be interested in hearing how you figured out how to calculate the number of units that make up the chassis.
Unfortunately, I have my reasons for not having time to help much. Even though, several large packs can be done in a matter a minutes with the batch file I made (I'm not trying to sound hypocritical here).
Just wondering: Is anyone using the batch I wrote? If not, why (compatibility/programming language, required effort, learning how to use it, untrustworthy source)? In my very limited time, I would like to fix/amend any problems in it so that this task is less burdensome on your guys' schedules and so that things are completed quickly and accurately (in both formatting and spelling) by more than just a couple of people.
Would you also like the chassis armors listed? If so, in what format? (aluminum, wood, steel, plastic, etc.)
-
Alphaisim Part Set:https://gametechmods.com/Robot_Arena2/Components/ALPSM_Parts_Set.zip
Bloodshot Eyeball, eyeball.txt, 15*
Plexiglass panel, PlexiScreen.txt, 15*
Pneumatic Burst Motor, pneumaticburst.txt, 30*
Small Motor - SP, smmotor.txt, 19*
Small Motor - HP, smmotor_hp, 19*
Small Motor - MEGA POWER, smmotor_xp, 19*
Steel Square Extender, st_extender1
Steel Square Extender (20 cm), st_extender2, 5*
Steel Square Extender (40 cm), st_extender3, 10*
Steel Square Extender (60 cm), st_extender4, 15*
Steel Square Extender (80 cm), st_extender5, 20*
Steel Square Extender (100 cm), st_extender6, 25*
Steel Square Extender (120 cm), st_extender7, 30*
I will do the styles and look for the weight for the ones not in the text later.
-
it may be best to check out the weights in game TG as the ones without weight in the text have it set in the GMF, from memory you can combine GMF weights and Text weights for components
-
Currently it is proving to be a challenge to calculate chassis weight using PHP.
Is the problem of algorithm nature, or just that you have no idea how to implement it in PHP? Have you tried looking through PyRA2's code?
-
I'm gonna do Lu-Tze's Component Pack if that's okay with everyone.
-
Should the Neutron Star Piece be 999999995904kg .....or -999999995904kg, just asking, but I thought it was antiballast.
-
No, there's also an antimatter neutron star piece. That's antiballast.
-
yeah that is the heavy matter one in the styles is the anti matter piece that is the anti ballast
-
Just wondering: Is anyone using the batch I wrote? If not, why (compatibility/programming language, required effort, learning how to use it, untrustworthy source)? In my very limited time, I would like to fix/amend any problems in it so that this task is less burdensome on your guys' schedules and so that things are completed quickly and accurately (in both formatting and spelling) by more than just a couple of people.
The only thing I see is that it has a space after componentname.txt
259Disc, 259disc.TXT , 45
It probably should be.... 259Disc, 259disc.TXT, 45
I guess goose needs to tell us if it will work with the space.
What do I do to fix it?
I thought it was this line..
echo %name : =%,%file%,%mass % >> TextFileList.tmp
so I changed it to..
echo %name: =%,%file%,%mass % >> TextFileList.tmp
it didn't work.....then I changed it to
echo %name :=%,%file%,%mass % >> TextFileList.tmp
and it didn't work.
-
Just wondering: Is anyone using the batch I wrote? If not, why (compatibility/programming language, required effort, learning how to use it, untrustworthy source)? In my very limited time, I would like to fix/amend any problems in it so that this task is less burdensome on your guys' schedules and so that things are completed quickly and accurately (in both formatting and spelling) by more than just a couple of people.
Would you also like the chassis armors listed? If so, in what format? (aluminum, wood, steel, plastic, etc.)
im not sure how to use it if its a .CFZ file.
ive tried it on other things aswell but sometimes it just brings up a blank page on the notepad like thing it brings up.
is it just because im useless at these sort of things or am i doing something wrong.
-
You need to put it in the folder with the text files and double click to run, after it runs and the file opens, save the file to your desktop as whatev.txt, because it deletes it's self when you close it.
-
what about the components that dont have txt files
-
Then you have to uncfl them (decompile the Components.cfz)
-
Oops... To remove the extra space after the text file name, replace this line in the batch file:
echo %name : =%,%file%,%mass % >> TextFileList.tmp
with this:
echo %name : =%, %file: =%,%mass % >> TextFileList.tmp
Thanks for the input. Any more problems?
Edit: Replace with this instead:
echo %name :~1%,%file:~0,-1%,%mass % >> TextFileList.tmp
-
Not that I can tell.....THANKS, it really helped a lot.
DSL is done! https://gametechmods.com/Goose/Text_Files/dsl.txt
I made this uploader to help out, and so goose will have one single folder for all his txt files.....but be sure to post the link here so he will know who did it.
**** https://gametechmods.com/?do=textuploader ****
There is a link on page 1 too.
-
Well now it does like this....
DSLAxleMounts,axle180.txt, 12
Should be...
DSL Axle Mounts, axle180.txt, 12
I have no clue what to do.
-
Oops, again.... I forgot that it had two spaces (and I told it to replace all spaces with nothing). I edited my previous post with the new fix. Thank you ACAMS for catching that.
Sorry about cluttering up your thread, Goose. If there are anymore issues/suggestions from anyone regarding the batch file please feel free to PM me about it.
-
Almost fixed it.....it still does not space the name
DSLAxleMounts, axle180.txt, 12
Should be..
DSL Axle Mounts
-
nice work! keep them coming guys!
the algorithm for calculating chassis weight is not the issue. RA2 calculates it by adding up the sum of the surface area of each polygon.
Creating a php function or class to do so is proving to be frustrating.
-
Guess I'm done with mine, that was actually fun, and is anybody doing the RFS pack?
-
nice work! keep them coming guys!
the algorithm for calculating chassis weight is not the issue. RA2 calculates it by adding up the sum of the surface area of each polygon.
Creating a php function or class to do so is proving to be frustrating.
Is the weight not written inside the .bot file? Probably not cause it sounds like something you guys would have checked, but sometimes the simplest solutions are the most overlooked...
-
I'mmmm baaaaaaaccccccccck oh and DP
RFS Pack 1 (can only find that): https://gametechmods.com/rfshq/pafiledb/index.php?act=download&id=96
CD-RW Disc, cdrw.txt, 1*
Fire Extinguisher, fireextinguish.txt, 25*
Hydraulic Burst Motor, hydraulicm.txt, 30*
RFS Labs-mobile License Plate, plate.txt, 20*
REDRUM, redrum.txt, 20*
Competiton Flag, robotarenaflag.txt, 7*
RoboUplink Side Panels, robouplink.txt, 20*
...wow...wierd stuff...
-
Is the weight not written inside the .bot file? Probably not cause it sounds like something you guys would have checked, but sometimes the simplest solutions are the most overlooked...
That would be nice.. Only the chassis dimensions, the armor, and the components.
-
Almost fixed it.....it still does not space the name
DSLAxleMounts, axle180.txt, 12
Should be..
DSL Axle Mounts
Okay, I think I figured out a solution for this. Simply replace the line that we keep replacing with this one:
echo %name :~1%,%file:~0,-1%,%mass % >> TextFileList.tmp
The only issues/improvements that I'm currently working on solving are:
1.It doesn't support text files that have a space in their filename... (it will still add it to the list but the name and weight will be wrong)
2.The styles folder currently needs to be done separately
3.You need to decompress CFZ files (I doubt I'll fix this but I might automatically load the decompresser)
4.If the weight is not listed in the text file, it will use the weight from the previous component (major issue)
-
nice work! keep them coming guys!
the algorithm for calculating chassis weight is not the issue. RA2 calculates it by adding up the sum of the surface area of each polygon.
Creating a php function or class to do so is proving to be frustrating.
If the polygons have 3 vertex coordinates that define them, shouldn't this be quite simple?
In a triangle ABC in 3d space:
(http://imgur.com/uc52o.gif)
P is the area of the triangle. Repeat for every mesh triangle. If they're quads, subdivide them.
Eh?
-
With Darkpack 3 done, does this mean that you won't need Darkpack 1, 1.1, or 2?
P.S. Im doing the icerparts.
-
Does anybody know if RFS released another pack?
-
The only issues/improvements that I'm currently working on solving are:
4.If the weight is not listed in the text file, it will use the weight from the previous component (major issue)
I just noticed this......that means I have to redo all I have done. (or atleast go through it and make the corrections)
Do you plan to find a fix for this soon?
-
I just noticed this......that means I have to redo all I have done. (or atleast go through it and make the corrections)
Do you plan to find a fix for this soon?
In the bot exchange admin there will be an area to modify the components info.
thanks serge, I think I got it covered now.
-
I probably shouldn't be up still but....
::Author - Trovaner
::Description - Makes a list of RA2 component names, files, and weights
::What To Do -
:: 1. Put this in the same folder as the RA2 component text files
:: 2. Double click this batch file
:: 3. Save the file or copy/paste it into something else
:: 4. Complete the formatting listed here: https://gametechmods.com/forums/showthread.php?t=2714
:: 5. Reply to the above thread with your results
for %%a in (*.txt) do (set file=%%a & call :CreateList "%%a")
if exist styles (for %%b in (styles/*.txt) do (set file=styles\%%b & call :CreateList "%%b"))
goto Complete
:CreateList
findstr mass %file%
if errorlevel 1 (
echo %file% >> Problems.tmp
goto :EOF
)
for /F "tokens=*" %%c in (%file%) do set %%c
set file=%file:styles\=%
echo %name :~1%, %file:~0,-1%,%mass % >> TextFileList.tmp
goto :EOF
:Complete
if exist Problems.tmp (
START /w NOTEPAD.EXE Problems.tmp
del Problems.tmp
)
START /w NOTEPAD.EXE TextFileList.tmp
del TextFileList.tmp
Just save it to whatever you want as long as the extension is ".bat"
This version prints out a separate file for all text files that cause errors or are missing values. It will also automatically add the styles folder to the main list.
-
it seems there's a big deal with the weight calculation.
- First idea is to parse the xx.bot, notice the components used, use a kind of database to retrieve the weight of each component, than calculate the chassis weight, sum all -> get the final weight ! this seems to be your path.
-second idea should have been to computer-drive RA2, load the bot in the lab and parse the standard output to get the calculated weight -> i've seen no way to make any 'free' revamping with RA2
-third idea should have been to modify the main.py (or another.py) so the uploader calls RA2 which load a bot, calculates the weight than exit before awaiting any user input. : I did not found anyway to force a bot loading par program.
remains a last idea : if you can't do it the simple way -> don't do it, let someone else do it for you : so the uploader will do nothing : this is the bot-sender responsibility to provide the weight: It may be done manually or by 'modifying' the practice arena that should deliver a textfile that gives bot weight (and any other information) . The bot-sender 'packs' its bots and the description file in a .zip. The uploader just verifies that both information are available (and may be in 'good format').
To my point of view, this last solution is the easiest one.
-
This version prints out a separate file for all text files that cause errors or are missing values. It will also automatically add the styles folder to the main list.
It would be a huge help if the error page would print..
Component Name, component.txt
-
First option. A component DB is not that hard to make, seriously, it's just another SQL table and a script to parse txt files and dump the data to that table.
-
A component data base on gametechmods would be nice, but all I can do is fill it and host it. Do we have a volunteer?
-
The ][cer Parts have no .txt files, so what do I do now?
-
has it got a .cfz. if it has decompile it.
-
A component data base on gametechmods would be nice, but all I can do is fill it and host it. Do we have a volunteer?
I can try to whip something up in PHP.
-
has it got a .cfz. if it has decompile it.
what decompiler should I use?
-
dont know.
would the make cfl/uncfl thing work.
-
https://gametechmods.com/Robot_Arena2/Tools/CFZ_Compiler.exe
-
Thanks 'CAMS.
-
so thatll be why i couldnt get it to work.
silly mee.
-
A component data base on gametechmods would be nice, but all I can do is fill it and host it. Do we have a volunteer?
Actually, Doing this for the botexchange will create a component database.
-
it would be cool if after the bot exchange tells you the components, go through a database and click on each individual component and it downloads it
-
it would be cool if after the bot exchange tells you the components, go through a database and click on each individual component and it downloads it
it will.
-
Lu-Tze's Component Pack v1.9 (https://gametechmods.com/Robot_Arena2/Components/LT_Components1.9.exe (https://gametechmods.com/Robot_Arena2/Components/LT_Components1.9.exe))
Beltdrive Motor, lt_beltdrive1.txt, 30kg
Balance Caster, lt_caster1.txt, 6kg
Chainsaw, lt_chainsaw.txt, 8kg
Large Crossbow, lt_crossbow.txt, 65kg
Windoze Desktop Cannon, lt_desktop.txt, 30kg
Lightweight Mauling Disc, lt_disk.txt, 15kg
Spinner Drum, lt_drum.txt, 10kg
Double Axle Motor, lt_dxmotor.txt, 40kg
Micro Flamer, lt_flamer.txt, 36kg
Flame Poker Spike, lt_fspike.txt, 14kg
Hazard Blade, lt_hazardblade.txt, 18kg
Hex Plate, lt_hex1.txt, 5kg
Metal Hinge, lt_hinge.txt, 12kg
Carbon Kevlar Sheet, lt_kevplate.txt, 15kg
Bloody Great Lance, lt_lance.txt, 35kg
Light Sabre, lt_litesabre.txt, 6kg
Micro Cannon, lt_mcan.txt, 35kg
Cold Fusion Reactor, lt_reactor.txt, 100kg
Cold Fusion Reactor Exhaust Catcher, lt_reactorex.txt, 100kg
Tank Tracks, lt_tanktrak.txt, 20kg
Tuff Weapon Motor, lt_tuffmotor.txt, 20kg
Microshot Windoze PC, lt_winpc.txt, 8kg
Styles coming soon.
-
it will.
I damn sure hope you'll release some sort of API for all of this.
-
BBEANS prizes - no link for these. If someone puts a bot with BBEANS prizes on the bot exchange, that's just mean.
Champion's Sword, champsword.txt, 40
Champion's Sword Hilt, styles/swordhilt.txt, 1
Stacked SuperVolt, stackvolt.txt, 60
Nifty 6V Battery/Control, stacknifty.txt, 16
Champion's Sword, champsworddsl.txt, 40
BBEANS Blade, bbeansblade.txt, 130.3
BBEANS Hammer, bbeansham.txt, 120
Armored Magmotor, bbeansmag.txt, 35
-
done with the AU power pack (ithink?!)
-
done with the AU power pack (ithink?!)
nope you did it wrong. you sent me this:
AU burst txt file https://gametechmods.com/Goose/Text_Files/auburst.txt weight 55 name AU burst
Ztek AU txt file https://gametechmods.com/Goose/Text_Files/ztekAU.txt weight 65 name Ztek AU
hole pack download https://gametechmods.com/uploads/file...wer_Pack_1.rar (https://gametechmods.com/uploads/files/AU_Power_Pack_1.rar)
sorry once again (i had trouble finding the txt files)
it needed lo look like this:
AU power pack(https://gametechmods.com/uploads/file...wer_Pack_1.rar)
AU Burst,auburst.txt,55
Ztek AU,ztekAU.txt,65
But you gave me a bad download link. you should give me the link that is already on GTM.
Thanks for trying to help, but you really dont get what I need.
-
I will do them all for you now that Trov made the text file printer (tho I wish the error with no weight would print "Component Name, Component.txt....instead of just plain ol Component.txt)
I am having to open the gmf of about half of DSL to get the weight, and type the component name too.
If you need something to work with I will send you files with incorrect weight.
-
Sorry for the delay, I've had this done for a while but I haven't had the time to post it until now...
This version lists what problem it ran into before listing everything that it was able to extract:
::Author - Trovaner
::Description - Makes a list of RA2 component names, files, and weights
::What To Do -
:: 1. Put this in the same folder as the RA2 component text files
:: 2. Double click this batch file
:: 3. Save the file or copy/paste it into something else
:: 4. Complete the formatting listed here: https://gametechmods.com/forums/showthread.php?t=2714
:: 5. Reply to the above thread with your results
for %%a in (*.txt) do (set file=%%a & call :Create "%%a")
if exist styles (for %%b in (styles/*.txt) do (set file=styles\%%b & call :Create "%%b"))
goto Complete
:Create
for /F "tokens=*" %%c in (%file%) do set %%c
findstr /b mass %file%
if errorlevel 1 (
findstr /b name %file%
if errorlevel 1 (
::Loaded if the file is not being loaded correctly or if it is not a component text file
set file=%file:styles\=%
echo FileError: %file% >> Problems.tmp
goto :EOF
)
::Loaded if the mass value is not listed in the text file
set file=%file:styles\=%
echo MassError: %name :~1%, %file:~0,-1% >> Problems.tmp
goto :EOF
)
::Loaded if there were no problems
set file=%file:styles\=%
echo %name :~1%, %file:~0,-1%,%mass % >> TextFileList.tmp
goto :EOF
:Complete
if exist Problems.tmp (
START /w NOTEPAD.EXE Problems.tmp
del Problems.tmp
)
START /w NOTEPAD.EXE TextFileList.tmp
del TextFileList.tmp
Or you could use this version if you would prefer not to have the error listed before the info (instead it is listed as the file name):
::Author - Trovaner
::Description - Makes a list of RA2 component names, files, and weights
::What To Do -
:: 1. Put this in the same folder as the RA2 component text files
:: 2. Double click this batch file
:: 3. Save the file or copy/paste it into something else
:: 4. Complete the formatting listed here: https://gametechmods.com/forums/showthread.php?t=2714
:: 5. Reply to the above thread with your results
for %%a in (*.txt) do (set file=%%a & call :Create "%%a")
if exist styles (for %%b in (styles/*.txt) do (set file=styles\%%b & call :Create "%%b"))
goto Complete
:Create
for /F "tokens=*" %%c in (%file%) do set %%c
findstr /b mass %file%
if errorlevel 1 (
findstr /b name %file%
if errorlevel 1 (
::Loaded if the file is not being loaded correctly or if it is not a component text file
set file=%file:styles\=%
echo %file% >> FileError.tmp
goto :EOF
)
::Loaded if the mass value is not listed in the text file
set file=%file:styles\=%
echo %name :~1%, %file:~0,-1% >> MassError.tmp
goto :EOF
)
::Loaded if there were no problems
set file=%file:styles\=%
echo %name :~1%, %file:~0,-1%,%mass % >> TextFileList.tmp
goto :EOF
:Complete
if exist MassError.tmp (
START /w NOTEPAD.EXE MassError.tmp
del MassError.tmp
)
if exist FileError.tmp (
START /w NOTEPAD.EXE FileError.tmp
del FileError.tmp
)
START /w NOTEPAD.EXE TextFileList.tmp
del TextFileList.tmp
-
I like the second one best, but it only does 7 lines in DSL then it does 17 error lines when there is about 300 components.
-
I damn sure hope you'll release some sort of API for all of this.
What kinda stuff would you want access to, and what kinda stuff would you want to do?
-
What kinda stuff would you want access to, and what kinda stuff would you want to do?
Mainyl the component database. Just a php script that gathers a GET rquest and throws an XML file with info about a component.
-
icerparts (https://gametechmods.com/Robot_Arena2/Components/icerparts.zip)
][cer AA 1.5v Battery, aabatt.txt, 1.5kg
][cer Bulldozer, bulldozer.txt, 35kg
Fedexrico's Magic Mushrooms (Green), magicmush0.txt, 25kg
Fedexrico's Magic Mushrooms (Red), magicmush1.txt, 23kg
Fedexrico's Magic Mushrooms (Violet), magicmush2.txt, 28kg
Fedexrico's Magic Mushrooms (Yellow), magicmush3.txt, 20 kg
Fedexrico's Magic Mushrooms (Blue), magicmush4.txt, 36kg
][cer Over-Kill Blade, overkillb.txt, 15kg
][cer Pole Extender SUPERstrength, pole1_ext.txt, 45kg
][cer Pole Extender (Regular), pole2_ext.txt, 38kg
][cer Metal-Ripper (Large), ripper.txt, 32kg
][cer Metal-Ripper (Medium), ripper2.txt, 25kg
][cer Metal-Ripper (Small), ripper3.txt, 18kg
][cer Spiked-Ramplate, spikeram.txt, 65kg
The Silver Slicer, sword.txt, 18kg
If there is something wrong with this or something missing just tell me and I'll fix it.
txt for what I just posted:https://gametechmods.com/Goose/Text_Files/Icerparts components.txt (https://gametechmods.com/Goose/Text_Files/Icerparts components.txt)
-
Sliders components.https://gametechmods.com/uploads/files/Sliders_Components.zip (https://gametechmods.com/uploads/files/Sliders_Components.zip)
pack 1 https://gametechmods.com/Goose/Text_Files/Slider Components pack 1.txt (https://gametechmods.com/Goose/Text_Files/Slider Components pack 1.txt)
HexPlate, hexplate.txt , 15
Li-IonBatteryPack, lionbatt1.txt , 12
Liquid-CooledMotor, liquidcooledmotor.txt , 23
Propeller, propeller.txt , 26
GoldenSpikedBall, spikeball1.txt , 15/20/25
StingerBurstPiston, stingerburstpiston1.txt , 33
StingerLinearActuator, stingerlinear_actuator1.txt , 34
StingerServoPiston, stingerservopiston1.txt , 33
pack 2 https://gametechmods.com/Goose/Text_Files/Slider Components pack 2.txt (https://gametechmods.com/Goose/Text_Files/Slider Components pack 2.txt)
Bat, bat1.txt , 20/15/10
BrokenBottle, bottle.txt , 6
Dual-AxleSpinMotor, dualaxle1.txt ,40
VariousHammers, hammers.txt , 10/10/12/12
LooseHinge, loosehinge.txt , 6
LargePadlock, padlock.txt , 8
SpiderAxe, spideraxe.txt , 20
SpiderRamplate, spiderplate1.txt ,10/10/12
Uruk-HaiBlade, urukblade.txt , 13
Megabytes components https://gametechmods.com/uploads/files/MB_Components2.zip (https://gametechmods.com/uploads/files/MB_Components2.zip)
txt https://gametechmods.com/Goose/Text_Files/1162Megabytes components.txt (https://gametechmods.com/Goose/Text_Files/1162Megabytes components.txt)
ServoMotorchangedintoBurstMotor, burst_servo.txt , 22
SnapperIIBurstmotorHackedintoSpinmotor, hackedburst.txt , 13
RCCarMotor, rc.txt , 11
both of sliders component packs are in the one zip.
tell me if i have uploaded it wrong.
-
Anybody seen Trov lately?
-
He was online for a few minutes yesterday, but I don't think he posted anything.
-
http://www.robotcombatgames.com/botexchange.php
(http://i465.photobucket.com/albums/rr12/HammettSHREDZ/fuuuuuu.jpg)
-
http://www.robotcombatgames.com/botexchange.php
Bahaha! :lol:
-
Anybody seen Trov lately?
I've been visiting the forums everyday but haven't said much... I've been very busy lately but it looks like I'll have more time next week...
In regards to the batch file, I ran into several issues related to the DSL components. For those interested in what needs to be fixed:
1. Anything with parenthesis in the component name is currently causing an error that stops the batch file.
2. One component had a capital "M" for the "mass" setting (I need to make sure that RA2 isn't being case sensitive, too)
-
This time I tested it with DSL and did not get any major problems. AlthoughI still need to look into problem #2 (listed in previous post), this version should work.
::Author - Trovaner
::Description - Makes a list of RA2 component names, files, and weights
for %%a in (*.txt) do (set file=%%a & call :Create "%%a")
if exist styles (for %%b in (styles/*.txt) do (set file=styles\%%b & call :Create "%%b"))
goto Complete
:Create
for /F "tokens=*" %%c in (%file%) do set %%c
findstr /b mass %file%
if errorlevel 1 (
findstr /b name %file%
if errorlevel 1 (
::Loaded if the file is not being loaded correctly or if it is not a component text file
set file=%file:styles\=%
echo "%file:~0,-1%" >> FileError.tmp
goto :EOF
)
::Loaded if the mass value is not listed in the text file
set file=%file:styles\=%
echo "%name :~1%", "%file:~0,-1%", >> MassError.tmp
goto :EOF
)
::Loaded if there were no problems
set file=%file:styles\=%
echo "%name :~1%", "%file:~0,-1%",%mass % >> TextFileList.tmp
goto :EOF
:Complete
if exist FileError.tmp (
START /w NOTEPAD.EXE FileError.tmp
del FileError.tmp
)
if exist MassError.tmp (
START /w NOTEPAD.EXE MassError.tmp
del MassError.tmp
)
START /w NOTEPAD.EXE TextFileList.tmp
del TextFileList.tmp
-
Was my notepad file good or not?
-
Yes, it was....THANKS
So was the one H@zm47 did. I will put them all togather along with the ones I have and get them to goose as one big set.
-
OK just making sure.
Thanks ACAMS.
-
Here's the BBEANS Stock AI (http://beetlebros.gametechmods.com/files/bbeans_ai.rar (http://beetlebros.gametechmods.com/files/bbeans_ai.rar))
Stacked SuperVolt, stackvolt.txt, 60
Nifty 6V Battery/Control, stacknifty.txt, 16
Spinner from the west, sftw.txt, 243.2
Here's a .txt: https://gametechmods.com/Goose/Text_Files/stockbbeansai.txt
(I know Click already posted the two batteries, but this contains a link to them)