Recording NPCs animation with new version (0.3b)
#1

Hi. I recorded serveral NPCs in a strip club. To be more specific, I recorded a dancer, an spectator and a man masturbating himself. This recording were simple because I used just one animation... but then I recorded a man as if he was reciving a blowjob... so it was a cycle animation. I recorded 3 cycle animations.
All of them four are inside the stripclub but the first time you enter you just see the man masturbating and the whore... the other 2 are there but just standing up. If you leave the place and enter for the second time you see now the spectator with his animation but the blowjob reciving man is still quite... So, I thought that it wasnt mine mistake but a version bug, given the fact that it is a beta version.
I leave the "reciving blowjob man" script here:
Код:
//
// Kye 2009
//

#include <a_npc>
/*#define RECORDING "bj"
#define RECORDING_TYPE 2 // 1 = si esta en Vehiculos - 2 = si esta Caminando*/
#define NUM_PLAYBACK_FILES 3
new gPlaybackFileCycle=0;

//------------------------------------------

main(){}

//------------------------------------------

NextPlayback()
{
   //  StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,"bj");
// Reset the cycle count if we reach the max
	if(gPlaybackFileCycle==NUM_PLAYBACK_FILES) gPlaybackFileCycle = 0;

	if(gPlaybackFileCycle==0) {
	    StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,"bjman1");
	}
	else if(gPlaybackFileCycle==1) {
	    StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,"bjman2");
	}
	else if(gPlaybackFileCycle==2) {
		StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,"bjman3");
	}

	gPlaybackFileCycle++;
}


//------------------------------------------

public OnRecordingPlaybackEnd()
{
    NextPlayback();
}

//------------------------------------------

public OnNPCEnterVehicle(vehicleid, seatid)
{
    NextPlayback();
}

//------------------------------------------

public OnNPCExitVehicle()
{
    StopRecordingPlayback();
    gPlaybackFileCycle = 0;
}

//------------------------------------------
public OnNPCSpawn()
{
    NextPlayback();
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)