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.

Newcomers DBPro Corner / Yet another Semi-n00b with a question.....

Author
Message
Skybax
21
Years of Service
User Offline
Joined: 20th May 2003
Location: United States
Posted: 10th Mar 2004 02:11
Hello all,

I am a DBC user and I've run into a bit of a fix......I am trying to retain the hill effect without the program randomizing and I can't seem to make a cave on it for the player to go in. I have tried to make strafing code and jumping code but no matter what I do nothing will work. I am at a loss as of what to do. Any help that could be offered would help me a great deal. Here is the peice of code that is giving me such trouble.



There is no king who has not had a slave among his ancestors, and no slave who has not had a king among his

Ph33r the Ringwraiths
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 10th Mar 2004 03:13
The camera code should be fixed, I didn't see much though because the matrix wouldn't show up.

Crazy Donut Productions
Current Project: KillZone
DarkSin
21
Years of Service
User Offline
Joined: 23rd Jul 2003
Location: Under your bed
Posted: 10th Mar 2004 08:10 Edited at: 10th Mar 2004 08:11
hmm i could be wrong but arent the images supppost to have diffrent numbers? not really sure though since I never used DBC, just DBP.
"rem village wall
Load image "cottag02.bmp",2
make object plain 1,2025,714
texture object 1,2
position object 1,5000,20,5900

rem village
Load image "aztec01.bmp",2
Make object box 10,300,400,300
Texture object 10,2
position object 10,6240,20,6269

rem village
Load image "aztec01.bmp",2
Make object box 12,300,400,300
Texture object 12,2
position object 12,5789,20,6699

rem village
Load image "aztec01.bmp",2
Make object box 13,300,400,300
Texture object 13,2
position object 13,6849,20,6869"



[url=www.bloodnest.net][/url]

Skybax
21
Years of Service
User Offline
Joined: 20th May 2003
Location: United States
Posted: 10th Mar 2004 08:16
The matrix didn't show up?! Weird! Urgh....how badly did I kill that code?! Odd..now the screen is only showing up blue.......

There is no king who has not had a slave among his ancestors, and no slave who has not had a king among his

Ph33r the Ringwraiths
Skybax
21
Years of Service
User Offline
Joined: 20th May 2003
Location: United States
Posted: 10th Mar 2004 08:19
Thanks, Dark Skin

There is no king who has not had a slave among his ancestors, and no slave who has not had a king among his

Ph33r the Ringwraiths
Skybax
21
Years of Service
User Offline
Joined: 20th May 2003
Location: United States
Posted: 10th Mar 2004 22:06
Ok....I've managed to fix up the code so it looks like this:




Now, the only problem is that I cannot figure out how to keep the matrix's hilly appearence without having it change......


Thank you all!

Clear skies and fair weather!

There is no king who has not had a slave among his ancestors, and no slave who has not had a king among his

Ph33r the Ringwraiths
diablo fan
20
Years of Service
User Offline
Joined: 7th Jan 2004
Location: michigan usa
Posted: 11th Mar 2004 08:26 Edited at: 11th Mar 2004 08:39
you just want one hill? thank red_eye this is from the code base





and here is your code fixed well maybe you can work with this
thank red_eye for this.HOPE THIS HELPS

please dont make fun of my spelling,or sentence structure.Id rather study math or programming
Skybax
21
Years of Service
User Offline
Joined: 20th May 2003
Location: United States
Posted: 11th Mar 2004 08:53
WOW! Awesome code! There's only one problem.....when I run it, the editor says: Runtime error at line 98. Matrix does not exist. What does that mean? I put in the code correctly.

By the way: Thank you red_eye!

There is no king who has not had a slave among his ancestors, and no slave who has not had a king among his

Ph33r the Ringwraiths
diablo fan
20
Years of Service
User Offline
Joined: 7th Jan 2004
Location: michigan usa
Posted: 11th Mar 2004 14:37
maybe it is because im using dbpro and you have db.it works when i cut and paste it.anyway if someone doesnt fix it first .i will look at it again tonight with db trial version.but right now im at work.

please dont make fun of my spelling,or sentence structure.Id rather study math or programming
Skybax
21
Years of Service
User Offline
Joined: 20th May 2003
Location: United States
Posted: 12th Mar 2004 09:14
Thank you very much! It's a pleasure knowing that I can ask for help without feeling foolish.....

There is no king who has not had a slave among his ancestors, and no slave who has not had a king among his

Ph33r the Ringwraiths
diablo fan
20
Years of Service
User Offline
Joined: 7th Jan 2004
Location: michigan usa
Posted: 12th Mar 2004 16:01
sorry i didnt get a chance and i have to give my wife attension tonight so no db for me.maybe sat night if you still have problems

please dont make fun of my spelling,or sentence structure.Id rather study math or programming
Skybax
21
Years of Service
User Offline
Joined: 20th May 2003
Location: United States
Posted: 14th Mar 2004 09:56
Fret not, diablo fan. I can wait....and it WILL be worth it! Don't worry, do what needs to be done first.

There is no king who has not had a slave among his ancestors, and no slave who has not had a king among his

Ph33r the Ringwraiths
diablo fan
20
Years of Service
User Offline
Joined: 7th Jan 2004
Location: michigan usa
Posted: 14th Mar 2004 21:37
ok ok tonight for sure i hope i get it done.

please dont make fun of my spelling,or sentence structure.Id rather study math or programming
diablo fan
20
Years of Service
User Offline
Joined: 7th Jan 2004
Location: michigan usa
Posted: 15th Mar 2004 00:12
see if you can work with this if not let me know.sorry about the wait.



please dont make fun of my spelling,or sentence structure.Id rather study math or programming
Skybax
21
Years of Service
User Offline
Joined: 20th May 2003
Location: United States
Posted: 15th Mar 2004 00:48
No problem! That code is AWESOME. Hmm....now all I have to do is figure out how to "glue" the following codes together.






I wouldn't be asking anyone about that but I've forgotten how to do that on my own....

There is no king who has not had a slave among his ancestors, and no slave who has not had a king among his

Ph33r the Ringwraiths
Skybax
21
Years of Service
User Offline
Joined: 20th May 2003
Location: United States
Posted: 20th Mar 2004 09:12
Boy am I lame.......I've been programming for two years and that's how far I've gotten (not counting the document that contained a backup of my DBC code that was cruely EATEN by my computer.....)I REALLY need to take some time out for coding practice......

There is no king who has not had a slave among his ancestors, and no slave who has not had a king among his

Ph33r the Ringwraiths

Login to post a reply

Server time is: 2024-11-26 09:49:24
Your offset time is: 2024-11-26 09:49:24