Add More Models past 30

More
24 Feb 2013 17:16 #6969 by clearprop88
Add More Models past 30 was created by clearprop88
How do I add more Models past the 30 default limit?

Please Log in or Create an account to join the conversation.

More
24 Feb 2013 17:19 #6971 by Hexperience
Replied by Hexperience on topic Add More Models past 30
Did you try copying the default.ini to model31.ini model32,ini etc?

There are 10 types of people in this world. Those that understand binary and those that don't.

Please Log in or Create an account to join the conversation.

More
24 Feb 2013 17:19 #6972 by PhracturedBlue
Replied by PhracturedBlue on topic Add More Models past 30
just create more model##.ini files in the 'models' dir on your tx (copy the default.ini to model31.ini, etc)
You need to go in order, but shouldn't have any issue going to 99. 255 is the final limit but there may be some code preventing you from getting there right now.

Please Log in or Create an account to join the conversation.

More
24 Feb 2013 19:28 #6979 by clearprop88
Replied by clearprop88 on topic Add More Models past 30
Thanks. That worked.

I also tried an experiment to see if I could create a block of model files.
I copied model21 through 30 into a temp folder, and renamed them model 31 through 40, and then copied them into the model folder. That worked fine.

It's a bit time comsuming.
Is there an easier way to do it?

Please Log in or Create an account to join the conversation.

More
24 Feb 2013 19:38 - 24 Feb 2013 21:39 #6980 by flyguy
Replied by flyguy on topic Add More Models past 30
as a quick workaround, try a batchscript like the attached one.

edit: i can't attach files, don't know why, here is the code (only useful in windows, just save it as .bat file, then move it to the models-directory and execute there):
@echo off

for /l %%x in (31, 1, 99) do (
   copy default.ini model%%x.ini
)
Last edit: 24 Feb 2013 21:39 by flyguy.

Please Log in or Create an account to join the conversation.

More
24 Feb 2013 20:29 - 24 Feb 2013 20:35 #6987 by clearprop88
Replied by clearprop88 on topic Add More Models past 30
Thanks flyguy.
That worked like a charm.
I had a model heli programmed into model1 when I first used the .bat file, so it copied that model heli into all the new files.
I went back, and copied the default file into model1, ran the .bat file, and it worked fine, so all the new files are default files.

I'm not up on my .bat files. I haven't used them in a long time.
If I replace "model1" with "default" in the .bat file would that work to copy the default file into all the new files?
Last edit: 24 Feb 2013 20:35 by clearprop88.

Please Log in or Create an account to join the conversation.

More
24 Feb 2013 20:48 #6990 by Hexperience
Replied by Hexperience on topic Add More Models past 30
Yep. Thats the better way to do it.

There are 10 types of people in this world. Those that understand binary and those that don't.

Please Log in or Create an account to join the conversation.

More
24 Feb 2013 21:37 - 24 Feb 2013 21:38 #6996 by flyguy
Replied by flyguy on topic Add More Models past 30
oh thats much better of course. i just hacked that together in a minute :) ... i will edit the code snippet for the others.
Last edit: 24 Feb 2013 21:38 by flyguy.

Please Log in or Create an account to join the conversation.

Time to create page: 0.032 seconds
Powered by Kunena Forum