FAQ:
How to extend the
KidsMovieCreator 1.0's art assets?
Answer:

Officially we do not allow
KidsMovieCreator 1.0 to have asset expansion, however, if you are a partner of
ParaEngine, the following method can be used to add new assets to the Kids game.
Create an asset file
Download and copy this
db_assets.lua file to [KidsMovieRootDir]/script/kids/db_assets.lua
Edit the kids_db.items table in the above file and the new assets will magically appear next time the game is started.
Here is an example:
-- item database
kids_db.items =
{
[1] = {
{
["Reserved4"] = "R4",
["Reserved3"] = "R3",
["Reserved1"] = "R1",
["Reserved2"] = "R2",
["Price"]=0,
["IconAssetName"] = "Lovely Bed",
["ModelFilePath"] = "model/06props/shared/pops/xiaochuang.x",
["IconFilePath"] = "model/06props/shared/pops/xiaochuang.x.png",
}
,
{
["Reserved4"] = "R4",
["Reserved3"] = "R3",
["Reserved1"] = "R1",
["Reserved2"] = "R2",
["Price"]=10,
["IconAssetName"] = "Lovely table",
["ModelFilePath"] = "model/06props/shared/pops/glasstable1.x",
["IconFilePath"] = "model/06props/shared/pops/glasstable.x.png",
}
,
}
}
NOTE:
IconAssetName? must be assigned with a string WITHOUT the heading
L. The reason that the original file contains L is that it uses a translation table for multilingual text versions. For expansion asset, you can use either English or Chinese, such as below.
- WRONG: ["IconAssetName"] = L"桌子",
- RIGHT: ["IconAssetName"] = "桌子",
NOTE:
ModelFilePath? and
IconFilePath? must be valid file, see next section.
Create Models
- You need to create and export models as described here Main.ModGuide
- Normally, you need to place each of your models (max, x, dds, png files) under /model/your_folder_name/your_model_name/ directory.
- Make sure you also create an 64*64 png file for in-game icon display of the model.
Go back to first step
You can create new models, add to the asset file and restart the game to preview. Iterate the above process to add or remove as many asset as you want.
Discussion
滟怀 说: 肖芒 10:11:39
["Reserved4"] = "R4",
["Reserved3"] = "R3",
["Reserved1"] = "R1",
["Reserved2"] = "R2",
肖芒 10:11:50
这四个字段的意义尚不明确,呵呵
LiXizhi 说:
ReservedN? 。 忽略就可以了。
--
LiXizhi - 2008-04-17
Back to: ParaEngineFAQ
--
LiXizhi - 2008-04-16
Topic revision: r2 - 2008-04-17 - 10:29:43 -
LiXizhi