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 a little help with puting a object on the map.

Author
Message
Game Programming Beginner
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: USA VA
Posted: 19th Aug 2004 21:26
Hi all,

I'm trying to put a tank on the map, as you would be looking at about mid-way to the front of the tank in a 3d person view. Right now you can use the arrow keys to move the Camera, but the tank will not show up in the view. I’m making a WW1 tank game that you would be playing the allies and you going after the axis tanks. So if someone can help me out with this I would appreciate the help vary much I been going at this 4 hours now.

WindowsXP Professional, AMD Athlon 2.500+ GHz CPU, 512 MB of RAM, GEForce2 MX 64mb of RAM. Let the Game's Begin...
Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 19th Aug 2004 21:42
here, try this:

Game Programming Beginner
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: USA VA
Posted: 19th Aug 2004 21:50
Hey thank for the help but it a no go I get this msg. parameter for 'yrotate object' do not match object number, yangle' at line 61 but it was a good try I'm been looking at code all night to get this

WindowsXP Professional, AMD Athlon 2.500+ GHz CPU, 512 MB of RAM, GEForce2 MX 64mb of RAM. Let the Game's Begin...
Game Programming Beginner
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: USA VA
Posted: 19th Aug 2004 22:00
This is the line in the code that has the bug.

Yrotate object CurveAngle(CameraAngleY#,OldCamAngleY#,24)

any help I do appreciate it

WindowsXP Professional, AMD Athlon 2.500+ GHz CPU, 512 MB of RAM, GEForce2 MX 64mb of RAM. Let the Game's Begin...
Game Programming Beginner
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: USA VA
Posted: 20th Aug 2004 00:11
I can get a box to show up but not the tank hear is the code that I'm using for it. If anyone knows what I'm doing wrong and would like to help out I would apppreciate it I made a web site this it should be up today or tonight.

WindowsXP Professional, AMD Athlon 2.500+ GHz CPU, 512 MB of RAM, GEForce2 MX 64mb of RAM. Let the Game's Begin...
Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 20th Aug 2004 00:36
sorry GPB, I got the syntax wrong (i was in a hurry). your code should read like this (based on your new code):



hope that works
if it doesn't then providing a link to download your media would be helpful
Game Programming Beginner
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: USA VA
Posted: 20th Aug 2004 03:41
Oh Thank you This has been driving me up the wall trying to get this to wrok

WindowsXP Professional, AMD Athlon 2.500+ GHz CPU, 512 MB of RAM, GEForce2 MX 64mb of RAM. Let the Game's Begin...

Login to post a reply

Server time is: 2024-09-22 21:32:02
Your offset time is: 2024-09-22 21:32:02