Jeffros_challenge map missing pieces by bugs_ - TribalWar Forums
Click Here to find great hosting deals from Branzone.com


Go Back   TribalWar Forums > Current Gaming > Tribes Scripting and Modifying
Reload this Page Jeffros_challenge map missing pieces
Thread Tools
bugs_
VeteranXV
Old
1 - 10-03-2022, 00:05
Reply With Quote
sometimes i'll run into a map that has some special effect that doesn't work because of a missing piece

Jeffros_challenge is one of those maps. It is using 4 mine variants that don't exist on normal tribes and zadmin tribes configurations.

MineData Concussion
MineData FireBomb
MineData Pgren
MineData MortarBomb

looking around I found Concussion, FireBomb, and MortarBomb defined and used in the renegades mod.

unfortunately I can't find Pgren's MineData anywhere.

does Pgren ring any bells for anyone? Which mod might it be from?
 
bugs_ is offline
 
Sponsored Links
Plasmatic
VeteranXV
Old
2 - 12-01-2022, 01:33
Reply With Quote
I thought it might have been Meltdown, but no luck yet poking through my code pile.
 
Plasmatic is offline
 
Plasmatic
VeteranXV
Old
3 - 12-06-2022, 19:54
Reply With Quote

I should have known, HaVoC Tribes

Code:
ExplosionData puffQExp
{
   shapeName = "mortarex.dts";
   soundId   = shockExplosion;

   faceCamera = true;
   randomSpin = true;
   hasLight   = false;
   lightRange = 0;

   timeScale = 13.0;

   timeZero = 0.0;
   timeOne  = 0.500;

   colors[0]  = { 1.0, 1.0, 1.0 };
   colors[1]  = { 1.0, 1.0, 0.2 };
   colors[2]  = { 1.0, 1.0, 0.0 };
   radFactors = { 1.0, 1.0, 1.0 };
};
MineData Pgren { mass = 0.3; drag = 1.0; density = 2.0; elasticity = 0.15; friction = 1.0; className = "Handgrenade"; description = "Handgrenade"; shapeFile = "grenade"; shadowDetailMask = 4; explosionId = puffQExp; explosionRadius = 20; damageValue = 0.01; damageType = $SmallEnergyDamageType; kickBackStrength = 30; triggerRadius = 0.5; maxDamage = 2.0; 
	lightType = 2;   
	lightRadius = 6;
	lightTime = 0.16;
	lightColor = { 1, 1, 0};
}; 

function Pgren::onAdd(%this) { 
	schedule("Mine::Detonate(" @ %this @ ");",1.7,%this); 
} 

function Pgren::onDestroyed(%this) {
	Aoe::deployShape(%this, 25, $SmallEnergyDamageType, 8);
}

function AOE::check(%pos, %radius, %type, %object) {
	GameBase::applyRadiusDamage(%type, %pos, %radius, 0.001, 2, %object);
	schedule("AOE::check(\""@%[email protected]"\","@%[email protected]","@%[email protected]","@%[email protected]");",1,%object);
}

function Aoe::deployShape(%object, %radius, %type, %dur) {
	if($TeamItemCountAOE[GameBase::getTeam(%object)] < $TeamItemMax[Aoe]) { 
		%camera = newObject("Camera","Turret",DeployableAoe,true);
		addToSet("MissionCleanup", %camera);
		GameBase::setPosition(%camera,GameBase::getPosition(%object));

		GameBase::setTeam(%camera,GameBase::getTeam(%object));

		Gamebase::setMapName(%camera,"");
		%data = GameBase::getDataName(%camera);
		$TeamItemCountAOE[GameBase::getTeam(%object)]++;
		schedule("GameBase::setDamageLevel("@%[email protected]", 101);",%dur,%camera);
		schedule("$TeamItemCountAOE[" @ GameBase::getTeam(%object) @ "]--;",%dur-1,%camera);
		schedule("AOE::check(\""@getBoxCenter(%object)@"\","@%[email protected]","@%[email protected]","@%[email protected]");",0.5,%camera);			
		return %camera;
	}
	return false;
}
Think that's all of it.
 
Plasmatic is offline
 
Last edited by Plasmatic; 12-06-2022 at 19:58..
bugs_
VeteranXV
Old
4 - 12-06-2022, 20:42
Reply With Quote
isn't that bizarre. pgren is defined in havoc 1.5.9 but not in 1.7.0 so i missed it. thank you plasmatic!

in jeffros challenge there is a script set that looks like it is setting up a large fire pit with a big fire that is composed of a bunch of shell types exploding at certain locations over and over again. The pgren definition gives us a chance to put the original look/intent of the fire pit back in the air to see what it looks like.

unfortunately this is probably going to lag typical tribes client rendering which is probably why it was removed and lost.
 
bugs_ is offline
 
Plasmatic
VeteranXV
Old
5 - 12-07-2022, 01:39
Reply With Quote
Yeah, I was in the server earlier poking around, reminded me to look again!

Should be fine, we're not running early 2000's opengl anymore.
 
Plasmatic is offline
 
spockhammer
VeteranXV
Contributor
Old
6 - 12-07-2022, 14:12
Reply With Quote
Quote:
Originally Posted by Plasmatic View Post

I should have known, HaVoC Tribes

Code:
ExplosionData puffQExp
{
   shapeName = "mortarex.dts";
   soundId   = shockExplosion;

   faceCamera = true;
   randomSpin = true;
   hasLight   = false;
   lightRange = 0;

   timeScale = 13.0;

   timeZero = 0.0;
   timeOne  = 0.500;

   colors[0]  = { 1.0, 1.0, 1.0 };
   colors[1]  = { 1.0, 1.0, 0.2 };
   colors[2]  = { 1.0, 1.0, 0.0 };
   radFactors = { 1.0, 1.0, 1.0 };
};
MineData Pgren { mass = 0.3; drag = 1.0; density = 2.0; elasticity = 0.15; friction = 1.0; className = "Handgrenade"; description = "Handgrenade"; shapeFile = "grenade"; shadowDetailMask = 4; explosionId = puffQExp; explosionRadius = 20; damageValue = 0.01; damageType = $SmallEnergyDamageType; kickBackStrength = 30; triggerRadius = 0.5; maxDamage = 2.0; 
	lightType = 2;   
	lightRadius = 6;
	lightTime = 0.16;
	lightColor = { 1, 1, 0};
}; 

function Pgren::onAdd(%this) { 
	schedule("Mine::Detonate(" @ %this @ ");",1.7,%this); 
} 

function Pgren::onDestroyed(%this) {
	Aoe::deployShape(%this, 25, $SmallEnergyDamageType, 8);
}

function AOE::check(%pos, %radius, %type, %object) {
	GameBase::applyRadiusDamage(%type, %pos, %radius, 0.001, 2, %object);
	schedule("AOE::check(\""@%[email protected]"\","@%[email protected]","@%[email protected]","@%[email protected]");",1,%object);
}

function Aoe::deployShape(%object, %radius, %type, %dur) {
	if($TeamItemCountAOE[GameBase::getTeam(%object)] < $TeamItemMax[Aoe]) { 
		%camera = newObject("Camera","Turret",DeployableAoe,true);
		addToSet("MissionCleanup", %camera);
		GameBase::setPosition(%camera,GameBase::getPosition(%object));

		GameBase::setTeam(%camera,GameBase::getTeam(%object));

		Gamebase::setMapName(%camera,"");
		%data = GameBase::getDataName(%camera);
		$TeamItemCountAOE[GameBase::getTeam(%object)]++;
		schedule("GameBase::setDamageLevel("@%[email protected]", 101);",%dur,%camera);
		schedule("$TeamItemCountAOE[" @ GameBase::getTeam(%object) @ "]--;",%dur-1,%camera);
		schedule("AOE::check(\""@getBoxCenter(%object)@"\","@%[email protected]","@%[email protected]","@%[email protected]");",0.5,%camera);			
		return %camera;
	}
	return false;
}
Think that's all of it.
Gonnaadd this site to my subreddit nice post
 
spockhammer is online now
 
Milk-Man
VeteranXX
Old
7 - 12-07-2022, 14:16
Reply With Quote
Quote:
Originally Posted by spockhammer View Post
Gonnaadd this site to my subreddit nice post
what is your subreddit?
 
Milk-Man is offline
 
spockhammer
VeteranXV
Contributor
Old
8 - 12-07-2022, 15:15
Reply With Quote
Starsiege: Tribes 1
 
spockhammer is online now
 
spockhammer
VeteranXV
Contributor
Old
9 - 12-07-2022, 15:16
Reply With Quote
it is mostly for ppl who watch tribes videos on tv and phone

avgs about 2k views a month with 50 uniques

stats are on the subreddit


but had a recent grow burst and now i think its gonna be closer to 3-4k view a month


nothing compared to tw but its a nice net positive
 
spockhammer is online now
 


Go Back   TribalWar Forums > Current Gaming > Tribes Scripting and Modifying
Reload this Page Jeffros_challenge map missing pieces

Social Website Bullshit


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


AGENT: CCBot/2.0 (https://commoncrawl.org/faq/) / Y
All times are GMT -4. The time now is 16:38.