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 / Need help debugging some code (FPS)

Author
Message
Chily Dog
20
Years of Service
User Offline
Joined: 6th Nov 2004
Location: U.S.A.
Posted: 19th Aug 2005 11:52
I have been working on this FPS, and I ran into a problem with picking up ammo. If you look at the code you will see what I mean. It is indented to pick up an ammo box when you move over it, but insted it just deletes in for no reason during the game when you are shooting, and you can't hurt the enemy when the box is there.

-I'm using DB classic

Thanks for any help I can get!!!
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 19th Aug 2005 12:16
Here you go:



I changed:


TO


and

TO


I also added
set object collision to spheres objnr
set object collision to boxes objnr
set object collision to polygons objnr

It should work now.

Immunity and Annihalation makes Immunihalation...
Chily Dog
20
Years of Service
User Offline
Joined: 6th Nov 2004
Location: U.S.A.
Posted: 19th Aug 2005 12:55
Very Nice. Many thanks for help'en me out.
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 19th Aug 2005 15:21
No problem

Immunity and Annihalation makes Immunihalation...

Login to post a reply

Server time is: 2024-11-27 20:33:08
Your offset time is: 2024-11-27 20:33:08