DanTaco's Socceraddon for LFSlapper

View previous topic View next topic Go down

DanTaco's Socceraddon for LFSlapper

Post by DanTaco on Sun Aug 21 2016, 14:42

Hello Everyone,

I like to release a new version of this SoccerAddon for LFSlapper.

##########################
#HOW TO INSTALL THE ADDON (More infomation in the Readme.txt file)
##########################
-Be Sure you have the latest version of LFSLapper: https://www.lfs.net/forum/thread/58433-Release.
-Copy and Paste the 'soccer' folder into the Includes Folder. (LFSLapper7.0.4.3\bin\default\includes)
-Open the "addonsused.LPR" file (LFSLapper7.0.4.3\bin\default\includes\addonsused.LPR) and add the following lines:

include( "./includes/Soccer/Global.lpr");
include( "./includes/Soccer/AdminMenu.lpr");
include( "./includes/Soccer/PlayerList.lpr");
include( "./includes/Soccer/VoteSystem.lpr");
include( "./includes/Soccer/SetDetection.lpr");

To (De)Activate the Socceraddon ingame: Type !socceron/!socceroff
Restart the race or type !startsoccer to start a game.

Have Fun.

Changelog V0.2:

  • New Hitball Detection system: Uses the Carcontact insimpacket instead of my own hitballdetection system

    CatchEvent OnCarContact($PlayerA,$PlayerB,$PlayerA_Speed,$PlayerB_Speed,$PlayerA_X,$PlayerB_X,$PlayerA_Y,$PlayerB_Y)
    EndCatchEvent

    To use this script you must have/download LFSLapper version 7.0.4.3 or higher!!!!
  • Automatically Spawn car(The Ball) to center when making a goal. (DONE)
  • Can be turned off/on in adminmenu (DONE)
  • New commands to start/stop a game. (!startsoccer / !stopsoccer).(DONE)
  • Small Bugfixes.


Download






DanTaco
Admin

Posts : 27
Join date : 2016-08-19

View user profile

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum