Scepter

View previous topic View next topic Go down

Scepter

Post by Andy on Tue Dec 20, 2016 3:42 am

//Scepter Script

// ZONE
place lmd_stashzone -400 count,1,targetname,scepterZone,maxs,99999 99999 99999,mins,-99999 -99999 -99999,group,scepterx; wait 30;


// SCEPTER
place lmd_stashspawnpoint 32 spawnflags,65536,zone,scepterZone,name,^3Scepter,resetmessage,^5S^7erver: The Scepter was ^1Respawned!,color,1 1 1,light,128,model,map_objects/mp/mp_scepter,spawntarget,scepterSpawned,pickuptarget,scepterPicked,droptarget,scepterDropped,resettarget,scepterReset,targetname,makeScepter,group,scepterx; wait 60;


// SPAWN
place target_print * targetname,scepterSpawned,spawnflags,16,message,^5S^7erver: The Scepter was ^1Spawned,group,scepterx; wait 60;
place target_deactivate * targetname,scepterSpawned,target,scepterCR,group,scepterx; wait 60;


// TAKEN!
place target_print * targetname,scepterPicked,spawnflags,16,message,^5S^7erver: The Scepter was ^1Stolen!,group,scepterx; wait 60;
place target_deactivate * targetname,scepterPicked,target,scepterDropReset,group,scepterx; wait 60;

place target_scriptrunner * targetname,scepterPicked,count,-1,spawnflags,1,Usescript,anims/forcerage,group,scepterx; wait 30;

place lmd_playercheck * targetname,scepterPicked,profession,2,target,ysal,target2,boon,group,scepterx; wait 60;
place target_powerup * targetname,boon,wait,60,powerup,14,group,scepterx; wait 60;
place target_powerup * targetname,ysal,wait,60,powerup,15,group,scepterx; wait 60;
place target_powerup * targetname,scepterPicked,wait,60,powerup,1,group,scepterx; wait 60;
place target_powerup * targetname,scepterPicked,wait,60,powerup,2,group,scepterx; wait 60;
place target_powerup * targetname,scepterPicked,wait,60,powerup,7,group,scepterx; wait 60;

place lmd_customskill * targetname,scepterPicked,spawnflags,1,skill,scepterskill,value,1,group,scepterx; wait 60;

place target_activate * targetname,scepterPicked,target,scepterCR,group,scepterx; wait 60;

place target_delay * targetname,scepterPicked,target,scepterCR,wait,60,group,scepterx; wait 60;
place target_delay * targetname,scepterPicked,target,scepterCR,wait,120,group,scepterx; wait 60;
place target_delay * targetname,scepterPicked,target,scepterCR,wait,180,group,scepterx; wait 60;
place target_delay * targetname,scepterPicked,target,scepterCR,wait,240,group,scepterx; wait 60;
place target_delay * targetname,scepterPicked,target,scepterCR,wait,300,group,scepterx; wait 60;
place target_delay * targetname,scepterPicked,target,scepterCR,wait,360,group,scepterx; wait 60;
place target_delay * targetname,scepterPicked,target,scepterCR,wait,420,group,scepterx; wait 60;
place target_delay * targetname,scepterPicked,target,scepterCR,wait,480,group,scepterx; wait 60;
place target_delay * targetname,scepterPicked,target,scepterCR,wait,540,group,scepterx; wait 60;
place target_delay * targetname,scepterPicked,target,scepterCR,wait,600,group,scepterx; wait 60;

//Powerdown (to balance the scepter's power)
place lmd_speed * count,90,targetname,scepterCR,time,9,group,scepterx; wait 60;
place lmd_gravity * count,1200,targetname,scepterCR,time,8,group,scepterx; wait 60;
place trigger_multiple * targetname,scepterCR,target,scepterpd,target2,scepterpd2,speed,1; wait 60;
place target_remove_powerups * targetname,scepterpd,group,scepterx; wait 60;
place target_powerup * targetname,scepterpd2,powerup,4,wait,10,group,scepterx; wait 60;

place target_powerup * targetname,boon2,wait,50,powerup,1,group,scepterx; wait 60;
place target_powerup * targetname,boon2,wait,50,powerup,2,group,scepterx; wait 60;
place target_powerup * targetname,boon2,wait,50,powerup,7,group,scepterx; wait 60;
place target_powerup * targetname,ysal2,wait,50,powerup,1,group,scepterx; wait 60;
place target_powerup * targetname,ysal2,wait,50,powerup,2,group,scepterx; wait 60;
place target_powerup * targetname,ysal2,wait,50,powerup,7,group,scepterx; wait 60;

place lmd_playercheck * targetname,scepterCR,profession,2,target,ysal2d,target2,boon2d,group,scepterx; wait 60;
place target_delay * targetname,boon2d,target,boon2,delay,10,group,scepterx; wait 60;
place target_delay * targetname,ysal2d,target,ysal2,delay,10,group,scepterx; wait 60;
place target_powerup * targetname,boon2,wait,50,powerup,14,group,scepterx; wait 60;
place target_powerup * targetname,ysal2,wait,50,powerup,15,group,scepterx; wait 60;

place lmd_playercheck * targetname,scepterCR,customskill,scepterskill,customskillvalue,1,customskillcompare,-1,target,scepterCR1,target2,scepterCR2c,group,scepterx; wait 30;
place target_credits * targetname,scepterCR1,count,60,target,scepterlevelup,group,scepterx; wait 60;
place lmd_playercheck * targetname,scepterCR2c,customskill,scepterskill,customskillvalue,2,customskillcompare,-1,target,scepterCR2,target2,scepterCR3c,group,scepterx; wait 30;
place target_credits * targetname,scepterCR2,count,120,target,scepterlevelup,group,scepterx; wait 60;
place lmd_playercheck * targetname,scepterCR3c,customskill,scepterskill,customskillvalue,3,customskillcompare,-1,target,scepterCR3,target2,scepterCR4c,group,scepterx; wait 30;
place target_credits * targetname,scepterCR3,count,180,target,scepterlevelup,group,scepterx; wait 60;
place lmd_playercheck * targetname,scepterCR4c,customskill,scepterskill,customskillvalue,4,customskillcompare,-1,target,scepterCR4,target2,scepterCR5c,group,scepterx; wait 30;
place target_credits * targetname,scepterCR4,count,240,target,scepterlevelup,group,scepterx; wait 60;
place lmd_playercheck * targetname,scepterCR5c,customskill,scepterskill,customskillvalue,5,customskillcompare,-1,target,scepterCR5,target2,scepterCR6c,group,scepterx; wait 30;
place target_credits * targetname,scepterCR5,count,300,target,scepterlevelup,group,scepterx; wait 60;
place lmd_playercheck * targetname,scepterCR6c,customskill,scepterskill,customskillvalue,6,customskillcompare,-1,target,scepterCR6,target2,scepterCR7c,group,scepterx; wait 30;
place target_credits * targetname,scepterCR6,count,360,target,scepterlevelup,group,scepterx; wait 60;
place lmd_playercheck * targetname,scepterCR7c,customskill,scepterskill,customskillvalue,7,customskillcompare,-1,target,scepterCR7,target2,scepterCR8c,group,scepterx; wait 30;
place target_credits * targetname,scepterCR7,count,420,target,scepterlevelup,group,scepterx; wait 60;
place lmd_playercheck * targetname,scepterCR8c,customskill,scepterskill,customskillvalue,8,customskillcompare,-1,target,scepterCR8,target2,scepterCR9c,group,scepterx; wait 30;
place target_credits * targetname,scepterCR8,count,480,target,scepterlevelup,group,scepterx; wait 60;
// Other events can be added for example speed \
place target_print * targetname,scepterCR8,spawnflags,4,message,^3Scepter Lvl8 - ^2Speed Increased!,group,scepterx; wait 30;
place lmd_speed * targetname,scepterCR8,count,700,group,scepterx; wait 60;
place target_scriptrunner * targetname,scepterCR8,count,-1,spawnflags,1,Usescript,anims/forcerage,group,scepterx; wait 30;
// Other events can be added for example speed /
place lmd_playercheck * targetname,scepterCR9c,customskill,scepterskill,customskillvalue,9,customskillcompare,-1,target,scepterCR9,target2,scepterCR10c,group,scepterx; wait 30;
place target_credits * targetname,scepterCR9,count,540,target,scepterlevelup,group,scepterx; wait 60;
place lmd_playercheck * targetname,scepterCR10c,customskill,scepterskill,customskillvalue,10,customskillcompare,-1,target,scepterCR10,group,scepterx; wait 30;
place target_credits * targetname,scepterCR10,count,600,target,scepterReset,group,scepterx; wait 60;

place lmd_customskill * targetname,scepterlevelup,skill,scepterskill,value,1,group,scepterx; wait 60;

// DROPPED!
place target_print * targetname,scepterDropped,spawnflags,16,message,^5S^7erver^7: The Scepter ^1Dropped!,group,scepterx; wait 60;
place target_remove_powerups * targetname,scepterDropped,group,scepterx; wait 60;
place target_deactivate * targetname,scepterDropped,target,scepterCR,group,scepterx; wait 60;
place target_activate * targetname,scepterDropped,target,scepterDropReset,group,scepterx; wait 60;
place target_delay * targetname,scepterDropped,delay,50,target,scepterDropReset,group,scepterx; wait 60;
place target_relay * targetname,scepterDropReset,target,scepterReset,group,scepterx; wait 60;

// RESET!
place target_print * targetname,scepterReset,spawnflags,16,message,^5S^7erver: The Scepter has ^1Reseted!,group,scepterx; wait 60;
place target_remove_powerups * targetname,scepterReset,group,scepterx; wait 60;
place target_relay * targetname,scepterReset,target,makeScepter,group,scepterx; wait 60;
place trigger_multiple * targetname,scepterReset,target,scepterZoneDeact,target2,scepterZoneAct,speed,1,group,scepterx; wait 30;
place target_deactivate * targetname,scepterZoneDeact,target,scepterZone,group,scepterx; wait 30;
place target_activate * targetname,scepterZoneAct,target,scepterZone,group,scepterx; wait 30;


Script Not Working?/Bug? Pm Me
avatar
Andy
Administrator

Posts : 7
Points : 330
Reputation : 0
Join date : 2016-12-12
Age : 17
Location : Jakku

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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