why cant i do that?
Blitz3D Forums/Blitz3D Programming/why cant i do that?
| ||
hi! i need a litel help i cant get a house up on the game the code is house1=LoadMesh("C:\Documents and Settings\nicklas\Skrivbord\blitzbasic 3d\models\house4.3ds") PositionEntity 60,0,60 and it sas not enof partments.... :S |
| ||
positionentity house1,60,0,60 |
| ||
I'd also suggest that you do not store your models in a folder on the desktop... //PetBom |
| ||
ok were to do then? |
| ||
hmm dont work i want it on the terrian, but i places it self on the black screen :S |
| ||
you should put yor media in sub folders of were ever the source code is and then you can just do this: house1=LoadMesh("models\house4.3ds") PositionEntity house1, 60, 0, 60 |
| ||
If you're looking for help you've really got to post up your code and possibly media for us to have any hope in hell of helping you. |
| ||
but it still 9999999999999 meters from the grass i puted oute :S why? and the hole code is Graphics3D 800,600,16,0 SetBuffer BackBuffer() camera=CreateCamera() PositionEntity camera,64,2,64 ;------------------------------meshes----------------------------------------- ;gun1 weapon1 = LoadMesh("C:\Documents and Settings\nicklas\Skrivbord\blitzbasic 3d\models\P08LUGER.3DS,camera") ;house1 house1=LoadMesh("C:\Documents and Settings\nicklas\Skrivbord\blitzbasic 3d\models\house4.3ds") PositionEntity house1, 60, 0, 60 ;------------------------------sounds----------------------------------------- gun = LoadSound("C:\Documents and Settings\nicklas\Skrivbord\blitzbasic 3d\sounds\shot001.wav") reload = LoadSound("C:\Documents and Settings\nicklas\Skrivbord\blitzbasic 3d\sounds\reload01.wav") terrain=CreateTerrain(128) grass_tex=LoadTexture( "C:\Documents and Settings\nicklas\Skrivbord\blitzbasic 3d\pictures\lexkunstrk.bmp" ) EntityTexture terrain,grass_tex While Not KeyDown( 1 ) If KeyDown( 205 )= True Then TurnEntity camera,0,-20,0 If KeyDown( 203 )= True Then TurnEntity camera,0,20,0 If KeyDown( 208 )= True Then MoveEntity camera,0,0,-0.20 If KeyDown( 200 )= True Then MoveEntity camera,0,0,0.20 RenderWorld Text 0,0,"Use cursor keys to move about the terrain" Flip Wend End |
| ||
post *all* your code |
| ||
that is all :P yas has began fore 10 min ago |
| ||
uh oh..... communication problems as well Dude, we need the program, and if possible, the media, basically, everything that you have that makes it run. |
| ||
Greetings Puppies, So we can steal it, adapt it and sell it as our own. Because we is all EVIL!! Peace, Jes |
| ||
Where is the local origin of the model? If you built the model at 999999,999999,999999 in your modeling program, then the model will be offset 999999,999999,999999 in the program. There should be some command to set origin, or set center of the model so 0,0,0 will be in the center of the object instead of 999999,999999,999999 units outside of it. |
| ||
;gun1 weapon1 = LoadMesh("C:\Documents and Settings\nicklas\Skrivbord\blitzbasic 3d\models\P08LUGER.3DS,camera") Should be: ;gun1 weapon1 = LoadMesh("C:\Documents and Settings\nicklas\Skrivbord\blitzbasic 3d\models\P08LUGER.3DS",camera) Also try this: Global camera=CreateCamera() |
| ||
;- |
| ||
thx fore the tips! got to go now! |