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 / Shooting, enemys on the map.

Author
Message
im so rookie
18
Years of Service
User Offline
Joined: 6th Dec 2005
Location:
Posted: 7th Dec 2005 21:22
Hello!
Can someone help me with this FPS code.
I added a map, a gun, but i cant shoot, there something wrong with the code. I want that gun throws bullets and an enemy to the map.

Please help and show me how to do these things.
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 8th Dec 2005 00:24
you will have to use the code tags to include your source in your post, the source box doesn't work.

like this:

[code]your code here[/code]

"We make the worst games in the universe..."
SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 8th Dec 2005 13:30
Also please say if you're using DB Classic, or like I suspect, DB Professional.

...maybe one day I'll finish a project
im so rookie
18
Years of Service
User Offline
Joined: 6th Dec 2005
Location:
Posted: 8th Dec 2005 13:56
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 8th Dec 2005 14:50
You have a function called Make_Bullet but never use it and first line of that function has a rogue - in it.
You have a function called Move_Bullet but never use it
You are doing loads of bullet code at beginning of game before you even get to main loop which is a bit silly and it is referencing BSP world commands - you have no BSP map loaded.

Looks like you have cobbled together lots of different peoples code and hope it would just work. Not that simple I'm afraid. Suggest you start from scratch and add one line at a time and learn how it works before proceeding.

Boo!

Login to post a reply

Server time is: 2024-11-27 10:49:32
Your offset time is: 2024-11-27 10:49:32