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.

Code Snippets / RTS style controlling objects funtion

Author
Message
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 17th Oct 2003 09:24 Edited at: 17th Oct 2003 10:22
Hi,this funtion will control all of your objects RTS style. It has attacking, health system, moving, and all of that good stuff. PLEASE tell me how it is!
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 17th Oct 2003 16:48
Hmm, i massuming that this is DBPro source? I dont think ive ever seen a command like character(f).moving in DBC before...

Knowladge Belongs To The People...
Dostej
21
Years of Service
User Offline
Joined: 21st Jan 2003
Location: Switzerland
Posted: 17th Oct 2003 17:00
Cant say much about it, cos its just the plain function. So I cant see if and how it is working.
Better make a little demo out of it (with defining the character-type and assigning values to it.)
And post it again, maybe with a little screenie

www.dbpro.ionichost.com
www.galacticinc.iwebland.com
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 17th Oct 2003 19:11
Ok, I couln't get you screen shots, but this is a RTS demo with just plane units, not land. I will post out this again once it has gotten better. It needs a water image, a grass image, a fire image, 2 exploding sounds, and some kind of plane object(from DARK MATTER or DARK MATTER 2), and a circle image. This shows the funtion in use with a program.
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 17th Oct 2003 20:08
character(f).moving

'Tis not a command, just a UDT a fancy array!

Fishie says:
"Those who fail to prepare prepare to fail"
"Rules are for the guidance of the wise and the blind obdeniency of the fools"
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 18th Oct 2003 09:05
Yep David89, that is correct! I should of mentioned earlier, it is a fancy array. I just would rather use it instead of complete arrays so that my program will be easier to understand.
guru of boredom
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: middle of no where
Posted: 21st Oct 2003 06:54
how about making an exe out of it for us without darkmatter?

its not a bug its a ... a ... a extra feature!
P4 2.4 ghz 120 GB 256 mb GeForce4
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 24th Oct 2003 07:46
Hmmm, those TYPE names look familiar. I wonder where I've seen them before.
M00NSHiNE
21
Years of Service
User Offline
Joined: 4th Aug 2003
Location: England, UK
Posted: 25th Oct 2003 19:51
I was going to mention that, Phaelax. But I thought Id better keep it quiet. Just in case.

ZEDWARE website coming soon... //END TRANSMISSION//
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 26th Oct 2003 05:53 Edited at: 26th Oct 2003 05:54
Quote: "I was going to mention that, Phaelax. But I thought Id better keep it quiet. Just in case. "

Yah, sorry Phaelax, can I use your type names?
M00NSHiNE
21
Years of Service
User Offline
Joined: 4th Aug 2003
Location: England, UK
Posted: 26th Oct 2003 17:34
Bit late for that innit? LOL

ZEDWARE website coming soon... //END TRANSMISSION//
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 26th Oct 2003 17:46 Edited at: 26th Oct 2003 17:47
Yep, most likely.
Yskonyn
21
Years of Service
User Offline
Joined: 19th Dec 2002
Location: Netherlands
Posted: 28th Oct 2003 20:42
Showing off someone else's work! Tsk. Tsk.

Yskonyn -
"It's better to wish down here you were up, then to wish up there you were down."
"The ONLY time you have too much fuel on board is when you are on fire."
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 29th Oct 2003 06:45
much of the code is his own still.
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 29th Oct 2003 14:49
I'm really sorry about that Phaelax
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 29th Oct 2003 19:34
No prob. Everything we learn has got to come from somewhere
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 30th Oct 2003 02:16
Thanks
ZomBfied
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 2nd Nov 2003 02:14
It seems to be missing some functions and subs in your code...
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 2nd Nov 2003 06:40 Edited at: 2nd Nov 2003 06:42
What funtions? What Subs? Just tell me and I'll post them.
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 2nd Nov 2003 09:36
how bout an exe for those of us without dbp? thanx in advance

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 2nd Nov 2003 17:43
How? I'm new at programming. The only way I know how is to put it on my own web site (which isn't up and running yet)
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 3rd Nov 2003 01:22
never mind then....i'll just have to buy dbp(shiver(100 bucks!!!))

thanx

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 3rd Nov 2003 02:46
I'll try to put it into a demo.
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 3rd Nov 2003 04:05
Thanks!

Login to post a reply

Server time is: 2024-11-23 23:34:42
Your offset time is: 2024-11-23 23:34:42