HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Cannot find resource .cfg

View previous topic View next topic Go down 
AuthorMessage
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Cannot find resource .cfg   Thu Mar 02, 2017 12:25 am

yes it's me back from the dead
not sure how happy I am to be posting here again, but I am getting back into mapmaking on my private server and I've run into a problem I'm not sure how to solve.

the error when I try to enter the map is FileNotFound: cannot find resource rebellemountainterrain.cfg

I'm quite positive that there is nothing misspelled anywhere in the world, material, or cfg file so I am unsure as to why it's messing up.

RebelleMountain.material
Code:
material Terrain/rebellemountainTerrain
{
    receive_shadows on
    technique
    {
        pass
        {
            lighting off
            texture_unit
            {
                texture Rebellemountaintexture1.jpg
                scale 0.025 0.025
            }
        }
   pass
        {
            lighting off
            scene_blend alpha_blend
            depth_func equal
            texture_unit
            {
                texture rebellemountainterrainmask1.png
                alpha_op_ex source1 src_texture src_texture
                colour_op_ex source2 src_texture src_texture
            }
            texture_unit
            {
                 texture Rebellemountaintexture.jpg
      scale 0.025 0.025
                colour_op_ex blend_diffuse_alpha src_texture src_current
            }
        }
        pass
        {
            lighting off
            scene_blend alpha_blend
            depth_func equal
            texture_unit
            {
                texture rebellemountainterrainmask2.png
                alpha_op_ex source1 src_texture src_texture
                colour_op_ex source2 src_texture src_texture
            }
            texture_unit
            {
                 texture Rebellemountaintexture2.jpg
      scale 0.025 0.025
                colour_op_ex blend_diffuse_alpha src_texture src_current
            }
        }
    }
}
material Terrain/rebellemountainwater
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off

         texture_unit
         {
            texture rebellemountainwater.png
            scale 2.5 2.5
            scroll_anim -0.01 -0.01
            rotate 90
         }
         texture_unit
         {
            texture rebellemountainwater.png
            scale 2.5 2.5
            scroll_anim -0.01 -0.05
            rotate 180
         }
      }
   }
}
material Portal/Rebellemountain
{
   receive_shadows off
   technique
   {
      pass
      {
         lighting off
         scene_blend add

         texture_unit
         {
            texture portalRebelle_mountain.png
            env_map spherical
            rotate_anim 0.01
         }
      }
      pass
      {
         lighting off
         scene_blend modulate

         texture_unit
         {
            texture portalRebelle_mountain.png
            env_map spherical
            rotate_anim 0.1         
         }
      }
   }
}

RebelleMountain.world
Code:
[Initialize]
rebellemountainterrain.cfg
3000
3000
553.279 221.176 690.099
500 500 100
[WeatherCycle]
Starfall
[WeatherCycle]
RainStarfall
[WaterPlane]
1000 50 770
20
20
Terrain/rebellemountainwater
water1.wav
350
[Music]
sheepgraze.mp3
#

rebellemountainterrain.cfg
Code:
PageSource=Heightmap
Heightmap.image=rebellemountainterrain.png
PageSize=513
TileSize=65
MaxPixelError=3

PageWorldX=3000
PageWorldZ=3000
MaxHeight=300

MaxMipMapLevel=5
VertexProgramMorph=yes
LODMorphStart=0.2

CustomMaterialName=Terrain/rebellemountainTerrain
Back to top Go down
ThylaSteve

avatar

Game username : Steve
Server : It's a secret (for now)
Male Posts : 119
Join date : 2014-04-24
Age : 20
Location : United States

PostSubject: Re: Cannot find resource .cfg   Thu Mar 02, 2017 1:07 am

It means that you forgot to enter your map name in "worlds.txt" in your terrains folder.
Back to top Go down
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: Cannot find resource .cfg   Thu Mar 02, 2017 2:36 am

Steve wrote:
It means that you forgot to enter your map name in "worlds.txt" in your terrains folder.

I already did that and it still crashes, hence why I'm confused xD I put it above the hashtag like the others. I'm essentially relearning mapmaking but I don't recall running into this error before.
Back to top Go down
ThylaSteve

avatar

Game username : Steve
Server : It's a secret (for now)
Male Posts : 119
Join date : 2014-04-24
Age : 20
Location : United States

PostSubject: Re: Cannot find resource .cfg   Thu Mar 02, 2017 7:24 am

Is everything in the correct folder?
Back to top Go down
Witacha
3D Modeler
3D Modeler
avatar

Game username : Witacha
Server : Land Of The Wolves(Owner)
Female Posts : 1181
Join date : 2012-06-15
Age : 18
Location : France

PostSubject: Re: Cannot find resource .cfg   Thu Mar 02, 2017 1:57 pm

rebellemountainterrain.cfg
RebelleMountain.world

Use the same NAME you use in .world for everything.
Except if you have Rebelle Mountain.world use RebelleMountain for everything else than .world!
Back to top Go down
http://witacha-asukata.deviantart.com/
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: Cannot find resource .cfg   Thu Mar 02, 2017 7:30 pm

Okay Wit, I'll try that xD thank you!
It's been such a long time since I've delved into IT from a hiatus so this is all slowly coming back to me xD thank you!

- not solved yet, I'll reply here if it worked or not -
Back to top Go down
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: Cannot find resource .cfg   Fri Mar 03, 2017 9:45 pm

sorry for double posting

the map is still crashing with the same error. I renamed everything in the same way Wit asked for and it still crashes. I use a previous map I made as a base to start new maps, and I named it exactly the same as the old, working map was and it still won't work. I'm really confused xD I just want to get these maps done
Back to top Go down
Witacha
3D Modeler
3D Modeler
avatar

Game username : Witacha
Server : Land Of The Wolves(Owner)
Female Posts : 1181
Join date : 2012-06-15
Age : 18
Location : France

PostSubject: Re: Cannot find resource .cfg   Fri Mar 03, 2017 10:55 pm

Uh weird send me the folder via pm i'll take a look!
Back to top Go down
http://witacha-asukata.deviantart.com/
Nakti
®
®
avatar

Game username : Nakti
Server : World of Pandora
Female Posts : 161
Join date : 2012-08-24
Age : 21
Location : black celebration

PostSubject: Re: Cannot find resource .cfg   Sun Mar 05, 2017 10:03 am

Try placing your .cfg file into folders of other working maps. If it works, problem is in Worlds.txt file. If not, there must be problem with your .world file.
Back to top Go down
Witacha
3D Modeler
3D Modeler
avatar

Game username : Witacha
Server : Land Of The Wolves(Owner)
Female Posts : 1181
Join date : 2012-06-15
Age : 18
Location : France

PostSubject: Re: Cannot find resource .cfg   Sun Mar 05, 2017 1:46 pm

It has been solved ) xD
Back to top Go down
http://witacha-asukata.deviantart.com/
Cloud
Texture Artist
Texture Artist
avatar

Game username : Cloud, Daydream
Server : None
Female Posts : 614
Join date : 2014-07-22
Location : Under your bed

PostSubject: Re: Cannot find resource .cfg   Sun Mar 05, 2017 2:00 pm

yep xD thank you!
Back to top Go down
 
Cannot find resource .cfg
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: