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
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 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
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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | 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