Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AbrahamR, wdlmaster, 7th_zorro, dr_panther, 1 invisible), 764 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
TIP: Tidy up your GameStudio work folder! #261144
04/16/09 00:27
04/16/09 00:27
Joined: Feb 2008
Posts: 69
Australia
M
MegaMarioDeluxe Offline OP
Junior Member
MegaMarioDeluxe  Offline OP
Junior Member
M

Joined: Feb 2008
Posts: 69
Australia
In case you didn't know, you can tidy up your GameStudio working directory.

Here's an example:

. (GameStudio work folder)
|
- scripts/ (Holds your scripts, eg. custom actions, etc).
|
- music/ (Holds your music, MP3s, etc)
|
- gfxdata/ (Holds sprites, images, panel overlays, etc).

In this layout, I did this in my main WDL script:

Code:
include <movement.wdl> //A5 Move Scripts
include <scripts\\actions.wdl> //My Actions, HENCE double backslash.


I hope this helps you tidy up your GameStudio files. If you want to get music, you'd just do play_mp3(music\\mysong.mp3) for example.


----
MegaMario
Regular 3D Game Studio User
http://www.krystalgaming.net
Re: TIP: Tidy up your GameStudio work folder! [Re: MegaMarioDeluxe] #261152
04/16/09 00:59
04/16/09 00:59
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
yes, always use multiple folders. makes your life much easier smile


~"I never let school interfere with my education"~
-Mark Twain
Re: TIP: Tidy up your GameStudio work folder! [Re: Germanunkol] #261265
04/16/09 15:54
04/16/09 15:54
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
and add the path

PATH "files\\models";
ore lite-c
#define PRAGMA_PATH "files\\models";

there must be a standard because my map names are always different

and the models do i put always under the map levels becuase you can load them white wed to


"empty"
Re: TIP: Tidy up your GameStudio work folder! [Re: flits] #261333
04/16/09 22:42
04/16/09 22:42
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
I want to add my 5 penny and said, that i had some errors with path
F.E, if i wrote

#define PRAGMA_PATH "models";
***
ent_create("model.mdl",***);

i got errors... but
ent_create("models\\model.mdl",***);
helped me in that case


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: TIP: Tidy up your GameStudio work folder! [Re: VeT] #261483
04/17/09 19:32
04/17/09 19:32
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
you made a litle mistake
after #define dont use the ;

else i dont know where the problem coms from
maby you will need the whole root to the folder


"empty"
Re: TIP: Tidy up your GameStudio work folder! [Re: flits] #261515
04/18/09 08:04
04/18/09 08:04
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
Ah yes, i just copypasted text to show general idea.

The whole root isnt good for end user... as i say, ent_create("models\\model.mdl",***); works nice


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: TIP: Tidy up your GameStudio work folder! [Re: VeT] #261558
04/18/09 14:07
04/18/09 14:07
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
yeah i tought that

i dont rember how but you can get the root of .exe that is started and then you will need to add the folder


"empty"
Re: TIP: Tidy up your GameStudio work folder! [Re: flits] #261664
04/19/09 11:04
04/19/09 11:04
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
%EXE_DIR% smile


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: TIP: Tidy up your GameStudio work folder! [Re: VeT] #261935
04/21/09 07:56
04/21/09 07:56
Joined: Feb 2008
Posts: 69
Australia
M
MegaMarioDeluxe Offline OP
Junior Member
MegaMarioDeluxe  Offline OP
Junior Member
M

Joined: Feb 2008
Posts: 69
Australia
Heh, yeah.

I don't think Panels like this layout too much. I've added a health bar image, but it won't show up, so I'll put it in my ROOT folder.


----
MegaMario
Regular 3D Game Studio User
http://www.krystalgaming.net

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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