This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//killstreak plugin by Lorgan (original idea by Vindicator) | |
object_event_add(Character,ev_create,0," | |
killStreak = 0; | |
currentStreak = global.paramPlayer.stats[KILLS]; | |
"); | |
object_event_add(Character,ev_step,ev_step_normal," | |
if (!global.isHost) exit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//killstreak plugin by Lorgan (original idea by Vindicator) | |
object_event_add(Character,ev_create,0," | |
killStreak = 0; | |
currentStreak = global.paramPlayer.stats[KILLS]; | |
"); | |
object_event_add(PlayerControl,ev_create,0," | |
alarm[0] = 300; | |
"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Arenafriendly(unit,trgunit) | |
local adv=df.global.world.units.active[0].civ_id | |
for k,v in pairs(df.global.world.units.active) do | |
if v.civ_id==adv then | |
if v== nil then | |
error("Invalid creature") | |
end | |
trgunit=df.global.world.units.active[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instance_create(41*6,16*6,NPC01); | |
with(NPC01) { | |
createAllyQuote(); | |
txt = "QQQQ-Hello.#This is a QQQQ-test map. QQQQ-"; | |
intelTxt = "You got the QQQQ-intel!#QQQQ-Hello. What am I QQQQ-#doing here?"; | |
object_event_add(NPC01, ev_other, NPC_EVENT_MEET, ' | |
if(global.myself.object.intel) { | |
addDialog(intelTxt, face, subFace); | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//combined RTD and Killstreak+BUFFS by Rumrusher/ZaSpai | |
//designed with partial Upgradeable Sentries (BassMakesPaste) compatibility | |
//original killstreak plugin by Lorgan (original idea by Vindicator) | |
//original rtd plugin by Lorgan | |
//edits the following: Sentry creation, begin and end steps, Sentry and N+B HUDs, numerous Character events, StabMask collision with Sentry and Character. Adds alarm[8] to Sentry and Character | |
//uses global.SerializeBuffer to sync new data. WILL CAUSE A HANG AND CRASH if you forget to take this plugin out when you join another server as client!!! | |
//known issues: incorrect new sentry build HP with respect to sentryBuffStats (IDK how to reference the Character object of the owner player of sentry). Haven't checked the sentry gibs issue thing (I may need to sync its bolt gain value) | |
//RTD mostly untouched apart from Rummy's inclusion of the Stomp attack for effect 16 | |
//Now with Vindicators weapon mod thrown into the mix may god have mercy on our souls if this work. | |
//kinda wigs out i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//combined RTD and Killstreak+BUFFS by Rumrusher/ZaSpai | |
//designed with partial Upgradeable Sentries (BassMakesPaste) compatibility | |
//original killstreak plugin by Lorgan (original idea by Vindicator) | |
//original rtd plugin by Lorgan | |
//edits the following: Sentry creation, begin and end steps, Sentry and N+B HUDs, numerous Character events, StabMask collision with Sentry and Character. Adds alarm[8] to Sentry and Character | |
//uses global.SerializeBuffer to sync new data. WILL CAUSE A HANG AND CRASH if you forget to take this plugin out when you join another server as client!!! | |
//known issues: incorrect new sentry build HP with respect to sentryBuffStats (IDK how to reference the Character object of the owner player of sentry). Haven't checked the sentry gibs issue thing (I may need to sync its bolt gain value) | |
//RTD mostly untouched apart from Rummy's inclusion of the Stomp attack for effect 16 | |
object_event_add(Character,ev_create,0," |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (player.class == CLASS_MEDIC || player.class == CLASS_ENGINEER || player.class == CLASS_SPY) && taunting{ | |
if tauntindex == 0 or tauntindex == tauntlength { | |
//Nwith(SentryTurret) team = 3; | |
effect = noone; | |
vspeed = 15; | |
moveStatus = 1; | |
} | |
} | |
if (player.class == CLASS_SOLDIER || player.class == CLASS_DEMOMAN || player.class == CLASS_SNIPER || player.class == CLASS_MEDIC||player.class == CLASS_PYRO ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Roll The Dice server plugin by lorgan | |
// current error the new sentry drop causes the plugin to add extra speed and send it plumeting to it's doom, also needs to be server sent so that players can see the orbital strike cannons. | |
global.canRoll = true; | |
global.effects = 28; | |
global.effect[0] = " Exploded!"; | |
global.effect[1] = " Turned into a timebomb! Detonation in 10 seconds!" | |
global.effect[2] = " froze for 10 seconds!"; | |
global.effect[3] = " Lost health!" | |
global.effect[4] = " can't jump for 20 seconds!"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object_event_add(Character,ev_step,ev_step_normal,' | |
repeat(global.frameskip) | |
{ | |
// Do movement | |
if(taunting) | |
{ | |
hspeed *= delta_mult_skip(baseFriction); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--create unit at pointer or given location and with given civ (usefull to pass -1 for enemy). Usage e.g. "spawnunit DWARF 0 Dwarfy" | |
--[=[ | |
Creature (ID), caste (number), name, x,y,z , civ_id(-1 for enemy, optional) for spawn. | |
Made by warmist, but edited by Putnam for the dragon ball mod to be used in reactions | |
note that it's extensible to any autosyndrome reaction to spawn anything due to this; to use in autosyndrome, you want \COMMAND spawnunit CREATURE caste_number name \LOCATION | |
TODO: | |
birth time | |
death time | |
real body size | |
blood max |
OlderNewer