Gamestudio Links
Zorro Links
Newest Posts
nba2king Latest Roster Update Breakdown
by joenxxx. 10/14/25 06:06
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (Grant, joenxxx), 9,921 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
joenxxx, Jota, krishna, DrissB, James168
19170 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
wdl files #84966
08/07/06 13:23
08/07/06 13:23
Joined: Mar 2006
Posts: 724
the Netherlands
Frits Offline OP
User
Frits  Offline OP
User

Joined: Mar 2006
Posts: 724
the Netherlands
A possibility to put your *.wdl files in a different folder then the workfolder like;
Gstudio6
..Workfolder1: all the WED elements and Start.wdl for that game (1)
..Workfolder2: all the WED elements and Start.wdl for that game (2)
..etc.
..Scriptsfolder: all the scriptfiles needed for game1 and game 2

In this way, if you change a wdl file, it will effect all the games where it is used and the gamefolder in use has no elements that are not needed by the game.

Regards,
Frits


I like to keep scripting simple, life is hard enough as it is.
Regards,
Frits
Re: wdl files [Re: Frits] #84967
08/07/06 13:26
08/07/06 13:26
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
Just use a path statement with an absolute path, like this:
path "C:\\Shared Scripts";

Re: wdl files [Re: Excessus] #84968
08/07/06 13:31
08/07/06 13:31
Joined: Mar 2006
Posts: 724
the Netherlands
Frits Offline OP
User
Frits  Offline OP
User

Joined: Mar 2006
Posts: 724
the Netherlands
Tried it, does not work, look in the manual.

Regards,
Frits

Last edited by Frits; 08/07/06 13:32.

I like to keep scripting simple, life is hard enough as it is.
Regards,
Frits
Re: wdl files [Re: Frits] #84969
08/07/06 13:45
08/07/06 13:45
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
Hmm, the manual is contradictory here..
Quote:


-You can specify up to 32 PATH names, which will be searched in the given sequence. Paths are relative to the current work folder. In order to be able to copy your project to different locations, use relative paths for all files belonging to your project, and absolute paths for all files that are on an absolute location on your hard disk (like template scripts).
-All scripts must be located in the work folder.



We can use absolute paths for files that are on an absolute location on our hard disk like template scripts, but all scripts must be located in the work folder.

It works fine with template scripts and I have all my scripts except the one that is attached to the level in WED in a subdir of my work folder so I guess this limitation is only for the main script..

Have you actually tried it?

Re: wdl files [Re: Excessus] #84970
08/07/06 13:59
08/07/06 13:59
Joined: Mar 2006
Posts: 724
the Netherlands
Frits Offline OP
User
Frits  Offline OP
User

Joined: Mar 2006
Posts: 724
the Netherlands
I have tried it,
My start.wdl is in a folder 'Workfolder1' with all the elements from WED.
All my script files in the folder 'Scripts'.
Indeed I can't run my game, and when I loaded the start.wdl in SED all the included files will not automaticaly loading in SED and yes I have set Load Included Files in SED --> Configuration on the tab Environment.
When I open WED it say's;
Can't open file 'x.wdl'
Can't open file 'y.wdl'
Can't open file 'z.wdl'
etc
Now I have placed all the wdl files in the workfolder, then it works.
So you can only place the wdl files in a subfolder in the workfolder, and that is not what I want because then the wdl files are not visible for my other workfolder.

Regards,
Frits

Last edited by Frits; 08/07/06 14:49.

I like to keep scripting simple, life is hard enough as it is.
Regards,
Frits
Re: wdl files [Re: Frits] #84971
08/07/06 14:55
08/07/06 14:55
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
doesn't path "..\\scripts" work?

Re: wdl files [Re: FBL] #84972
08/07/06 15:57
08/07/06 15:57
Joined: Mar 2006
Posts: 724
the Netherlands
Frits Offline OP
User
Frits  Offline OP
User

Joined: Mar 2006
Posts: 724
the Netherlands
No, only when you make it a subfolder in the workfolder.
What I want is a subfolder in Gstudio6 named 'scripts' and that does not work.

C:
..Program Files
....Gstudio6
......Gamefolder; with start.wdl and WED entities
......Scripts; with the rest of the scripts

This does not work,

C:
..Program Files
....Gstudio6
......Gamefolder; with start.wdl and WED entities
........Scripts; with the rest of the scripts

This works.

Regards,
Frits


I like to keep scripting simple, life is hard enough as it is.
Regards,
Frits
Re: wdl files [Re: Frits] #84973
08/07/06 16:31
08/07/06 16:31
Joined: Sep 2004
Posts: 772
AndrewSwallow Offline
User
AndrewSwallow  Offline
User

Joined: Sep 2004
Posts: 772
Just add another path

path "C:\\Program Files\\Gstudio6\\Gamefolder\\Scripts"

The folders are absolute so you have to define EACH subfolder as well.

Andrew


Northern Aspire : northernaspire.com
Re: wdl files [Re: Frits] #84974
08/07/06 17:44
08/07/06 17:44
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Strange.
I just tried my example above and it works great for me.

Re: wdl files [Re: FBL] #84975
08/07/06 20:55
08/07/06 20:55
Joined: Jun 2003
Posts: 1,017
Germany
T
Thomas_Nitschke Offline
Senior Developer
Thomas_Nitschke  Offline
Senior Developer
T

Joined: Jun 2003
Posts: 1,017
Germany
That's what I thought when I first came across this thread... "../scripts" should do the job, indeed. I can't think of anything that could prevent this from functioning.


Formerly known as The Matrix - ICQ 170408644 I've been here for much longer than most people think. So where's my "Expert" status?
Page 1 of 2 1 2

Moderated by  aztec, Spirit 

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