Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / 2 questions, 1 easy 1 not so easy

Author
Message
3beth
21
Years of Service
User Offline
Joined: 13th Feb 2004
Location: Good ole Kentucky
Posted: 28th Apr 2004 06:05
Hey Guys,

My first problem can I for instance write a simple code that with group 3 to 5 objects by a simple command. say object 1, and object 2, object 3, and so on with a code like -, objects (1thru 5) do something all at the same, at the same time, - without writing each command for each object?

My second problem is a little tuffer and very important to me. I want to try and convert animation programs from the sims to 3d models in studio 3 max or 3ds, the animation code from the sims are in cmx.bcf extensions and I have built some really cool animations that will work with .skn models in my animation program, I have a program that I use to make sim animations but I don't know how to make the same animations work with 3ds in Dark Basic Classic or what program that convert it to a file that will work with DBC, anyone ever tried it successfully and knows how, I would please like to know.

Sincerely,

Beth

Beth=The ditsy blonde. I like men and programming, but mainly programmed men!
hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 28th Apr 2004 06:09 Edited at: 28th Apr 2004 06:10
Well, the answer to your first problem is easy. Use a for/next loop like this.


As for your animation problem....I don't have a clue.

JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 28th Apr 2004 06:19
if you didnt quite catch what a for next loop does:

FOR NEXT
This command will define a program loop that will loop a finite number of times. The FOR command requires a variable and wo values to begin the loop. the variables stores the first value, and is incremented by 1 each loop until it reaches the second value. The NEXT command is placed to mark the end of the loop. As the variable increments during the loop, you can use it's value in many ways.

SYNTAX:
FOR varable = value1 TO value2
commands go here
NEXT varable

Do you model? contact me: [email protected]
3beth
21
Years of Service
User Offline
Joined: 13th Feb 2004
Location: Good ole Kentucky
Posted: 28th Apr 2004 06:26
hyrichter,

I need the objects to have different textures and different base model files and very different locations, will this still work? So your saying

x= 1 to 10
yrotate object x,90
move object x,+2
next x

the indepenant models will do the above function all at the same time.
Also can I change the x to bm or any or conbination of letters? Where I am going with this is to have two groups with 3 or 4 sets of commands mixing up the groups.

x= 1 to 10
bb= 5 to 15
bc= 2 to 14

bc= then do it

or bb= then do it, and so on

thanks,

Beth

Beth=The ditsy blonde. I like men and programming, but mainly programmed men!
Arkheii
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 28th Apr 2004 06:47
For the second question, you could try learning the model's format and learn the .x or .3ds format, then convert it. It's harder than it sounds, especially if you don't have the format's documentation Besides, I don't think EA would want you to use their copyrighted models for purposes not related to giving EA more money.


@noobs: We don't give a damn if you haven't gone through puberty. So can you code or not?
3beth
21
Years of Service
User Offline
Joined: 13th Feb 2004
Location: Good ole Kentucky
Posted: 28th Apr 2004 06:55 Edited at: 28th Apr 2004 07:31
r_kabouter,

I know its hard thats why I am asking for help. I have an animation program that I write sim animations in, I also sell those same animations and Maxis knows this, because I communicate with some of there script writers, I also make add on objects and characters by mass production, there mine not E A Maxis, I am just using the same format so no copyright unless its mine as stated in the files I market, I do this for a living so I know whats legal and whats not. If you go to any of the private sim websites with downloads you will run across some of my stuff sooner or later because I have tons of it out there.

Also I am not bashing your post but I wanted you to understand clearly that I understand copyright material and you understand my animations are not out of their game but just in the same format, its a very good format and a lot of other companies use it also but they are not using Dark Basic there using MircoSoft compliers or something else.

If we can solve this problem and can find a way to make similiar scripts in a way that will work in Dark Basic it will open up a whole new world for Dark Basic script writers, the possibilities will be endless.

Beth

Beth=The ditsy blonde. I like men and programming, but mainly programmed men!

Login to post a reply

Server time is: 2025-05-23 14:22:22
Your offset time is: 2025-05-23 14:22:22