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
0 registered members (), 18,767 guests, and 5 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
Add Folder / Add Path #340706
09/07/10 00:09
09/07/10 00:09
Joined: Jul 2008
Posts: 168
8
82RJZAE Offline OP
Member
82RJZAE  Offline OP
Member
8

Joined: Jul 2008
Posts: 168
When I add a path in the presets tab, I can add models that are in that folder using the WED Add Objects dialogue. If I try to use any models that are in a sub-directory however, WED gives me an error saying that it can't open the file.

For example, I add the path "models" in WED. When I add the model "pguard3.mdl" from the directory "models\palace-guard" and try to run my level, WED can't open it. It seems that the only way that WED can find the model file is if I add the sub-directory path. Do I have to add a path for every sub-directory?

Re: Add Folder / Add Path [Re: 82RJZAE] #340710
09/07/10 05:45
09/07/10 05:45

C
chris_oat
Unregistered
chris_oat
Unregistered
C



Originally Posted By: 82RJZAE
Do I have to add a path for every sub-directory?


i think you have to, but its not that hard, just add this:
PATH "foldername";

Re: Add Folder / Add Path [Re: ] #340851
09/08/10 00:33
09/08/10 00:33
Joined: Jul 2008
Posts: 168
8
82RJZAE Offline OP
Member
82RJZAE  Offline OP
Member
8

Joined: Jul 2008
Posts: 168
According to the manual, there is a 32 PATH names limit. Could that become a problem if every sub-directory must be added? Why is it that the WED Add Objects dialogue can read the models in the sub-directories but they cannot be found on run-time unless the path is explicitly set?

Re: Add Folder / Add Path [Re: 82RJZAE] #340889
09/08/10 11:34
09/08/10 11:34
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
i don't think it's necesary to have 32 subfolders, I have one for levels, other for code, other for sounds, other for folders and another one for models


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: Add Folder / Add Path [Re: painkiller] #340901
09/08/10 13:54
09/08/10 13:54
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
you can add 32 paths, but if you create models or images etc from script, you can tell to use these from the folder by writing "./pathfolder/file.ext".
This way you can use items from subfolders, without having to add the folder specifically...

Again, if it's for example a model dependant on a level, and both are in different folders, you have to add each of this folder. otherwise, non-dependant assets can be loaded like above.

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: Add Folder / Add Path [Re: Helghast] #340960
09/09/10 01:58
09/09/10 01:58
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
Get this...
Why bother having paths at all...
When you publish, all the files get put into one folder...
Try doing that, then save your wed/wmb and wmp and wdl or
.c... whatever into the new compiled/published folder ...
Then you have a clean folder with only the required files...
Then review your file sizes and work to optimize by reducing file sizes such as retexture using .dds files...
This procedure works wonders...
Then script out those damb path statements and make sure you back-up... Pays to play it safe...
// (But, there is something to be said for keeping things tidy...)
// None-the-less, it's a wonderful way to work at optimizing...

Re: Add Folder / Add Path [Re: TerraSame] #340963
09/09/10 03:22
09/09/10 03:22
Joined: Jul 2008
Posts: 168
8
82RJZAE Offline OP
Member
82RJZAE  Offline OP
Member
8

Joined: Jul 2008
Posts: 168
It would be useful to still have a sub-directory structure in tact unless you wanted a mess of models in only one directory.

Re: Add Folder / Add Path [Re: 82RJZAE] #341025
09/09/10 19:09
09/09/10 19:09
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
The mess that you refer to can have the icons arranged by "type" and then change the folder options to "details".
From there you can determine which files to optimize.
Of course you do not have to use that folder as your main construction folder.
Just simply use this concept to assist you in the optimization process.
Basically... these concepts are "food for thought"...


Moderated by  HeelX, rvL_eXile 

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