I am trying to resurrect some old models from a spring 82 mod to spring 94. In the old version the model was working fine. In the new version when I set shadows = on, at spring preferences, I get a black model in-game. If I set shadows = off then the model is fine.
I tried adjusting the green channel in my second texture, but to no avail.
I even tried using a texture from another model (I changed the textures in upspring - dimensions match, and the texture is not black!) that works fine in spring 94, but I still get a black model.
Any ideas?
Thanks!
Problem with shadow in-game
Moderators: MR.D, Moderators
Re: Problem with shadow in-game
Nope. Post the model files so some can help you.
- tyran_nick
- Posts: 47
- Joined: 07 Mar 2010, 12:42
Re: Problem with shadow in-game
I ve uploaded two models (s3o, textures and scripts, unit defs just in case).
https://www.dropbox.com/s/eiikr8t74kboid7/models.zip
Thanks!
https://www.dropbox.com/s/eiikr8t74kboid7/models.zip
Thanks!
Re: Problem with shadow in-game
Lol. Well I can't really help(about to go jump into the jungle and internet gets expensive in new guinea. But maybe some else can. Best of luck!
Re: Problem with shadow in-game
sounds more like your graphics card/driver does not like new spring version. Are units in other mods black too?
Re: Problem with shadow in-game
Normals. I had this too.
Load it into upspring and invert the normals.
Load it into upspring and invert the normals.
- tyran_nick
- Posts: 47
- Joined: 07 Mar 2010, 12:42
Re: Problem with shadow in-game
It was the normals, thanks!
Re: Problem with shadow in-game
hurray, world notice my advice was usefull once! Although it was not my advice in the first place. Thanks goes to devs, who regularly sort this sort of "moddev-bugs" out of the mantis prayers.
Report bugs, they would report you if they could!
Report bugs, they would report you if they could!
- tyran_nick
- Posts: 47
- Joined: 07 Mar 2010, 12:42
Issues with translating from spring 82 to 94
I noticed that when I put the unit definition flag: 'hoverattack = true'
the default state of a gunship becomes to stay airborne. Is there another flag to retain gunship functionality but force landing at the end of the attack? -- Ignore this! It was lua script hidden somewhere
I have been translating untidefs, weapons and features into Lua. I ve made a matlab (thats what I feel comfortable at programming!) script to convert fbi unit definitions automatically to lua. I couldn't do it for weapons, since there is no 1 to 1 equivalence. If anybody is interested, I am happy to share, or run the script for you.
the default state of a gunship becomes to stay airborne. Is there another flag to retain gunship functionality but force landing at the end of the attack? -- Ignore this! It was lua script hidden somewhere
I have been translating untidefs, weapons and features into Lua. I ve made a matlab (thats what I feel comfortable at programming!) script to convert fbi unit definitions automatically to lua. I couldn't do it for weapons, since there is no 1 to 1 equivalence. If anybody is interested, I am happy to share, or run the script for you.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
- tyran_nick
- Posts: 47
- Joined: 07 Mar 2010, 12:42
Re: Problem with shadow in-game
That's neat!
I guess my approach is useful if you don't want to pack the units in a mod, but that shouldn't be too difficult
I guess my approach is useful if you don't want to pack the units in a mod, but that shouldn't be too difficult