3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: racing points leaderboard  (Read 1017 times)

« on: May 17, 2012, 05:35:53 AM »
I have made my game and i will post it later.

My game has 3 races but i need like a point system,the races are separate 3dr files and i don't know that much about scripting to do this

Could someone help me :)
« Reply #1 on: June 22, 2012, 05:02:07 AM »
use counter object. i cant upload demo coz my pc pack is finished.read help
« Reply #2 on: June 24, 2012, 07:03:37 AM »
Quote
i don't know that much about scripting to do this
Could someone help me

help you do what... learn scripting... or write your game code for you...

--Mike
« Reply #3 on: June 27, 2012, 08:54:37 PM »
Learn script, i can only do basic batch file coding.
« Reply #4 on: October 19, 2012, 05:00:42 AM »
//////////////////////////////////////////
//( IT"S SERVER SYSTEM )
//////////////////////////////////////////
string IN_Command;

void GetPlayerInfo(string OUT_Command,int Namber)
      {
      iNetStringSend (OUT_Command, Namber, false);
      }
     
void Main()
{
/*
SERVER SCRIPT PLACE
*/
string PlayerName;
string PlayerPlace;
GetPlayerInfo("cl_give_result",0);//command get result
//обработка данных ( String Process )
if (iNetStringReceive (IN_Command) > 0)
{
// get player namber (why give on server result) it's system used namber ( 1...9 ) NOT MORE !
iStringLeft (String Text_Namber, IN_Command, 1) ;
/*{
   system of namber player you can make :)
   }*/
// String Command for exsample (1_1_Sasha) - (it's = 1 (ID client) on (first place) (NickName) Sasha) :)

iStringMid (String Text_Place, IN_Command, 3, 1);//get player place

// SYSTEM GET USER NICKNAME
Int NameLine = iStringLen (IN_Command);
iStringMid (string Player_Name, IN_Command, 4, NameLine-4);

string Result=Player_Name+" : "+Text_Place;
Int Line = iStringLen (Result);
}
iStringMid (string OUT_player_Result, Result, 0, Line);
string OUT_Result=OUT_player_Result+"\r";
iPrint(OUT_Result,50,50,OBJ_X);
}
///****************************************************************************************
///****************************************************************************************
///CLIENT
string Command;
string out_cmd;
void Main();
{
/*
SYSTEM PLAYER PLACE
{}
YOU CAN MAKE ON COORDINATS ( END x y z coordinats )
*/
/*
{}
*/
/*
System MyID
*/
string MyID=(&&);//
string MyPlace=(&&);//
string MyNickName=(&&);//

out_cmd=MyID+MyPlace+MyNickName;
if (iNetStringReceive (Command) > 0) SysCommand(out_cmd);
}
void SysCommand(string sv_cmd)
{
if (sv_cmd="cl_give_result")  iNetStringSend (out_cmd, 0, false);
}
Pages: [1]