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 / Models not showing

Author
Message
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 30th Dec 2006 09:58 Edited at: 30th Dec 2006 10:17
I have started to add shooting to my game for the player and I can't seem to load my models as as I shoot I see no bullets or missiles neither can I see the tank, what is wrong here?
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 30th Dec 2006 10:07
more information required. post what code you have now.

vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 30th Dec 2006 10:09
Just did although I will have to make a zip file can I attach one on here then indi?
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 30th Dec 2006 10:13
looking now.

vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 30th Dec 2006 10:15
Hang on wrong one
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 30th Dec 2006 10:18
Corrected it now
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 30th Dec 2006 10:34 Edited at: 30th Dec 2006 10:42
well from the original one you showed me I cleaned it up a lot because it was very messy and hard to read.
In the first one you posted it appeared you were making the bullet objects within your main loop and not prior to it.

the scaling of the objects appears to be very large as well.

Here is what i did to the original snippet to make it easier to manage.

I cleaned it up a lot so you can see how the structure should be.
remove any components that you may not require.




if DBC does not like multiple commands on the one line
just remove the : symbols and drop it down to another line.
Its been a while since Ive used DBC but it should be ok.


that should make it a lot easier to see the problems at hand.

vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 30th Dec 2006 21:01
OK thanks Indi,
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 31st Dec 2006 01:17
no probs, hope it helps.

vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 24th Feb 2007 12:26
Hi yes erm... do I have to have some type of attachment to the player for shooting every time that will carry the bullet as I get things to shoot but only in one position.

I just need comfirmation wheter this is so or at least attach it to the limb of a vechile or players guns model

Login to post a reply

Server time is: 2025-05-28 01:33:57
Your offset time is: 2025-05-28 01:33:57