I completed the modding of the Chaos weapon and added it to BF1942, Now when I try to test it I try to start the game and I get the splash screen then nothing. I have had this happen before when adding a new weapon so I figure I coded something wrong in the weapons object file. And Yes I did make a new Projectile for it too but I know the problem isn't that code. Can you look at the code and see if it is the code or the model itself crashing the program.
P.S. The scope is permanently attached to the model so that might be where the error in the code might be coming from.
P.S.S If I can get this to work I'll zip up a copy of the files, Model, Textures, and Code files, in winrar and upload them for you guys.
I never did find out what was crashing the game but I did find a few typos I had made and found out I was formating the textures wrong for the game. But even after undoing all the changes the game was still crashing so I reinstalled every thing and it is working fine now though I can't really run BFV with this machine very well. I don't like seeing a bunch of snowmen running around on the screen. This video card just isn't up to processing everything in BFV (Not enough vid ram) so all the bots are white.
If thy sleepth in a bed of roses, thy will most likely awake with thorns in thy backside if thou doeth not prepareth thy bed beforeth thy lie down.
Thanks. You know I have the bfv version I forgot there was a BF42 version. I'll DL late this evening and install it for next time I have a issue with it.
If thy sleepth in a bed of roses, thy will most likely awake with thorns in thy backside if thou doeth not prepareth thy bed beforeth thy lie down.
Ok finally had the time to sit down and code the Chaos Rifle and the game no longer crashes when loading it the animations work, the projectile works, the sound works, and the shell flies out all like it suppose to do. Problem is the model isn't showing up on the screen. Please help me figure out where the problem is. Here is my Geom. and object code.
Figured out why the model was not showing up. I had a typo in the geometry file so it wasn't locating the file. I fixed that and rerun the debugger again and it was locking up, no error message just locking up in mid map loading mode. That is when I found out BF doesn’t like more than one texture per model unless you use the multi/sub object mode of texturing the model. I redid the models textures to fix the rs files and renamed the one model that I did the typo on when I saved it so it could find the file. It now loads the model and everything works after a lot of tinkering with the object file, redoing the model again with the silencer and the scope as separate models except you can’t see the textures in game the whole gun is white, the silencer is black and white, and the scope is a dark grey along with the slide bolt. I figure it is my textures that are the problem. When converting them to a dds format I must be doing something wrong. What are the proper settings for exporting the Model in Max and the textures is Photoshop please. I can not fix any of the models I uploaded for everyone or the textures till this problem is solved. I will continue to make the models I am working on but won’t texture or export them till the problem is fixed. So those who are waiting on models from me sorry for the delay but you want a model that works in this game not one that just looks good on print. Thanks in advance for any help you can give me.
If thy sleepth in a bed of roses, thy will most likely awake with thorns in thy backside if thou doeth not prepareth thy bed beforeth thy lie down.
i´ve got the similar problem of texturing a model with the multimaterial editor. I tryed several options : unwrapping in "chanel 1" and mapping in chanel 1 - was ok but you cant lightmapping the model and the samplemaker crashed. I tryed the chanel 3 for unwrapping and texturing (someone said me its nesessary for lightmaping) but every time i set the mat ID for the collisions, or export the model with "force mat ID" the Texture is mixed too. Of course, the samplemaker make the .sample file, but you had no collisions .Im really confused about that, once i´ve exported a model with a multi texture, there was all perfect. But now, nothig works....
here my way of export: LOD01.. auto generate of LOD01-06 --> COL01 (mat id and clear uvw mapping) --> COL2 (copy of COL01) then export.
some pics:
the building is attached after i´ve textured it (attaching have also three options )
If you copied the lod to a new mesh called COL01, then you need not worry how the collision mesh "looks". COL meshes don't have uvmaps and are invisible ingame anyway, so that is normal. If you change the matIDs on the collision mesh, then it shouldn't effect the LOD. Also when you copy a mesh make sure to tell it to make the new object as a copy and NOT as a "Instance" or "Reference".
I believe what you are seeing is the textures on your new collision mesh getting mixed up. Since col meshes don't use textures, you can just ignore that. Note upon reimport the meshes will be a solid color anyways.