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 / FPS questions

Author
Message
Nameless
20
Years of Service
User Offline
Joined: 11th Apr 2004
Location: U.S.A.
Posted: 21st Jun 2004 21:30
Any questions or errors that I do not understand or that come up while I am working on my first FPS will be posted here. You can ignore my other post. Alright my first question is extremely newbish, If thats a word , is why my model is not loading. DbPro comes with several models right off the bat. One of them is a gun in .3DS and in .X form. I attempted to load it in the game and put it in a first person view. So I moved the file under the projects folder and than under the name of the project I am currently working on. When i compiled it an error came up saying the file did not exist. So my question to you is does a model have to be in a certain folder for DBPro to reconize it? Thanks in advance.
Sparda
20
Years of Service
User Offline
Joined: 13th Jan 2004
Location: Pacifica
Posted: 22nd Jun 2004 01:16
As long as you have the right path for the load object command, the location shouldn't matter. Need to see your code otherwise.

There 10 kinds of people, those who understand binary and those who don't
Nameless
20
Years of Service
User Offline
Joined: 11th Apr 2004
Location: U.S.A.
Posted: 22nd Jun 2004 02:16
sorry, heres the code i was using

ToXic
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Australia
Posted: 22nd Jun 2004 03:44
With your code the model has to be in the same folder as your code,
lets say your code is in a folder called "C:\Mygame" and you make a sub-folder called Models to keep your 3ds files, then the code should read Load Object "C:\Mygame\models\newgun.3ds" ,10

ToXic.
Nameless
20
Years of Service
User Offline
Joined: 11th Apr 2004
Location: U.S.A.
Posted: 22nd Jun 2004 04:21
Heres the code I used this time but it still did not work




Please tell me what i am doing wrong.Thanks
Rennekon
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location:
Posted: 22nd Jun 2004 04:44
try taking the space out of new gun some programs go a little weird when files have spaces

John "Dark Lord of Angel Destroying Destiny" Pringlebee, maybe?
DarkSin
21
Years of Service
User Offline
Joined: 23rd Jul 2003
Location: Under your bed
Posted: 22nd Jun 2004 08:35
On a side note its also makes things allot easyer to use if you just take the path from the parent folder.
Example:
load object "FPS\models\New Gun.3DS",10
XRotate Object 10,90
Fix object pivot 10
Scale object 10,100,100,500
position object 10,0,-7,15
Lock object on 10

This way you can have the folder moved anywhere without having to redo the path everytime.


Nameless
20
Years of Service
User Offline
Joined: 11th Apr 2004
Location: U.S.A.
Posted: 24th Jun 2004 02:43
Alright guys thanks I finally got it to work. I tell you if find any problems soon. Thnaks
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 26th Jun 2004 21:17
You also need to use the method darksin described if you are going to make a commercial game, because people will not always install their game into C:\ or E:\ or wherever you have made it, so the paths would not work if you said for example "E:\darkBasic\myProj\game001\models\gun001.x" and they'd installed it in D:\

Am I the only one here who's really confused?

Login to post a reply

Server time is: 2024-11-26 22:17:12
Your offset time is: 2024-11-26 22:17:12