mirror of
https://github.com/PhantomGamesDevelopment/TWM2.git
synced 2026-07-10 22:14:36 +00:00
3.9.1 Update
Patched up some TWM2 bugs, re-did the Vardison Boss.
This commit is contained in:
parent
e80004bbd8
commit
5ebf31e057
11 changed files with 1697 additions and 1575 deletions
|
|
@ -235,7 +235,7 @@ function Medrepair(%obj, %targets){
|
|||
if(%obj.isreping == 0)
|
||||
return;
|
||||
if(%targets !$= ""){
|
||||
%numtrgs = getNumberOfWords(%targets);
|
||||
%numtrgs = getWordCount(%targets);
|
||||
for(%i = 0; %i < %numtrgs; %i++){
|
||||
%target = getWord(%targets, %i);
|
||||
if(vectorDist(%obj.getWorldBoxCenter(), %target.getWorldBoxCenter()) <= 10 && %target.getDamageLevel() > 0.0){
|
||||
|
|
@ -267,7 +267,7 @@ function Medrepair(%obj, %targets){
|
|||
function MedstopRepair(%obj){
|
||||
%obj.isreping = 0;
|
||||
if(%obj.reptargets !$= ""){
|
||||
%numtrgs = getNumberOfWords(%obj.reptargets);
|
||||
%numtrgs = getWordCount(%obj.reptargets);
|
||||
for(%i = 0; %i < %numtrgs; %i++){
|
||||
%target = getWord(%obj.reptargets, %i);
|
||||
if(%target.reping == 1){
|
||||
|
|
@ -305,6 +305,10 @@ function checkrevive(%obj){
|
|||
messageclient(%obj.client, 'MsgClient', "\c2This body is destroyed.");
|
||||
return;
|
||||
}
|
||||
if(%Tobj.isBoss == 1){
|
||||
messageclient(%obj.client, 'MsgClient', "\c2ARE YOU INSANE!?!??! YEAH... LETS JUST REVIVE THE DAMNED BOSS THAT JUST REKT YOU ABOUT 100 TIMES!!!!");
|
||||
return;
|
||||
}
|
||||
if(%Tobj.infected || %Tobj.isZombie) {
|
||||
messageclient(%obj.client, 'MsgClient', "\c2WHOA!!! We don't want to make the Undead.... UnDead AGAIN.");
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -26,8 +26,51 @@ datablock AudioProfile(ZombieHOWL)
|
|||
preload = true;
|
||||
};
|
||||
|
||||
//USED IN FLAMETHROWER
|
||||
//USED IN FLAMETHROWER / NMM
|
||||
//DO NOT REMOVE: NEEDED HERE
|
||||
datablock ParticleData(NMMissileBaseParticle) {
|
||||
dragCoeffiecient = 0.0;
|
||||
gravityCoefficient = -0.2;
|
||||
inheritedVelFactor = 0.0;
|
||||
|
||||
lifetimeMS = 800;
|
||||
lifetimeVarianceMS = 500;
|
||||
|
||||
useInvAlpha = false;
|
||||
spinRandomMin = -160.0;
|
||||
spinRandomMax = 160.0;
|
||||
|
||||
animateTexture = true;
|
||||
framesPerSec = 15;
|
||||
|
||||
textureName = "special/cloudflash";
|
||||
|
||||
colors[0] = "0.5 0.1 0.9 1.0";
|
||||
colors[1] = "0.5 0.1 0.9 1.0";
|
||||
colors[2] = "0.5 0.1 0.9 1.0";
|
||||
|
||||
sizes[0] = 2.5;
|
||||
sizes[1] = 2.7;
|
||||
sizes[2] = 3.0;
|
||||
|
||||
times[0] = 0.0;
|
||||
times[1] = 0.7;
|
||||
times[2] = 1.0;
|
||||
};
|
||||
|
||||
datablock ParticleEmitterData(NMMissileBaseEmitter) {
|
||||
ejectionPeriodMS = 10;
|
||||
periodVarianceMS = 0;
|
||||
|
||||
ejectionVelocity = 1.5;
|
||||
velocityVariance = 0.3;
|
||||
|
||||
thetaMin = 0.0;
|
||||
thetaMax = 30.0;
|
||||
|
||||
particles = "NMMissileBaseParticle";
|
||||
};
|
||||
|
||||
datablock ParticleData(ThrowerBaseParticle) {
|
||||
dragCoeffiecient = 0.0;
|
||||
gravityCoefficient = -0.2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue