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 (), 16,302 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
Resource question about files #401224
05/15/12 16:40
05/15/12 16:40
Joined: Nov 2009
Posts: 201
Logitek Offline OP
Member
Logitek  Offline OP
Member

Joined: Nov 2009
Posts: 201
Hello,

i have a question about the resource files.

For example, if i have two resource files with same modelname in resource 1 and for example also in resource 9:

1. Resource "IamNrOne.wrs" includes the file test.mdl

9. Resource "IamNrTwo.wrs" includes also a file named test.mdl

Which file will be used by gamestudio?
The one of the first resource file? Or the one from the latest resource file?

Which order does gamestudio use?

Thanks.

Re: Resource question about files [Re: Logitek] #401291
05/16/12 12:19
05/16/12 12:19
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
If the resources are included automatically, the order is random, i.e. it's the order in which the files are listed in the directory. You should then avoid having files with the same name in different WRS files.

It the resources are included with a RESOURCE statement in the WDL file, the order is the same as in the file.


Moderated by  old_bill, Tobias 

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