Product Chat / Black model

Author
Message
granada
Forum Support
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 5th Feb 2017 23:08
Hi guys,i finaly got my simple gun model to show when collected but it is just black with no texture showing.has anybody come across this with a animated model before.thanks if you can help.

Dave
Windows 10 Pro
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
geistschatten
12
Years of Service
User Offline
Joined: 10th Apr 2012
Playing: GameGuru
Posted: 5th Feb 2017 23:51
Hi Dave,

Did you mean the gun is missing the texture when you're using it or when the model is laying on the ground/table/floor/etc. ?

Guns are different than regular models because if you need a pickup, you need to have it in the entitybank and then for the actual use (which you can set for the start marker), you also need the appropriate files in gamecore/guns.

Take a look at one of the stock weapons like the colt 1911, you'll see there is both an .fpe and .bmp in the Weapons folder of entitybank, and also the texture, model, HUD, VWEAP, gunspec, and sounds all in the gamecore/guns/modern/colt1911 folder.

Also, the FPE in the entitybank will point to the appropriate references in the gamecore/guns folder.

I'm sure I've done a horrible job of explaining all of that, but basically guns don't store the model/texture in the entitybank folder, they are stored in the gamecore/guns folder.
granada
Forum Support
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 6th Feb 2017 00:27
Hi geistschatten,the gun is there on the floor as a pickup that is all fine ,it shoots animates ok but just no texture when the hud is up for the gun.this is a realy simple mesh attached to the ray gun rig.i dont want to try anything more complicated untill i can get this part right.

Dave
Windows 10 Pro
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
granada
Forum Support
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 6th Feb 2017 23:34
Nobody else had this,or anything showing black in game .

Dave
Windows 10 Pro
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 6th Feb 2017 23:55
You can email me the weapon and the pickup and I can test it on my machine.

myke1net@hotmail.com
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 7th Feb 2017 00:17
If it's not a missing texture then sometimes if the model is too high poly it appears black in game. But sounds like it can't be if it is a simple mesh?

Cheers.
Wolf
Forum Support
16
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 7th Feb 2017 00:39
This is most likely a material related problem.
When in your 3d software, are there more than one material assigned? If so remove these

Login to post a reply

Server time is: 2024-07-05 12:13:01
Your offset time is: 2024-07-05 12:13:01