Content

Post new topic Reply to topic

Particles Problem

Author Message
SparkingVegito View user's profile Send private message

Reply with quote Thursday, September 20, 2012

I inserted some characters in my pack and facing some problems like Particles_sparkRed could not register, Particle_rayWhite could not register.I am trying to make stable game pack.What does this could not register means.Anyone have solution of this problem? Confused

Skatter #*&@%! View user's profile Send private message

Reply with quote Friday, September 21, 2012

I think it means you're either missing the corresponding shader or texture for the White Ray texture, and the red spark texture. I could be wrong, but I think that's what's up. I haven't tinkered with the ZEQ2Lite particle system in some time Smile

SparkingVegito View user's profile Send private message

Reply with quote Monday, September 24, 2012

guys problem still not solved do something PLEASE!

Mima The Disciple View user's profile Send private message

Reply with quote Monday, September 24, 2012

It's like Skatter said. It's either a missing texture, or a problem with the shader file. Check if you have all files in ZEQ2/skills.

Zeth The Admin View user's profile Send private message

Reply with quote Wednesday, September 26, 2012

Skatter is correct. Did a quick grep of the source for you.

In cg_particlesystem_cache.c :

 else if ( !Q_stricmp( token, "map" )) {
         token = COM_Parse( text_pp );

         if ( !token[0] ) {
            CG_Printf( S_COLOR_RED "ERROR: unexpected end of file\n" );
            return qfalse;
         }

         if ( !(cachePtcl->shader = trap_R_RegisterShader( token ))) {
            CG_Printf( S_COLOR_YELLOW "WARNING: '%s': could not register\n", token );
         }
         
      } else if ( !Q_stricmp( token, "model" )) {
         token = COM_Parse( text_pp );

         if ( !token[0] ) {
            CG_Printf( S_COLOR_RED "ERROR: unexpected end of file\n" );
            return qfalse;
         }

         if ( !(cachePtcl->model = trap_R_RegisterModel( token ))) {
            CG_Printf( S_COLOR_YELLOW "WARNING:'%s': could not register\n", token );
         }


Which basically means that that the shader or model path you specified is wrong or does not exist. Double check it.

SparkingVegito View user's profile Send private message

Reply with quote Saturday, September 29, 2012

Zeth wrote : Skatter is correct. Did a quick grep of the source for you.

In cg_particlesystem_cache.c :

 else if ( !Q_stricmp( token, "map" )) {
         token = COM_Parse( text_pp );

         if ( !token[0] ) {
            CG_Printf( S_COLOR_RED "ERROR: unexpected end of file\n" );
            return qfalse;
         }

         if ( !(cachePtcl->shader = trap_R_RegisterShader( token ))) {
            CG_Printf( S_COLOR_YELLOW "WARNING: '%s': could not register\n", token );
         }
         
      } else if ( !Q_stricmp( token, "model" )) {
         token = COM_Parse( text_pp );

         if ( !token[0] ) {
            CG_Printf( S_COLOR_RED "ERROR: unexpected end of file\n" );
            return qfalse;
         }

         if ( !(cachePtcl->model = trap_R_RegisterModel( token ))) {
            CG_Printf( S_COLOR_YELLOW "WARNING:'%s': could not register\n", token );
         }


Which basically means that that the shader or model path you specified is wrong or does not exist. Double check it.



Zeth my boy I am still not able to understand. can you tell me where this file cg_particlesystem_cache.c is located? then may be I can open it via grep and also tell me where these files are located Particles_sparkYellow,Particles_sparkBlue and Particles_sparkRed?

SparkingVegito View user's profile Send private message

Reply with quote Monday, October 01, 2012

can no one solve this problem? Crying or Very sad

Maszek View user's profile Send private message

Reply with quote Tuesday, October 02, 2012

SparkingVegito wrote : can no one solve this problem? Crying or Very sad



Sigh. GRep is not an editor, but an error checker. Files with the extension .c are "programming" files. All Zeth said was that your file paths were wrong, though. I think you completely misunderstood his post Razz

Zeth The Admin View user's profile Send private message

Reply with quote Tuesday, October 02, 2012

GRep is not an editor, but an error checker


Grep is search utility for file contents.

SparkingVegito View user's profile Send private message

Reply with quote Wednesday, October 03, 2012

I am totally confused what to do! can anyone tell me how to use grep and what to do step by step? Rolling Eyes

Maszek View user's profile Send private message

Reply with quote Wednesday, October 03, 2012

SparkingVegito wrote : I am totally confused what to do! can anyone tell me how to use grep and what to do step by step? Rolling Eyes



You do NOT need to use GRep. Telling you for the second time:P All the problems you're having are missing files/files in the wrong folder.

AraVinD View user's profile Send private message

Reply with quote Wednesday, October 03, 2012

is plased with wrong file

SparkingVegito View user's profile Send private message

Reply with quote Thursday, October 04, 2012

I think I got half solution see what I have done. In skillsGeneric.psys file which is located in effects folder, I replaced some text with these:

effects/particles/rayRed


effects/particles/rayRed


effects/particles/thunderglob


effects/particles/thunderglob


effects/particles/thunderglob


effects/particles/thunderglob


and it solved my half of the problems!
please tell me how to fix particles_sparkRed just this one is only left and I fixed all. just tell me where is particles_sparkBlue,particles_sparkYellow and particles_sparkRed are located so that I can replace particle_sparkRed from revo5?

SparkingVegito View user's profile Send private message

Reply with quote Sunday, October 07, 2012

no one have answer of my problem? Crying or Very sad

Maszek View user's profile Send private message

Reply with quote Sunday, October 07, 2012

We have answered you multiple times, but you refuse to listen.

For the last time: YOUR FILE PATHS ARE WRONG/YOU HAVE MISSING FILES. I am not angry, used caps lock simply so you don't skip the answer again.

Linkxp500 View user's profile Send private message

Reply with quote Sunday, October 07, 2012

Maszek wrote : We have answered you multiple times, but you refuse to listen.

For the last time: YOUR FILE PATHS ARE WRONG/YOU HAVE MISSING FILES. I am not angry, used caps lock simply so you don't skip the answer again.



Your choice of words indicate that you were indeed irritated greatly, if not angered. Razz

SparkingVegito View user's profile Send private message

Reply with quote Tuesday, October 09, 2012

Maszek wrote : We have answered you multiple times, but you refuse to listen.

For the last time: YOUR FILE PATHS ARE WRONG/YOU HAVE MISSING FILES. I am not angry, used caps lock simply so you don't skip the answer again.



you mr. intelligent if you know just tell me where are particles_sparkRed, paricles_sparkBlue and particles_sparkYellow are located so that I can put file particles_sparkRed from revo5 to my pack? see the images properly and understand my problem carefully. Mad

.karma View user's profile Send private message

Reply with quote Tuesday, October 09, 2012

Hey KaraN tell me which revision of game you are using I will try this pack on my Window 8 Pro Mad

I`m Using loving 1536 revo that is not spporting to play on my win 8

Zeth The Admin View user's profile Send private message

Reply with quote Tuesday, October 09, 2012

you mr. intelligent if you know just tell me where are particles_sparkRed, paricles_sparkBlue and particles_sparkYellow are located so that I can put file particles_sparkRed from revo5 to my pack? see the images properly and understand my problem carefully.


Don't use a pack. Use the official 1536 revision.

The shader files for particles_sparkblue and sparkYellow are in the original scripts/effectsParticles.shader file. Each of these shaders use a different glob texture located in your effects/particles/ folder. There is no sparkRed or rayWhite so these will presumably need a shader and texture created.

SparkingVegito View user's profile Send private message

Reply with quote Thursday, October 11, 2012

Zeth wrote :

you mr. intelligent if you know just tell me where are particles_sparkRed, paricles_sparkBlue and particles_sparkYellow are located so that I can put file particles_sparkRed from revo5 to my pack? see the images properly and understand my problem carefully.


Don't use a pack. Use the official 1536 revision.

The shader files for particles_sparkblue and sparkYellow are in the original scripts/effectsParticles.shader file. Each of these shaders use a different glob texture located in your effects/particles/ folder. There is no sparkRed or rayWhite so these will presumably need a shader and texture created.



yah! Zeth now you gave me good and understanable answer. many many thanks to you! Very Happy

Post new topic Reply to topic

Actions

Online [ 0 / 6125]