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.

Author
Message
Dalton
20
Years of Service
User Offline
Joined: 29th Nov 2004
Location:
Posted: 12th Jul 2005 07:19
Hey guys,

I am using the dbpro fps tutorial, and I am trying to get my 3ds gun model to load rather than the gun.x. It goes to loading screen and it like freezes there.

Any ideas?
Unseen Ghost
22
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 12th Jul 2005 07:39
Hi,

do you have any sample code we could see ? It's usually easier to help then.

Unseen Ghost
Dalton
20
Years of Service
User Offline
Joined: 29th Nov 2004
Location:
Posted: 12th Jul 2005 09:44
yea, sure.. lol, again its from the tutorial.

Pheonixx
21
Years of Service
User Offline
Joined: 6th Oct 2003
Location: Columbus, Ohio
Posted: 12th Jul 2005 12:09 Edited at: 12th Jul 2005 12:11
you are setting gunobj after using the variable. that's a start.
Quote: "
Setup gun for player
lock object on GunObj // gunobj = 0 or random data
scale object GunObj,2,2,4 // gunobj = 0 or random data
rotate object GunObj,270,0,0 // gunobj = 0 or random data
position object GunObj,0.5,-1,2 // gunobj = 0 or random data
disable object zdepth GunObj // gunobj = 0 or random data

`This loads the weapon model
GunObj=2 : load object "mediamodelsweaponsm1_carbine.3ds",GunObj // now it = 2
"


ALWAYS declare a value that is not going to change as a CONSTANT... it will not affect the size or speed of your application, but make it a whole lot easier when it comes to changing a value like the gunobj's id.... when you have 10k plus lines of code. It will also prevent you from erroniously changing a value like that.

EDIT:: also, make sure you are on the latest version of DBP including the Editor.... 3ds support was yanked out and put back in a few versions ago.

http://ausukusa.breakset.com

Login to post a reply

Server time is: 2025-06-10 05:49:38
Your offset time is: 2025-06-10 05:49:38