Author Topic: Class Selection Script  (Read 3932 times)

Force

  • Developer
  • Full Member
  • *****
  • Posts: 204
  • Karma: +6/-2
    • View Profile
Class Selection Script
« on: March 20, 2011, 12:47:08 am »
Class Selection Script

Information
This simple class selection script has been written to help out those who wish to show the skin name, or team name, of the selected skin, whilst on the skin selection screen.

Installation
To install this script, extract the files to your 'Scripts' folder in your server directory. Once you have done so, add the following to your content.xml

Code: (xml) [Select]
<script folder="ClassSelection"/>
Read the comments at the top of the script for information on toggling between team/skin name and big/small messages.

Script History
v0.2 - Added in an easy way to switch between showing skin/team names and using big/small messages.
v0.1 - Initial Release

Download
Latest Release: Class Selection Script
« Last Edit: March 20, 2011, 08:32:07 pm by Force »
Quote
[Tue - 20:09:35] <&VRocker> CRAP!
[Tue - 20:09:43] <&VRocker> i think i just followed through...
Quote
[Sat - 22:11:56] <~Smapy> [R3V]breSt12 killed [R3V]Jack_Bauer. (Splat)

xxxMDjxxx

  • Jr. Member
  • **
  • Posts: 54
  • Karma: +0/-0
  • SS-division*game hosting
    • View Profile
Re: Class Selection Script
« Reply #1 on: March 20, 2011, 01:49:27 am »
God bless you!
I was banging my head against the wall for a code like this :)
Ill test it tomorow, its 1:46 in the morning here in slovenia,and im testing my samsung galaxy s, btw works perfect with LU site.

matheo

  • Jr. Member
  • **
  • Posts: 87
  • Karma: +2/-20
  • Virtual owners - Clan Leader
    • View Profile
Re: Class Selection Script
« Reply #2 on: March 20, 2011, 12:19:36 pm »
I have this script and it's great :))) ou don't must use skinname smallmessage can you edit

BigMessage ("Claude"2000,1 );


:)
We recrutiment to clan !!! ;-)

Force

  • Developer
  • Full Member
  • *****
  • Posts: 204
  • Karma: +6/-2
    • View Profile
Re: Class Selection Script
« Reply #3 on: March 20, 2011, 08:33:17 pm »
I have uploaded a new version of the script which easily allows you to switch between using skin name or team, as well as the option to use big or small message functions.

Code: [Select]
// Change this to 1 if you want to show team names instead of skin names
const _TEAM_MESSAGE = 0;
// Change this to 0 if you want to show big messages instead of small messages
const _SMALL_MESSAGE = 1;

All you need to do is simply change these options, located at the top of Main.nut. :)
Quote
[Tue - 20:09:35] <&VRocker> CRAP!
[Tue - 20:09:43] <&VRocker> i think i just followed through...
Quote
[Sat - 22:11:56] <~Smapy> [R3V]breSt12 killed [R3V]Jack_Bauer. (Splat)

matheo

  • Jr. Member
  • **
  • Posts: 87
  • Karma: +2/-20
  • Virtual owners - Clan Leader
    • View Profile
Re: Class Selection Script
« Reply #4 on: March 20, 2011, 08:41:44 pm »
Can be good when force,vrocker,juppi etc.create a RCON COMMANDS cause we need and can create a clnwar mode :)
We recrutiment to clan !!! ;-)

kerm68

  • Newbie
  • *
  • Posts: 25
  • Karma: +4/-1
    • View Profile
Re: Class Selection Script
« Reply #5 on: November 22, 2011, 06:02:38 pm »
The link is broken, damn!

VRocker

  • Liberty Unleashed Developer
  • Administrator
  • Full Member
  • ******
  • Posts: 342
  • Karma: +43/-15
    • View Profile
    • Madnight Software
Re: Class Selection Script
« Reply #6 on: November 22, 2011, 06:33:28 pm »
I'm in the process of moving everything on vrocker-hosting to another server and like a tit i forgot to copy the files over before changing the DNS.

Links should be restored within the hour :)


 

© Liberty Unleashed Team.