09.10.2011, 23:33
(
Последний раз редактировалось Pablo Borsellino; 10.10.2011 в 20:09.
)
![](http://s14.directupload.net/images/user/111010/hrme36yb.png)
today I've decided, to publish my next Open Source Project. I sincerely apologize for my imperfect English. With this Filterscript can you play Guitar Hero in Sa:Mp - jeah unique right?
![Wink](images/smilies/wink.png)
User Setting's:
pawn Код:
/***** Milliseconds to pause after pressing the right or the left button! *****/
#define pGUITAR_ARROW_SLEEP_TIME 100
/*********************** How far the guitar is streamed ***********************/
#define pGUITAR_DRAW_DISTANCE 40
/***************** Music in background, while playing Guitar! *****************/
#define pGUITAR_AUDIO_URL "http://pabloborsellino.square7.ch/GRP-Freeroam/Audio/LoginMusik.mp3"
/********************************* Note times **********************************
Example: 10,20,25,30,40,46,55,70
Created eight notes. While anyone play the guitar, they moving from top to
bottom. The first one after 10*100 Ms = 1000 Ms = 1 Second. The nother ones:
20 * 100 Ms = 2 Seconds
25 * 100 Ms = 2,5 Seconds
30 * 100 Ms = 3 Seconds
40 * 100 Ms = 4 Seconds
46 * 100 Ms = 4,6 Seconds
55 * 100 Ms = 5,5 Seconds
70 * 100 Ms = 7 Seconds
Here, the note is generated at random from note position 1 (leftmost), 2 (center
left), 3(center right) and 4 (rightmost). Do not use time intervals of less than
5 Ms. In the notes to be created quickly, the player thus has little chance to
get the notes. */
#define pGUITAR_NOTE_TIMES 8,16,24,32,40,48,56,64,70,80,85,90,98,105,112,119,125,134,148,156,170,179,194,200,208,216,224,232,240,248,256,260,264,270,280,285,290,298,305,312,319,330,340,350,356,362,370,387,393,400
/*************************** Maximal Count of notes ****************************
Count your numbers in the #define pGUITAR_NOTE_TIMES and use this Number in this
#define like: pGUITAR_NOTE_TIMES is: "8,16,24,32,40,48", so that are 6 Numbers..
now you have to use in this define (pGUITAR_MAX_NOTES) the six or more than six */
#define pGUITAR_MAX_NOTES 100
/********************************* Information *********************************
Search for "[[CHANGE THIS]]" (without the " ") via pressing STRG+F and change
the code at this lines. There you can input as example the Winamount or Messages
if a player plays guitar well or better... */
Video:
http://www.*******.com/user/PabloBor.../0/le0cFLuYG9k
PHP код:
http://www.*******.com/user/PabloBorsellino#p/u/0/le0cFLuYG9k
http://solidfiles.com/d/6672/ (Includes more stuff - Recommended)
http://pastebin.com/tLCttYYz
Changelog:
[PAWN]• v1.0 (10.10.2011)
-» Initial release
Rules:
Nother Mirrors: allowed
Editing Script: allowed
Removing Credits: allowed
Publish it: forbidden (Only on request)
Sell it: forbidden
Greetz!