How to use BIND

Posted By: DLively

How to use BIND - 03/31/14 06:37

As per another question, i am trying to BIND 4 .tga files to the resources folder when the game is published.

The manual states WDL files only. Does this mean that I am to save the script they are in as a .wdl ?
and if so, then how do I include it, because I tried to #include it and I got an error 'BIND undeclared indentifier'

This one is pretty important since I just wasted an entire evening setting all the models to extern for each skin.. and then some other related tedious work.. xD

Thank you! laugh
Posted By: Scifi

Re: How to use BIND - 03/31/14 07:33

Sorry for my bad English.

Create a .wdl file which has the same name as your main .c file, then open the wdl and bind your resources. next, open the .c file and build your project (with "Resource" option checked). it will automatically copies all the resources that were defined in the wdl to the .wrs.
Posted By: Dico

Re: How to use BIND - 03/31/14 08:13

he man just do this :

STRING* myfile1 = "your tga";

this can bind myfile1 to your wrs resource without need to create wdl and put bind in it
Posted By: DLively

Re: How to use BIND - 03/31/14 13:26

Thank you, both!
Appreciate the alternative ways laugh

This is very helpful laugh
© 2024 lite-C Forums