Icetrack 0.7

Icetrack 0.7

Postby rudy85 » 17 Nov 2010, 02:25

Problem N°1: I have no sound when driving on textures
Problem N°2: Slowdown texture is not working so well shorcuts are possible :x
Attachments
icetrack.7z
(5.11 MiB) Downloaded 406 times
STK 3D animation
My work is under the licence you want
User avatar
rudy85
 
Posts: 420
Joined: 06 Dec 2009, 13:44
Location: France

Re: Icetrack 0.7

Postby Auria » 17 Nov 2010, 03:17

Hi,

this track does not use the latest track exporter. Are you using STK 0.7 alpha 3? Many fixes occurred so it may be a good idea to update to latest SVN

In any case,
{l Code}: {l Select All Code}
<material filename="snowtrack-phoques.png" >


needs to be

{l Code}: {l Select All Code}
<material name="snowtrack-phoques.png" >
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Icetrack 0.7

Postby rudy85 » 01 Dec 2010, 00:48

I found this in shell :

{l Code}: {l Select All Code}
Irrlicht Engine version 1.7.2-beta
Linux 2.6.32-26-generic #47-Ubuntu SMP Wed Nov 17 15:59:05 UTC 2010 i686
[FileManager] Data files will be fetched from: '/usr/share/games/supertuxkart/'
[IrrDriver] Creating NULL device
Irrlicht Engine version 1.7.2-beta
Linux 2.6.32-26-generic #47-Ubuntu SMP Wed Nov 17 15:59:05 UTC 2010 i686
[IrrDriver] Trying OpenGL rendering.
[IrrDriver] Tring to create device with 32 bits
Music XML file '/usr/share/games/supertuxkart//data/tracks/icetrack/Alien_Apartments.music' does not contain music node.Music information file 'Alien_Apartments.music' not found - ignored.
Music XML file '/usr/share/games/supertuxkart//data/tracks/icetrack//Alien_Apartments.music' does not contain music node.Can't find music file 'Alien_Apartments.music' - ignored.
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-fur.rgb
[Irrlicht Warning] Could not open file of texture: chinch-skin.rgb
[Irrlicht Warning] Could not open file of texture: chinch-skin.rgb
[Irrlicht Warning] Could not open file of texture: chinch-skin.rgb
[Irrlicht Warning] Could not open file of texture: chinch-skin.rgb
[Irrlicht Warning] Could not open file of texture: chinch-skin.rgb
[Irrlicht Warning] Could not open file of texture: chinch-skin.rgb
[Irrlicht Warning] Could not open file of texture: chinch-skin.rgb
[Irrlicht Warning] Could not open file of texture: cup_Sphere.002.rgb
[Irrlicht Warning] Could not open file of texture: seastar.png
[Irrlicht Warning] Could not open file of texture: seastar-2.png
[Irrlicht Error] Could not load texture:
startMusic : m_normal_filename=</usr/share/games/supertuxkart//data//music/MayDayMayhem.ogg>, gain=0.4
WARNING: the focus dispatcher in kart selection screen can't find the widget for player 0!
all players done : 1 players have joined the game
    Guest
[Irrlicht Error] Could not load texture:
/!\ The 'filename' attribute is mandatory in the SFX XML file!
/!\ The 'filename' attribute is mandatory in the SFX XML file!
Warning: while loading track 'icetrack', element 'zipper.ac' was met but is unknown.
Warning: while loading track 'icetrack', element 'zipper.ac' was met but is unknown.
Warning: while loading track 'icetrack', element 'zipper.ac' was met but is unknown.
Warning: while loading track 'icetrack', element 'zipper.ac' was met but is unknown.
Warning: while loading track 'icetrack', element 'zipper.ac' was met but is unknown.
Warning: while loading track 'icetrack', element 'zipper.ac' was met but is unknown.
Warning: while loading track 'icetrack', element 'zipper.ac' was met but is unknown.
Warning: while loading track 'icetrack', element 'zipper.ac' was met but is unknown.
SFXManager::createSoundSource could not find the requested sound effect : 'Phoques.ogg'
Erreur de segmentation
rudy@rudy-laptop:~$
STK 3D animation
My work is under the licence you want
User avatar
rudy85
 
Posts: 420
Joined: 06 Dec 2009, 13:44
Location: France

Re: Icetrack 0.7

Postby rudy85 » 01 Dec 2010, 00:52

I know Texture's bug :(
I will searching for, but it's not urgent
STK 3D animation
My work is under the licence you want
User avatar
rudy85
 
Posts: 420
Joined: 06 Dec 2009, 13:44
Location: France

Re: Icetrack 0.7

Postby rudy85 » 01 Dec 2010, 00:53

My material .xml :

<?xml version="1.0"?>
<materials>
<material name="ice_dark_transp" alpha="Y" light="N" collide="Y"/>
<material name="Ice-transp.png" alpha="Y" light="N" collide="Y" anisotropic="Y"/>
<material name="fondu1.png" alpha="Y" light="N" collide="Y"/>
<material name="snow2.png" ignore="Y" />
<material name="Slowdown.png" slowdown="0.01"/>
<material name="snowtrack-crystal.png" >
<sfx name="glace.ogg" min-speed="1" max-speed="1" rolloff="0.6"
volume="10.0" min-pitch="1.0" max-pitch="1.0" positional="N"/>
</material>
<material name="snowtrack-phoques.png" >
<sfx name="Phoques.ogg" min-speed="1" max-speed="30" rolloff="0.6"
volume="1.0" min-pitch="1.0" max-pitch="1.0" positional="y"/>
</material>
</materials>
STK 3D animation
My work is under the licence you want
User avatar
rudy85
 
Posts: 420
Joined: 06 Dec 2009, 13:44
Location: France

Re: Icetrack 0.7

Postby hiker » 01 Dec 2010, 02:21

rudy85 {l Wrote}:My material .xml :

<?xml version="1.0"?>
<material name="snowtrack-crystal.png" >
<sfx name="glace.ogg" min-speed="1" max-speed="1" rolloff="0.6"
volume="10.0" min-pitch="1.0" max-pitch="1.0" positional="N"/>
</material>

You have to use 'filename' in the sfx entries, not 'name'. You _can_ then give them a (short) 'name', in case that you want to use the same sfx for other textures (this way there is only one change if you want to change a sfx). E.g. you would set filename="glace.ogg" name="glace" - then you can use glace in all other textures as sfx.

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Icetrack 0.7

Postby rudy85 » 01 Dec 2010, 10:10

So, is there a problem with wooden_bridge.ogg from the material.xml of snowtuxpeak track ?


1 <?xml version="1.0"?>
2 <!-- Generated with script from SVN rev 6744 -->
3 <materials>
4 <material name="ice.png" reset="Y"/>
5 <material name="invisible.png" alpha="Y" light="N"/>
6 <material name="wood_planks1.jpg">
7 <sfx filename="wooden_bridge.ogg" name="wood" rolloff="0.6" min-speed="9.0" max-speed="22.0" min-pitch="1.0" max-pitch="1.7" positional="yes" volume="1.0"/>
8 </material>
9 <material name="wood_planks1_alpha.png">
10 <sfx name="wood" rolloff="0.6" min-speed="9.0" max-speed="22.0" min-pitch="1.0" max-pitch="1.7" positional="yes" volume="1.0"/>
11 </material>
12 </materials>
STK 3D animation
My work is under the licence you want
User avatar
rudy85
 
Posts: 420
Joined: 06 Dec 2009, 13:44
Location: France

Re: Icetrack 0.7

Postby rudy85 » 01 Dec 2010, 12:09

How can I increase slowdown effect, please ?
STK 3D animation
My work is under the licence you want
User avatar
rudy85
 
Posts: 420
Joined: 06 Dec 2009, 13:44
Location: France

Re: Icetrack 0.7

Postby asciimonster » 01 Dec 2010, 12:23

Rudy, s'il vous plaît de comparer les deux noeuds XML en vorte document. La première est correcte, la seconde est faux.
rudy85 {l Wrote}:(...)
<sfx filename="wooden_bridge.ogg" name="wood" rolloff="0.6" min-speed="9.0" max-speed="22.0" min-pitch="1.0" max-pitch="1.7" positional="yes" volume="1.0"/>
(...)
<sfx name="wood" rolloff="0.6" min-speed="9.0" max-speed="22.0" min-pitch="1.0" max-pitch="1.7" positional="yes" volume="1.0"/>
(...)
asciimonster
 
Posts: 375
Joined: 03 Dec 2009, 18:24

Re: Icetrack 0.7

Postby hiker » 01 Dec 2010, 12:30

rudy85 {l Wrote}:So, is there a problem with wooden_bridge.ogg from the material.xml of snowtuxpeak track ?

Not that I am aware of - unless I am missing something?

7 <sfx filename="wooden_bridge.ogg" name="wood" rolloff="0.6" min-speed="9.0" max-speed="22.0" min-pitch="1.0" max-pitch="1.7" positional="yes" volume="1.0"/>
8 </material>
9 <material name="wood_planks1_alpha.png">
10 <sfx name="wood" rolloff="0.6" min-speed="9.0" max-speed="22.0" min-pitch="1.0" max-pitch="1.7" positional="yes" volume="1.0"/>
11 </material>

The first time we use 'filename' to specify the name of the ogg file, and define a 'name' ("wood"). In the 2nd material we only need the short 'name', and stk will know which .ogg file to use (from the filename attribute of the first material file).

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Icetrack 0.7

Postby rudy85 » 01 Dec 2010, 15:12

:D

rudy85 {l Wrote}:So, is there a problem with wooden_bridge.ogg from the material.xml of snowtuxpeak track ?


1 <?xml version="1.0"?>
2 <!-- Generated with script from SVN rev 6744 -->
3 <materials>
4 <material name="ice.png" reset="Y"/>
5 <material name="invisible.png" alpha="Y" light="N"/>
6 <material name="wood_planks1.jpg">
7 <sfx filename="wooden_bridge.ogg" name="wood" rolloff="0.6" min-speed="9.0" max-speed="22.0" min-pitch="1.0" max-pitch="1.7" positional="yes" volume="1.0"/>
8 </material>
9 <material name="wood_planks1_alpha.png">
10 <sfx name="wood" rolloff="0.6" min-speed="9.0" max-speed="22.0" min-pitch="1.0" max-pitch="1.7" positional="yes" volume="1.0"/>
11 </material>
12 </materials>


This is a bug in Material.xml of snowtuxpeak
STK 3D animation
My work is under the licence you want
User avatar
rudy85
 
Posts: 420
Joined: 06 Dec 2009, 13:44
Location: France

Re: Icetrack 0.7

Postby rudy85 » 01 Dec 2010, 15:15

rudy85 {l Wrote}:How can I increase slowdown effect, please ?


Same question, again, Please :oops:

<material name="Slowdown.png" slowdown="0.01"/>


This maximum is not enough
STK 3D animation
My work is under the licence you want
User avatar
rudy85
 
Posts: 420
Joined: 06 Dec 2009, 13:44
Location: France

Re: Icetrack 0.7

Postby asciimonster » 01 Dec 2010, 16:12

rudy85 {l Wrote}:
rudy85 {l Wrote}:How can I increase slowdown effect, please ?
<material name="Slowdown.png" slowdown="0.01"/>


Contary to it's name, "slowdown" does not slow you down. In stead, setting a low value for "slowdown" it will all but kill your engine power. (I think "engine-power" is a better name for this variable).

I think it's better you lower max-speed instead...
asciimonster
 
Posts: 375
Joined: 03 Dec 2009, 18:24

Re: Icetrack 0.7

Postby rudy85 » 01 Dec 2010, 19:46

asciimonster {l Wrote}:I think it's better you lower max-speed instead...


And how :D :heart:
STK 3D animation
My work is under the licence you want
User avatar
rudy85
 
Posts: 420
Joined: 06 Dec 2009, 13:44
Location: France

Re: Icetrack 0.7

Postby KroArtem » 01 Dec 2010, 21:01

in stk_config.xml, value
<engine power="400 450 500" max-speed="15 20 23" brake-factor="11.0"
max-speed-reverse-ratio="0.3"/>
but I can be wrong :)
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: Icetrack 0.7

Postby rudy85 » 01 Dec 2010, 21:11

I cant change it to my track without changing values for all ones :?
STK 3D animation
My work is under the licence you want
User avatar
rudy85
 
Posts: 420
Joined: 06 Dec 2009, 13:44
Location: France

Re: Icetrack 0.7

Postby asciimonster » 01 Dec 2010, 23:29

I would be wise NOT to change the stk_config.xml since it controls the behaviour of the entire supertuxkart game.

Rudy, it should not be more than
{l Code}: {l Select All Code}
<materials>
   (...)
   <material (...) max-speed="0.3"/>
   (...)
</materials>


For more information, see Materials_xml.
asciimonster
 
Posts: 375
Joined: 03 Dec 2009, 18:24

Re: Icetrack 0.7

Postby hiker » 01 Dec 2010, 23:35

asciimonster {l Wrote}:For more information, see Materials_xml.

But I think I have to update that page, the details about speed limits are outdated. For now have a look at some example slowdown settings in existing materials.xml files, I hope to fix this by tomorrow.

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Icetrack 0.7

Postby rudy85 » 02 Dec 2010, 00:27

I finally found , SFX must have a name and a filename :x

{l Code}: {l Select All Code}
<?xml version="1.0"?>
<materials>
  <material name="ice_dark_transp" alpha="Y" light="N" collide="Y"/>
  <material name="Ice-transp.png" alpha="Y" light="N" collide="Y" anisotropic="Y"/>
  <material name="fondu1.png" alpha="Y" light="N" collide="Y"/>
  <material name="snow2.png" ignore="Y" />
  <material name="Slowdown.png" slowdown="[b]0.1[/b]" max-speed="[b]0.1[/b]"/>
  <material name="snowtrack-crystal.png" >
     <sfx  name="crystal" filename="crystal.ogg" min-speed="1" max-speed="1" rolloff="0.1"  volume="2.0"  positional="N"/>
  </material>
  <material name="snowtrack-phoques.png" >
      <sfx  name="phoques" filename="phoques.ogg" min-speed="1" max-speed="1" rolloff="0.1" volume="1.0"  positional="N"/>
  </material>
</materials>


A question, again, can values be under 0.1 unit (eg: 0.05) ?
STK 3D animation
My work is under the licence you want
User avatar
rudy85
 
Posts: 420
Joined: 06 Dec 2009, 13:44
Location: France

Re: Icetrack 0.7

Postby Auria » 02 Dec 2010, 02:33

I believe you can enter any floating-point value
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Icetrack 0.7

Postby hiker » 07 Dec 2010, 03:22

Hi,

I've updated the wiki page about materials, the documentation of slowdown-time and max-speed should now be corret:
Materials_xml.

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Icetrack 0.7

Postby rudy85 » 07 Dec 2010, 12:23

ok, thanks
STK 3D animation
My work is under the licence you want
User avatar
rudy85
 
Posts: 420
Joined: 06 Dec 2009, 13:44
Location: France

Who is online

Users browsing this forum: No registered users and 1 guest

cron