06-05-2012 10:34 PM - edited 06-05-2012 10:52 PM
Hi there,
This is my first post here actually, though unfortunately so with an issue to report,
though the title says it all, basicly my model assets aren't located properly,
I tried copying over all the assets from the "BasicModelSample", and yes, I have added the
assets by using the 'Add' function inside of MonoDevelop.
I allocate my models simply with the code:
"BasicModel a = new BasicModel("/Application/model_name.mdx", 0);"
The error I'm getting is the following: "Could not find file "c:\Application\model_name.mdx"."
Using this format to locate assets such as textures works flawlessly, but it doesn't seem to like models very much.
Since I couldn't find any information regarding my issue elsewhere on these forums, I figured I'd ask it myself directly, thanks in advance for the help, and Sony....please add Visual Studio support for the PSS SDK!
Again, thanks in advance!
EDIT: I figured I should mention, I also tried entering the absolute path (" C:/Users/Documents/Project/ProjectName/model.mdx" , but it gives me the error: "Could not find a part of the path (C:/Users/Documents/Project/ProjectName/model.mdx )"
Solved! Go to Solution.
on 07-05-2012 07:45 AM
Hi,
right click on your asset file and make sure it's included in the Project and "Content" is flagged under Generation Actions
then rebuild all !
my IDE is in italian, I hope to have translated it correctly ![]()
Cheers,
Val
07-05-2012 09:37 AM - edited 07-05-2012 09:40 AM
Thanks alot Fungostar, things are working properly now,
Cheers mate!
PS.
To those who might run into this problem as well, the exact English way to do it is:
right click your assets -> build action -> content.
For some reason it automaticly categorizes PNG files as content, but not models.
on 07-05-2012 11:38 AM
PSM Developer Registration (for free) on PSM DevPortal is required to post on the forum.
Please sign out then sign in again to the forum and PSM DevPortal after you have completed the registration.
フォーラムへ投稿をするにはPSM DevPortalへの登録(無料)が必要です。
登録後はフォーラムと
PSM DevPortalを一度ログアウトし、再度ログインしてください。


Website ©2013 Sony Computer Entertainment Europe
All content, game titles, trade names and/or trade dress, trademarks, artwork and associated imagery are trademarks and/or copyright material of their respective owners. All rights reserved. [more info]
%%http://community.eu.playstation.com/t5/Announcements/Beta-Trial-Information/td-p/11386362
best_shooter.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_driver.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_performer.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_footballer.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_fighter.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_creator.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_action_player.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
dev2.png%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/Producer-and-Developer-Ranks/td-p/18407352
trophy.gif%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/The-Community-Awards-FAQ/td-p/18407096
PSlogoSM.png%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/Online-Support-Coordinator-rank/td-p/18414870