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 / Need a little help with cshop

Author
Message
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 31st May 2006 03:37
ok, i bought cshop the other day, and i made a level with it, and i got it into my game using the following code
and when i run the game the map is untextured, it is just gray... and i cant seem to figure out how to position the camera where i want it to be please help me...

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 31st May 2006 13:23
please... anyone?

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
nojbox87
19
Years of Service
User Offline
Joined: 26th Jun 2005
Location: England
Posted: 31st May 2006 13:26
make sure the textures are in the same folder as the .x model. cshop isnt on this computer but i think when you first open the program the screen is centered at coordinates 0,0,0. im not too sure what units cshow uses though. if anybody could help on this i would be grateful

nojbox87

I am a Christian and I know that God loves me. That is what makes my life so great!
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 31st May 2006 13:35
the textures are in the same folder and everything

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 31st May 2006 14:01


this is just what show up and i finally got the camera in the right position... plese anyone help me with the textures...

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 31st May 2006 14:50
ok, one problem after another, i managed to fix this.... apparently db doesnt want to load .jpg files... ok, i have all the right movement commands set in, but i cant seem to walk around!

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 31st May 2006 15:20
Yup, bmp are the only texture files DBC can read with X files.

Are you using collision? That could explain why you cannot move. Set the collision type to polygons to fix it.
Or, maybe you are repositioning the camera within the loop.

Or, maybe you forgot to add movement code? (unlikely though)

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 31st May 2006 17:26 Edited at: 31st May 2006 17:34
eh, this may sound a little stupid, can you show me the code i need to add colision to the map?..

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 31st May 2006 20:20


that is the code, and i still cant walk around

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
Diggsey
19
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 1st Jun 2006 00:07
Ha ha!!!

You don't position the camera, so the vars change but you don't move

There are three types of people, those that can count and those that can't.
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 1st Jun 2006 00:35
i dont.. i dont understand..

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 1st Jun 2006 02:21
ok, i changed the code a little
i took collision off, to see if that was the problem, it isnt, but the camera seems to stop at some points, like when i go forward, suddenly it stops! this is the last thing i ask about this i promise!! plz someone help

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
nojbox87
19
Years of Service
User Offline
Joined: 26th Jun 2005
Location: England
Posted: 1st Jun 2006 11:07
its possible that your model is bigger than 10000 big so it automatically stops. However when i have used sparkeys collision i have had this sort of probelmn when strafing before (going side to side) the camer moves then stops suddenly and starts agian.

I am a Christian and I know that God loves me. That is what makes my life so great!
Diggsey
19
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 1st Jun 2006 13:12
Print xtest# and ztest# to see if they are outside the 0-1000 limit, that may be the problem. If that's definitely not the problem, I don't know why it's not working

There are three types of people, those that can count and those that can't.
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 1st Jun 2006 13:54
it isnt big, i only made a small one to test

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 1st Jun 2006 15:18
i Guess i will just have to write a new code can anyone here help me?

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
Dark Eternity
20
Years of Service
User Offline
Joined: 10th Jul 2004
Location: Vana Diel
Posted: 1st Jun 2006 15:23
hey can you post the most recent version of your code, I have a couple of hours till the final version of my menu graphics arrives so I can take a look at it... if you hurry

I am DarkEternity (DE for short) OWNER OF ANIRE!!!
We are looking for a coder, modelers etc
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 1st Jun 2006 17:15
here is my most recent code





Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!
Dark Eternity
20
Years of Service
User Offline
Joined: 10th Jul 2004
Location: Vana Diel
Posted: 1st Jun 2006 17:37
alright I will check it now

I am DarkEternity (DE for short) OWNER OF ANIRE!!!
We are looking for a coder, modelers etc
Dark Eternity
20
Years of Service
User Offline
Joined: 10th Jul 2004
Location: Vana Diel
Posted: 1st Jun 2006 17:43
i dont see where the problem is but for optimizing why dont you change the sync rate to 60 and then stop the set cursor command, that should speed it up... also if your refresh rate is bad then that is probly why because your screen will not update the position as quick

I am DarkEternity (DE for short) OWNER OF ANIRE!!!
We are looking for a coder, modelers etc
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 1st Jun 2006 18:43
i can walk around a little but i get stuck at some points...

Just google pallmanni and get the history of me!

http://whatishl.ytmnd.com/ so friggin funny!

Login to post a reply

Server time is: 2025-05-25 04:01:59
Your offset time is: 2025-05-25 04:01:59