supertuxkart-sourceforge-migration / stk-migration-test2

0 stars 0 forks source link

Per-track particle textures broken #105

Open supertuxkart-sourceforge-migration opened 10 years ago

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria

If you try to place a particle texture + particle XML file in a track directory, you get at runtime :

[ParticleKind] WARNING: particle image 'acid_smoke.png' does not appear in the list of currently known materials

Tentatively assigning to 0.7.1

Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/105

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria Forgot to say, this happens even if the texture appears in the material.xml file of the track.

(Needing to add the particle image to material.xml might be problematic in the first place though)

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria Pushing back because we don't actually use this feature in 0.7.1 so we don't ''need'' it fixed

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria Will be done along 2.5 scripts, which have been pushed for 0.7.3

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria Fixed in r9635.

Only problem, the material of the particle must be in materials.xml, and must appear first. This is a little annoying since the materials file is generated by the blender exporter, and the particle image probably doesn't appear at all in the blend, and in any case is not guaranteed to be first. Maybe the material could be specified in the particle XML file instead?

What's left can wait for later however

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria Fixed in r10314