|
|
|
|
Re: Jonwil/scripts [message #316850 is a reply to message #316848] |
Wed, 13 February 2008 03:54 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
Sir Kane wrote on Wed, 13 February 2008 05:51 | How about you just paste the errors? lol
|
He want's to do it in private so he can post a screenshot too showing off his work, that no one else gets to use. Followed shortly by "jelos my wireframe?".
|
|
|
|
|
|
|
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: 0
|
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
|
|
|
Re: Jonwil/scripts [message #316968 is a reply to message #316859] |
Wed, 13 February 2008 15:45 |
|
Ethenal
Messages: 2532 Registered: January 2007 Location: US of A
Karma: 0
|
General (2 Stars) |
|
|
Renx wrote on Wed, 13 February 2008 06:12 |
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...
|
Like I said, inferiority complex...
-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29 | Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade
|
|
|
|
Re: Jonwil/scripts [message #317034 is a reply to message #316858] |
Thu, 14 February 2008 00:55 |
|
LR01
Messages: 842 Registered: April 2006 Location: The Netherlands
Karma: 0
|
Colonel |
|
|
Ryu wrote on Wed, 13 February 2008 12:59 |
Sir Kane wrote on Wed, 13 February 2008 11:11 |
Canadacdn wrote on Tue, 12 February 2008 18:10 |
JohnDoe wrote on Mon, 11 February 2008 18:28 | Are you guys still working on scripts? Would be nice if you could add an ingame anisotropic filtering option just like with anti-aliasing...thanks.
Oh and what about that shiny SBH shading stuff?
|
Phase 1: Download the 'Extended Renegade Config'. Change filtering to anisotropic.
Phase 2: ??????
Phase 3: Profit!
|
Wtf, how did my shitty application make it there? lol
|
I don't think it is that bad, nice skipping
Yeah it is pretty shitty.
|
Moding can be real Fun...
|
|
|
|