Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, AndrewAMD), 14,749 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Path/KH Controls/Jumping [Re: JakeBilbe] #371612
05/23/11 11:43
05/23/11 11:43
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline
Senior Member
3dgs_snake  Offline
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
Hi,

PRAGMA_PATH is a special define, you need to declare it like here :

Code:
#define PRAGMA_PATH "%EXE_DIR%\\images";



And I think that when you test you game with SED, the %EXE_DIR% is the SED directory, but I might be wrong.

Best regards.

Re: Path/KH Controls/Jumping [Re: 3dgs_snake] #371620
05/23/11 13:27
05/23/11 13:27
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
There is no need to use "%EXE_DIR%" to define images folder which is in the root folder of the project (from where you call "main" script).
It needs to be simple like this:
Code:
#define PRAGMA_PATH "images"

This works great for me, I have no idea why it doesn't work for you... you probably doing something wrong with folders


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Path/KH Controls/Jumping [Re: 3run] #371650
05/23/11 18:22
05/23/11 18:22
Joined: Apr 2009
Posts: 81
J
JakeBilbe Offline OP
Junior Member
JakeBilbe  Offline OP
Junior Member
J

Joined: Apr 2009
Posts: 81
Okay I tried with the ";" and without it gives me the same error "Can't open Vertical.jpg" here is the code:

Code:
#include <acknex.h>
#include <default.c>
#include "player.c"
#define PRAGMA_PATH "images";

PANEL* pSplash = { bmap = "intro.png"; } //intro
PANEL* pLogo = { bmap = "vertical.jpg"; } //vertical logo
PANEL* pHud = { bmap = "hud.png"; } //heads up display



the only picture inside images is vertical.jpg

Re: Path/KH Controls/Jumping [Re: JakeBilbe] #371701
05/24/11 14:06
05/24/11 14:06
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
try another image, or try to create model which is placed in that folder.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Path/KH Controls/Jumping [Re: 3run] #371763
05/25/11 04:37
05/25/11 04:37
Joined: Apr 2009
Posts: 81
J
JakeBilbe Offline OP
Junior Member
JakeBilbe  Offline OP
Junior Member
J

Joined: Apr 2009
Posts: 81
It works fine with the .mdl files just not pictures, weird.

EDIT: and videos dont work either, I just get a blank screen but no errors.

Last edited by JakeBilbe; 05/25/11 05:01.
Re: Path/KH Controls/Jumping [Re: JakeBilbe] #371768
05/25/11 07:53
05/25/11 07:53
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Something wrong with your picture (BTW don't use .jpg use .pcx, .tga or even .bmp).
About video, you might be doing something wrong with it, it should work fine too.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Path/KH Controls/Jumping [Re: 3run] #371811
05/25/11 16:03
05/25/11 16:03
Joined: Apr 2009
Posts: 81
J
JakeBilbe Offline OP
Junior Member
JakeBilbe  Offline OP
Junior Member
J

Joined: Apr 2009
Posts: 81
Well I have a bought copy of A7 but I downloaded the A8 free version and it all works now. Although I still get a black screen with videos I will have to figure that out at a later date though in the meantime I need to sort my model out so I can start messing with movement speeds and things. Thanks for the help guys.

Re: Path/KH Controls/Jumping [Re: JakeBilbe] #371812
05/25/11 16:10
05/25/11 16:10
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline
Senior Member
3dgs_snake  Offline
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
Hi,

Videos are streamed from you hard drive, they can't be searched from path or from buffer. To use videos, you need to use the full path - or relative path from your application.

Best regards.

Last edited by 3dgs_snake; 05/25/11 16:11.
Re: Path/KH Controls/Jumping [Re: 3dgs_snake] #371857
05/26/11 00:40
05/26/11 00:40
Joined: Apr 2009
Posts: 81
J
JakeBilbe Offline OP
Junior Member
JakeBilbe  Offline OP
Junior Member
J

Joined: Apr 2009
Posts: 81
I am guessing the full path would be "C:\program files\mygame\videos\" and the relative would be the local like "root\videos\"? if so how can I use the relative path?

Page 2 of 2 1 2

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1