Hi,
I read on the forum to try 3d possibilities, try word.pb. As far as I can see, to do this I need Quake 3 version 1.17 and 1.27.
Can somebody explain clearly what to do to make this working ?
Especially where to download the exact files and how heavy they are ? Somebody was talking about a pack, where is it ?
I mean I never use Quake and there are many many places and many many files related to this. Are you talking about Quake 3 Arena as I read ? Are these files demos versions ? just patches of the original game ? should I have bought already the game ?
On another hand, I found in PB directory, a file named Quake3Launcher.pb.
What are the connections with above mentionned files ? When I compiled/run it send the message "file c:\PureBasicIDE.ICO doesn't exist !". I don't have "C" directory but "F & G". Where can I change this because this message apparently do not come from the Quake3Launcher.pb !
Did I miss something somewhere in the forum or wherever ? Not very easy for beginners.
Thanks for any help,
Fiwip
Word.pb, Quake3Launcher.pb, Quake
Very surprising. No one to give me at least one short answer, even my questions are silly questions !
I did not find something precise in the forrums (french and english). Nothing in the tuts, nothing in the ref book (v 1.72).
But yhis is sold with the PE as examples ...
Can you explain ?
Thanks,
Fiwip
I did not find something precise in the forrums (french and english). Nothing in the tuts, nothing in the ref book (v 1.72).
But yhis is sold with the PE as examples ...
Can you explain ?
Thanks,
Fiwip
-
THCM
- Enthusiast

- Posts: 276
- Joined: Fri Apr 25, 2003 5:06 pm
- Location: Gummersbach - Germany
- Contact:
Hi Fiwip!
To get the World.pb example running you must install the original Quake 3 Arena. The Quake 3 Launcher is a tool to launch diffrent versions of the original Quake 3. Both examples are useless without the original game from ID-Software.
To test the built in support for bsp-files, go to the Ogre-Website http://www.ogre3d.org/ and dowload the prebuilt demos. Try this modified World.pb source to load the included ogretestmap.zip (you can find the file in the media folder!)
; ------------------------------------------------------------
;
; PureBasic - OgreWorld
;
; (c) 2003 - Fantaisie Software
;
; ------------------------------------------------------------
;
#PlayerSpeed = 20
IncludeFile "Screen3DRequester.pb"
DefType.f KeyX, KeyY, MouseX, MouseY
If InitEngine3D()
If InitSprite() = 0
MessageRequester("Error", "OGRE package not found", 0) : End
EndIf
InitKeyboard()
InitMouse()
If Screen3DRequester()
OgreBase$ = OpenFileRequester("Select OgreTestmap file", "ogretestmap.zip", "*.zip|*.zip", 0)
If OgreBase$ = "" : End : EndIf
Add3DArchive(OgreBase$, #PB_3DArchive_Zip)
If LoadWorld("ogretestmap.bsp")
CreateCamera(0, 0, 0, 100, 100)
Repeat
Screen3DEvents()
If ExamineKeyboard()
If KeyboardPushed(#PB_Key_Left)
KeyX = -#PlayerSpeed
ElseIf KeyboardPushed(#PB_Key_Right)
KeyX = #PlayerSpeed
Else
KeyX = 0
EndIf
If KeyboardPushed(#PB_Key_Up)
KeyY = -#PlayerSpeed
ElseIf KeyboardPushed(#PB_Key_Down)
KeyY = #PlayerSpeed
Else
KeyY = 0
EndIf
EndIf
ExamineMouse()
MouseX = -(MouseDeltaX()/10)*#PlayerSpeed/2
MouseY = (MouseDeltaY()/10)*#PlayerSpeed/2
RotateCamera(0, MouseX, MouseY, 0)
MoveCamera(0, KeyX, 0, KeyY)
RenderWorld()
FlipBuffers()
Until KeyboardPushed(#PB_Key_Escape) Or Quit = 1
Else
MessageRequester("Error", "Can't load the Ogre Testmap", 0)
EndIf
EndIf
EndIf
Perhaps Fred should include the Ogre-Testmap into the next Purebasic-Release.
To get the World.pb example running you must install the original Quake 3 Arena. The Quake 3 Launcher is a tool to launch diffrent versions of the original Quake 3. Both examples are useless without the original game from ID-Software.
To test the built in support for bsp-files, go to the Ogre-Website http://www.ogre3d.org/ and dowload the prebuilt demos. Try this modified World.pb source to load the included ogretestmap.zip (you can find the file in the media folder!)
; ------------------------------------------------------------
;
; PureBasic - OgreWorld
;
; (c) 2003 - Fantaisie Software
;
; ------------------------------------------------------------
;
#PlayerSpeed = 20
IncludeFile "Screen3DRequester.pb"
DefType.f KeyX, KeyY, MouseX, MouseY
If InitEngine3D()
If InitSprite() = 0
MessageRequester("Error", "OGRE package not found", 0) : End
EndIf
InitKeyboard()
InitMouse()
If Screen3DRequester()
OgreBase$ = OpenFileRequester("Select OgreTestmap file", "ogretestmap.zip", "*.zip|*.zip", 0)
If OgreBase$ = "" : End : EndIf
Add3DArchive(OgreBase$, #PB_3DArchive_Zip)
If LoadWorld("ogretestmap.bsp")
CreateCamera(0, 0, 0, 100, 100)
Repeat
Screen3DEvents()
If ExamineKeyboard()
If KeyboardPushed(#PB_Key_Left)
KeyX = -#PlayerSpeed
ElseIf KeyboardPushed(#PB_Key_Right)
KeyX = #PlayerSpeed
Else
KeyX = 0
EndIf
If KeyboardPushed(#PB_Key_Up)
KeyY = -#PlayerSpeed
ElseIf KeyboardPushed(#PB_Key_Down)
KeyY = #PlayerSpeed
Else
KeyY = 0
EndIf
EndIf
ExamineMouse()
MouseX = -(MouseDeltaX()/10)*#PlayerSpeed/2
MouseY = (MouseDeltaY()/10)*#PlayerSpeed/2
RotateCamera(0, MouseX, MouseY, 0)
MoveCamera(0, KeyX, 0, KeyY)
RenderWorld()
FlipBuffers()
Until KeyboardPushed(#PB_Key_Escape) Or Quit = 1
Else
MessageRequester("Error", "Can't load the Ogre Testmap", 0)
EndIf
EndIf
EndIf
Perhaps Fred should include the Ogre-Testmap into the next Purebasic-Release.
The Human Code Machine / Masters' Design Group
