| Home » Renegade Discussions » Mod Forum » Jonwil/scripts 
	| 
		
			| Re: Jonwil/scripts [message #316859 is a reply to message #316794] | Wed, 13 February 2008 05:12   |  
			| 
				
				|  |  Renx Messages: 2321
 Registered: April 2003
 Location: Canada
 
	Karma: 
 | General (2 Stars)Category Moderator
 |  |  |  
	| | Saberhawk wrote on Tue, 12 February 2008 22:08 |  | 
 
 Oh if only it wasn't just 8 lines of code and actually impressive.
 
 Edit: Here, have a diff
 
 
 Toggle Spoiler--- shaders.cpp	2007-08-15 17:11:06.000000000 -0700
 +++ shaders.cpp	2008-02-12 18:20:42.545462000 -0800
 @@ -215,6 +215,15 @@
 
 HRESULT DefaultShaderPluginClass::OnRender(unsigned int primitive_type, unsigned short start_index, unsigned short polygon_count, unsigned short min_vertex_index, unsigned short vertex_count)
 {
 +	if ((render_state->Textures[0] != NULL) && (strcmp(render_state->Textures[0]->Name,"stealth_effect.tga") == 0))
 +	{
 +		StateManager->SetRenderState(D3DRS_FILLMODE,D3DFILL_WIREFRAME);
 +	}
 +	else
 +	{
 +		StateManager->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
 +	}
 +
 if (ShaderHooks && !pluginsRequired)
 {
 if (ShaderCheckMaterial)
 
 
 
 
 | 
 
 Is there like a 1000 line minimum for something to qualify as "cool" these days? You're trying to hard if that's the case...
 
 ~Canucck
 
 
  
 
 [Updated on: Wed, 13 February 2008 05:19] Report message to a moderator |  
	|  |  | 
	Goto Forum:
	|  |  | Jonwil/scripts By: JohnDoe  on Mon, 11 February 2008 17:28 |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts By: Ryu  on Mon, 11 February 2008 20:43 |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts By: LR01  on Tue, 12 February 2008 09:52 |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts By: JohnDoe  on Tue, 12 February 2008 06:37 |  
	|  |  | Re: Jonwil/scripts By: LR01  on Tue, 12 February 2008 09:50 |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts By: Renx  on Tue, 12 February 2008 14:52 |  
	|  |  | Re: Jonwil/scripts By: Scrin  on Tue, 12 February 2008 15:17 |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts By: Scrin  on Wed, 13 February 2008 00:44 |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts By: Scrin  on Wed, 13 February 2008 01:18 |  
	|  |  | Re: Jonwil/scripts By: Renx  on Wed, 13 February 2008 05:12 |  
	|  |  | Re: Jonwil/scripts By: Ethenal  on Wed, 13 February 2008 15:45 |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts By: cnc95fan  on Tue, 12 February 2008 16:46 |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts By: Sir Kane  on Wed, 13 February 2008 04:11 |  
	|  |  | Re: Jonwil/scripts By: Ryu  on Wed, 13 February 2008 04:59 |  
	|  |  | Re: Jonwil/scripts By: LR01  on Thu, 14 February 2008 00:55 |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts By: JohnDoe  on Tue, 12 February 2008 18:41 |  
	|  |  | Re: Jonwil/scripts By: Ethenal  on Tue, 12 February 2008 19:11 |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts By: BlueThen  on Tue, 12 February 2008 20:03 |  
	|  |  | Re: Jonwil/scripts |  
	|  |  | Re: Jonwil/scripts By: Dover  on Tue, 12 February 2008 20:56 |  
	|  |  | Re: Jonwil/scripts By: Cunin  on Tue, 12 February 2008 23:55 |  
	|  |  | Re: Jonwil/scripts By: Sir Kane  on Wed, 13 February 2008 03:51 |  
	|  |  | Re: Jonwil/scripts By: reborn  on Wed, 13 February 2008 03:54 |  
	|  |  | Re: Jonwil/scripts By: Sir Kane  on Wed, 13 February 2008 04:00 |  
	|  |  | Re: Jonwil/scripts |  
 
 Current Time: Fri Oct 31 00:59:36 MST 2025 
 Total time taken to generate the page: 0.01248 seconds |