Welcome, Guest Friday 25th April 2014, 03:37:05
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: How to build a Loading screen with logo Tutorial  (Read 719 times)
0 Members and 1 Guest are viewing this topic.
Gunter Severloh
*
Offline Offline


WWW
« on: 30 Jun 2011, 21:04:28 »

Hello,

For all those who would like their own loading screen, with logo on main menu of the game, heres a config:
1.create a text document and post this in it:
2. Name the text doc config.cpp
3. create a folder name it (refer to next step)will be what your addon name is as you will be creating a pbo
4. the name of your pbo will be in the config, for example mine is warmod_loading as seen in the config
5.you will need a picture that is at least 512x512, no less or it wont work and then convert to paa.
6. change the classes seen in the config with your folder (addons name) mine is warmod_loading
7.put in your folder (my folder name is warmod_loading) you config, and paa
8. be sure to change all the paa in the config with the name you have of your paa
9.create a pbo, and throw into addons folder of a  mod folder of choice
Note: If you have nothing to create a pbo with then you will need a tool that you can use to extract and create pbos, go here:
http://dev-heaven.net/projects/mikero-pbodll/files
these 2 tools are good for this, I personally use extract.pbo
Eliteness2.88.rar
ExtractPbo1.80.rar

Code:
//Class WarMod_loading : config.bin{
class CfgPatches
{
 class WarMod_loading
 {
  units[] = {};
  weapons[] = {};
  requiredVersion = 0.1;
  requiredAddons[] = {"CAUI"};
 };
};
class RscStandardDisplay;
class RscText;
class RscProgress;
class RscLoadingText;
class RscProgressNotFreeze;
class RscPicture;
class CA_Mainback;
class CA_Black_Back;
class RscPictureKeepAspect;
class RscDisplayStart: RscStandardDisplay
{
 class controlsBackground
 {
  class CA_Black_Back3: CA_Black_Back{};
 };
 class controls
 {
  class LoadingPic: RscPictureKeepAspect
  {
   text = "\WarMod_loading\CoWarMod.paa";
  };
 };
};
class RscDisplayLoading
{
 class Variants
 {
  class LoadingOne
  {
   class controls
   {
    class LoadingPic: RscPictureKeepAspect
    {
     text = "\WarMod_loading\CoWarMod.paa";
    };
   };
  };
 };
};
class RscDisplayMain: RscStandardDisplay
{
 class controlsBackground
 {
  class Mainback: RscPicture{};
  class CA_ARMA2: RscPicture
  {
   text = "\WarMod_loading\CoWarMod.paa";
  };
 };
};
Note:
I spent about 4-5 days trying to figure this out as i was building one for my project for warmod, and I figured out what worked and what didn't, Instead of keeping this information or new knowledge to myself I like to share, do what you will with this tutorial, and surely theres probably better ways, or more ways to do this, but this is what worked for me, take it or leave it.

Moderators you will prob have to move this as originall this post was a post was about an error I was dealing with for this config.
« Last Edit: 02 Jul 2011, 16:51:18 by Gunter Severloh » Logged

upsilon
*
Offline Offline


« Reply #1 on: 03 Jul 2011, 22:45:20 »

Nice, good initiative.
Logged
Gunter Severloh
*
Offline Offline


WWW
« Reply #2 on: 04 Jul 2011, 05:12:04 »

Thanks, this here from BIS forums is a better updated version of the tutorial:
http://forums.bistudio.com/showthread.php?p=1972854#post1972854
Logged

Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: