Author Topic: A little Object Copying Program  (Read 580 times)

Offline Linux_gene3

  • Zinc Member
  • *
  • Posts: 19
      • None
A little Object Copying Program
« on: January 13, 2002, 09:17:33 PM »
Okay, after finally getting back onto the Fourm after Lossing my old account for chad. I had to resignup with Linux_gene3.

Okay, last night i was doing some brige building, and I decided not to worry about editing 20 Objects to be placed onto each other making a support for the brige. Normaly I made the brige 1000 feet into the air, so i was not going edit 125 objects that really stood only 8 feet apart from each other. So this is what i did that lovely night. Well sitting in my room, i started editing away at the .OBJ Groups and found i could easly make a program were by YOU put in the Object you want to be Duplicated over and over again at such a high, alt, width, and also rotation. It works by simply doing the calcuations for you. So infact last night, after doing the finaly lines to the code. I tested the program out copyied the output code from the program into the .OBJ File. went into the aces high editor and pasted the Group Objects into the program. It worked, i was quite happy with it. You have never seen 125 objects stacked onto each other to make a single long rod.

My qestion is do you guys really want it.

Chad out.

Offline steely07

  • Silver Member
  • ****
  • Posts: 1842
A little Object Copying Program
« Reply #1 on: January 13, 2002, 09:48:19 PM »
Gimme a look :) ?
Aces High, Wing Commander, Dickweed Heavy Bomber Group: www.dickweedhbg.com

FSO Films : https://www.youtube.com/channel/UCFs6CAXBQoVBctljybD65fA?view_as=subscriber

Offline Linux_gene3

  • Zinc Member
  • *
  • Posts: 19
      • None
A little Object Copying Program
« Reply #2 on: January 15, 2002, 08:46:46 AM »
PLEASE rename Attached file to .exe i had to rename it to .zip to uploaded it.


OKAY its FINISHED

This is the first beta stage project that i have done.

These data is here

F04V0D02,BG400,18.139,4,-14.917,0.0000,1.5708,0.0000,1280,2,0,-1.00,-1.0,-1,2,0,0
F04V0D03,BG400,18.139,8,-14.917,0.0000,1.5708,0.0000,1280,2,0,-1.00,-1.0,-1,3,0,0
F04V0D04,BG400,18.139,12,-14.917,0.0000,1.5708,0.0000,1280,2,0,-1.00,-1.0,-1,4,0,0
F04V0D05,BG400,18.139,16,-14.917,0.0000,1.5708,0.0000,1280,2,0,-1.00,-1.0,-1,5,0,0
F04V0D06,BG400,18.139,20,-14.917,0.0000,1.5708,0.0000,1280,2,0,-1.00,-1.0,-1,6,0,0
F04V0D07,BG400,18.139,24,-14.917,0.0000,1.5708,0.0000,1280,2,0,-1.00,-1.0,-1,7,0,0
F04V0D08,BG400,18.139,28,-14.917,0.0000,1.5708,0.0000,1280,2,0,-1.00,-1.0,-1,8,0,0
F04V0D09,BG400,18.139,32,-14.917,0.0000,1.5708,0.0000,1280,2,0,-1.00,-1.0,-1,9,0,0
F04V0D010,BG400,18.139,36,-14.917,0.0000,1.5708,0.0000,1280,2,0,-1.00,-1.0,-1,10,0,0
F04V0D011,BG400,18.139,40,-14.917,0.0000,1.5708,0.0000,1280,2,0,-1.00,-1.0,-1,11,0,0
F04V0D012,BG400,18.139,44,-14.917,0.0000,1.5708,0.0000,1280,2,0,-1.00,-1.0,-1,12,0,0

-------------------
what does the program do?

Okay the program simply makes getting somthink like 400 objects stack onto each other much easyer. First Get the Object name from the .obj file. After you have achive getting this. Go into the program in command prompt. AFter doing so, Type in the name of the object ( return ), then the number of copys you want of the object. The seporation of the objects from each other. AND its done. Copy the text into group .obj and you shall have 100+ what ever you want.

This program is in beta stages.

Test data is above for comparrision. File is attached. if you need to contact me about any futur projects that you may want me to undertake. doodo477@hotmail.com, or contact me in aces high i am F6bomber :).

Source code is bellow for people intrested in the way the program was made.

-------------
source code
-----------------

No copy right , edit it. and suggest any changes.

#include

int main()
{
char string1[20];
int object = 0, hight = 0, number, hightin;

printf( " Please enter in the Name of the object wanting copy\n");
scanf( "%s", string1);
printf( " Please enter in the copys you want of the object\n");
scanf( "%d", &object );
printf( " Please enter in the hight sep between the copy objects\n");
scanf( "%d", &hightin );

for ( number = 1; number <= object; number++){
printf( "%s%d,BG400,18.139,%d,-14.917,0.0000,1.5708,0.0000,1280,2,0,-1.00,-1.0,-1,%d,0,0\n",string1,number,hight,number );
hight += hightin;
}
return 0;
}

----------------------------------------------------

Cya soon.

-------------------------------------

Offline Linux_gene3

  • Zinc Member
  • *
  • Posts: 19
      • None
A little Object Copying Program
« Reply #3 on: January 15, 2002, 08:59:03 AM »
Okay Okay DONT DOWNLOAD THE FIRST FILE. Coding error " I can finaly say that LOL"

here is the correct file. I got the Source mixed up.

Same as before download. Rename to .exe and you should be set.

Offline Linux_gene3

  • Zinc Member
  • *
  • Posts: 19
      • None
A little Object Copying Program
« Reply #4 on: January 15, 2002, 09:03:04 AM »
and you can do this if you realy want to.

12 trucks stack ontop of each other. You can have 120 if you want LOL.

well cya.

Offline steely07

  • Silver Member
  • ****
  • Posts: 1842
A little Object Copying Program
« Reply #5 on: January 15, 2002, 05:36:42 PM »
Thanks,i'll check it out :)
Aces High, Wing Commander, Dickweed Heavy Bomber Group: www.dickweedhbg.com

FSO Films : https://www.youtube.com/channel/UCFs6CAXBQoVBctljybD65fA?view_as=subscriber

Offline pokie

  • Silver Member
  • ****
  • Posts: 841
      • http://s7.eastlink.ca/~tscott
A little Object Copying Program
« Reply #6 on: February 01, 2002, 05:42:02 PM »
Hello Linux_gene3

I've download the file and my computer show it as a winzip file.

If I try to open it, the computer says "Can not open file: it does not appear to be a valid archive".

I downloaded it again, without any luck.

You may need to explain exactly what I need to do with the file if I'm doing something wrong.

P.S  This reminds me of a great line spoken by Paul Reiser in one of the episodes from the TV show MAD ABOUT YOU
Quote
Okay, do me a favor. Talk to me like I'm four.


Me a computer dummy :(

Pokie

Offline Linux_gene3

  • Zinc Member
  • *
  • Posts: 19
      • None
A little Object Copying Program
« Reply #7 on: February 05, 2002, 05:21:40 PM »
I sent you the update of the latest version by E-mail, also anyone else wanting a copy please email me at doodo477@hotmail.com, this enables me to contact you on updates that i should be doing in the next coming days.

the updates will include the options to make ramp, spiral roads, anythink that would normaly take people ages to do. Like the earlyer versions, it ask for the length of the object, high, size, length. All information is included into the readme file of the program.

Also working on a nice little program, TRYing to build a player that enables you to watch the films outside aces high and also lets you capture the film into a avi file. This is still on the drawing board and i dont have any idea when it will be complete. Cya!

Offline steely07

  • Silver Member
  • ****
  • Posts: 1842
A little Object Copying Program
« Reply #8 on: February 05, 2002, 09:13:33 PM »
I had the same prob as Pokie,i have mailed you for another copy,sounds like you are doing some very interesting things there :)
Keep up the good work.

"Go Aussie go " :)
pity about the cricket huh? :)
Aces High, Wing Commander, Dickweed Heavy Bomber Group: www.dickweedhbg.com

FSO Films : https://www.youtube.com/channel/UCFs6CAXBQoVBctljybD65fA?view_as=subscriber

Offline Linux_gene3

  • Zinc Member
  • *
  • Posts: 19
      • None
A little Object Copying Program
« Reply #9 on: February 06, 2002, 09:22:35 AM »
Thanks for all the replys to my email box.

Anythink else you want going into the program just ask me, I will be able to add some more changes into the program. Like saving all information to a txt file.

Offline NUTTZ

  • Silver Member
  • ****
  • Posts: 1818
A little Object Copying Program
« Reply #10 on: February 06, 2002, 05:19:28 PM »
I emailed you, and never got the program, Did i forget a stamp on the envelope?:)


NUTTZ



Quote
Originally posted by Linux_gene3
Thanks for all the replys to my email box.

Anythink else you want going into the program just ask me, I will be able to add some more changes into the program. Like saving all information to a txt file.

Offline steely07

  • Silver Member
  • ****
  • Posts: 1842
A little Object Copying Program
« Reply #11 on: February 07, 2002, 06:50:07 PM »
I also have had no reply,Genie u out there? :)
Aces High, Wing Commander, Dickweed Heavy Bomber Group: www.dickweedhbg.com

FSO Films : https://www.youtube.com/channel/UCFs6CAXBQoVBctljybD65fA?view_as=subscriber

Offline Linux_gene3

  • Zinc Member
  • *
  • Posts: 19
      • None
A little Object Copying Program
« Reply #12 on: February 08, 2002, 03:24:11 AM »
Here is the update of the program in a zip format. all you need is winzip to extract the pink panther files.

http://www.winzip.com

Please email me on any updates that you would like to see for this program. Or get me started builing others. Thanks chad

Offline steely07

  • Silver Member
  • ****
  • Posts: 1842
A little Object Copying Program
« Reply #13 on: February 08, 2002, 05:39:16 AM »
Thanks genie,looking at it now :)
Go aussie Go :)
Keep up the good work
PS watch that cyclone,it might come that way,i used to live there so take care mate :)
Steely
Aces High, Wing Commander, Dickweed Heavy Bomber Group: www.dickweedhbg.com

FSO Films : https://www.youtube.com/channel/UCFs6CAXBQoVBctljybD65fA?view_as=subscriber