Jump to content

[scarCODE] server introCredits by IT07


IT07

Recommended Posts

server introCredits

by IT07

 

ABOUT

This concept was originally created by me for ArmA 2 DayZ but now it is here for ArmA 3 too :) Enjoy!

 

VIDEO

 

WHAT IS THIS?

This script is a very simple one-file installation which can be installed into the mission file.

It will then show fully configurable credits to any player that gets ingame. If the player does not want to watch the whole thing, they can skip it using the scroll menu.

The scroll action for skipping the intro will automatically remove itself after the credits are done showing.

 

FEATURE HIGHLIGHTS

- Fully configurable titles and texts

- Configurable text color

- Full control over speed

- Ability to show images

 

DOWNLOAD

https://github.com/IT07/A3_ScarCode_ScriptBundle

Link to comment
Share on other sites

hey  IT07

 

it is only a tip

change your script like this:

_credits = 
[["Welcome to",["Your Server name","<img image='Data\logo.paa' size='2' shadow='0' />"]],

["Admins",["ChuckNorris","Eddie Morphine"]],

["Server Mod",["Mod name","Another mod"]],

["Server antihack",["infiSTAR"]],

["Server scripts",["Some script","A script","Another script","script","Any script"]],

["Website",["yourwebsite.com"]],

["Twitter",["@name"]],
["Email",["[email protected]"]],

["Special thanks",["Chris (infiSTAR)"]]];

_titleColor = "#57877b"; // Color of credit title in HTML format. Link: http://html-color-codes.info/
_subColor = "#FFF"; // Same as above

it is 100% your script, but now it looks beter to change the infos

Link to comment
Share on other sites

hey  IT07

 

it is only a tip

change your script like this:

_credits = 
[["Welcome to",["Your Server name","<img image='Data\logo.paa' size='2' shadow='0' />"]],

["Admins",["ChuckNorris","Eddie Morphine"]],

["Server Mod",["Mod name","Another mod"]],

["Server antihack",["infiSTAR"]],

["Server scripts",["Some script","A script","Another script","script","Any script"]],

["Website",["yourwebsite.com"]],

["Twitter",["@name"]],
["Email",["[email protected]"]],

["Special thanks",["Chris (infiSTAR)"]]];

_titleColor = "#57877b"; // Color of credit title in HTML format. Link: http://html-color-codes.info/
_subColor = "#FFF"; // Same as above

it is 100% your script, but now it looks beter to change the infos

 

Yeah good tip! I will do, thanks.

Link to comment
Share on other sites

I've just added this onto our test server, and it looks like it doesn't like the AH, as it autobans standard users :(

 

Are you using infiSTAR's antihack or the default Epoch antihack?

Link to comment
Share on other sites

if I do not have infiSTAR's it will not work ?

I did not mean it like that. I am just saying that if you have another antihack than infiSTAR's then I will not be able to support you with getting it unblocked.

Link to comment
Share on other sites

  • 2 weeks later...

I'am assuming your script package runs server side?

 

I was not able to get this to work when i tested. And the only one i was able to get working how I wanted was a different version I found with added music, I believe the code was originally yours and someone else credited the work as theirs. the forum topic was locked.

Link to comment
Share on other sites

I'am assuming your script package runs server side?

 

I was not able to get this to work when i tested. And the only one i was able to get working how I wanted was a different version I found with added music, I believe the code was originally yours and someone else credited the work as theirs. the forum topic was locked.

 

It is not as hard as most people think. Send me your stuff and I'll install it for you. Then after that, look at the things I installed and do your best on trying to understand what I did. It is the best way of me showing you how to do it.

Link to comment
Share on other sites

ive installed many scripts via instructions, but yours just were not as clear as others. i have credits working on the server and all, and how i wanted it, i was just curious on how yours installed, being that I only wanted to try your credits script, but not use the others you included in the package.

 

with the one I am using its client side. where i just added a welcome.sqf to my init.sqf. but if i can make it server side, thats less for the client to load. So please tell me if im wrong on what I did.

 

I edited my description.ext

 

added

 

class introCredits // Server Intro Credits
  {
   file = "scarCODE\introCredits";
   class handleKilled {};
   class initCredits { postInit = 1; };
  };

 

pbo'd  the folder
introCredits

and file global.hpp and created scarCODE.pbo

copied the pbo to my @epochhive\addons folder

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 3 weeks later...

Having some trouble getting this to work.. mostly because I'm not totally sure what I'm doing with the files. I'm only trying to use the Intro Credits, here's what I've managed to do so far...

 

I've added:

class cfgFunctions
{
	/////// scarCODE functions ///////
	class scarCODE
	{
		tag = "SC";
		class introCredits
		{
			file = "scarCODE\introCredits";
			class initCredits { postInit = 1; };
		};
	};
};

to my description.ext, along with the #include "scarCODE\global.hpp"

 

What am I doing with the scarCODE\Intro Credits folder? And is global.hpp also going that folder? (scarCODE I mean, along with the Intro Credits file). And you mentioned something about packing up the pbo, is that just referring to repacking the mission.pbo? Or am I supposed to be pbo'ing the whole scarCODE file? Or just Intro Credits? lol. The way I currently have it, scarCODE\Intro Credits are in my mission PBO and global.hpp in scarCode, repacked, still not working. I'm probably making this more confusing than it needs to be but I just can't seem to get it sorted.

 

Thank in advance!

Link to comment
Share on other sites

@blue00

 

While reading your post, it seems you are nearly a beginner in this section ?

Thats no problem, keep cool.

 

But you should better read the given instructions, at least more precise.

In your description you have to put the #include line for the global.hpp, it doesnt matter in which folder you have it, only the path have to be correct.

The Intro credits folder goes in your missionfile, same here, it doesnt matter if you put it in the root directory of your missionfile or in a subfolder.

Ofcourse, if you are finished you have to repack your missionfile-folder into a .pbo file.

If you dont know how to do so or in the case you still doesnt know how to unpack (because of your questions) then read a tutorial for how to do so, that are basics you should to know.

Probably this is you are looking for: https://www.survivalservers.com/forum/index.php?/topic/1181-tutorialhow-to-unpackpack-your-server-and-mission-pbo/

 

Hope i could help a bit ^^

cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...