3D动画 HUD制作者

0.00

比较
分类: 标签: , ,

描述

传递爱

Download this code and read the following tutorial in order to make your own animations hud that won’t require you to rezz objects or use poseballs to perform animations!

Interested in more scripts? Check out our Second Life and Opensim Tip Jar script!

 

 

什么是HUD?

A HUD, the acronym for ”Heads Up Display” is a form of an interface that projects a display on your point of view.

HUD的例子。

3d动画hud

这个hud允许你的化身坐着,有一个很酷的散步或只是以某种姿势放松。

3d动画hud

这个hud让你在第二人生的任何地方使用启动亲情动画。

为什么HUD是有用的?

HUD使你能够立即看到重要的信息、统计数据或执行某些行动。例如,HUD显示子弹、法力或金钱的剩余量。

HUDs also allow you to immediately perform certain actions such as casting spells, take items out of your inventory or create something! This saves time, and makes things much easier, you won’t have to type in lines of commands in your chatbox to smoothly defeat dragons!

是什么让HUD对第二人生有用?

In Second Life an avatar can’t just roam around use objects, toys and battle opponents just like in any other videogame because land is mostly privately owned and can be restricted by its owner in what is allowed.

Some lands don’t allow for talking over the microphone while others don’t allow the use of scripted items such as cars and furniture.

大多数情况下,基本问题可以归结为无法将你的物品放在地上供你使用。

A way to get around this problem is the use of HUDs. By wearing a HUD you can circumvent part of the problem and still shoot, jump, fly, kiss, change clothes and do whatever even if you’re not allowed to place objects on the land you’re currently standing on!

这使得HUD成为用于枪支、衣服和3D动画等项目的理想选择。

例如,很多HUD都有浪漫的3D动画,让你和你的伴侣在虚拟世界的任何地方秀恩爱!

通过完成本教程,你将能够建立你自己的HUD。

Building the HUD is done with AZN’s 3D Animation Maker.

如果你喜欢这个教程,并打算用这个教程制作HUD,而且你想对其创作者表示支持,请通过以下方式捐赠 在这里购买HUD!

要求

To create your first HUD you need land where you can ”rezz” (place items on the ground). You can find free sandboxes that can accomodate you.

Second you will need the HUD animation script. You can get the code here.

沙盒的清单。

成人沙箱

成熟的沙盒

普通沙盘(非成人!)。

You can try these as a starting point. You can also search for ”sandboxes” in your Second Life viewer to find other options more suitable to your needs. Making erotic items require adult sandboxes for example.

After you’ve made your first, working HUD you can simply rename the buttons to your 3d animations and drag and drop the 3d animations in the HUD while you’re wearing it.

不用再寻找其他合适的沙盘了!

Let’s get started

Now that you’ve finally settled on a place and are anxiously waiting for your HUD to come alive follow these steps!

第一步:重塑区块

在地板上重装一个块。根据你想在你的HUD中加入的动画数量,你可以再加块。如果要制作一个有四个三维动画的HUD,你需要总共重绘五个块。把代表你的动画的块的大小调整得小一点,因为你必须把它们粘贴到Hud的框架(大块)上。

3d动画hud

第二步:纹理块

Flatten all the blocks and place them over the big block. Give the big block a different texture than the small blocks. I recommend you texture the small blocks with a number. That way you can easily tell how many different animations the HUD has. You can use anything you like even pictures. Just upload your images into Second Life and edit each individual block by right clicking it, selecting and clicking ”texture” and editing the texture to a background colour for the big block that you’d like to have for your hud, and individual images for the small blocks to represent the different animations.

3d动画hud

3d动画hud

第三步:命名区块

Rename the small blocks’ name with the exact name of the animation you are going to put into said block and the description with ”Anim0” (Anim-zero).

For example: I will be making a dance hud with four pirouette animations. block 1 will be named pirouette1 with the description ”Anim0” block 2 will be named pirouette2 and Anim0 etc (the animations are named pirouette1 to 4 in my inventory).

3d动画hud

第四步:链接块

将你的积木压平,并将它们按顺序排列在压平的大块上。

3d动画hud

When you’ve finally set up it up the way you like you can select all the blocks with Shift + Left Click and hit CTRL+L to link them together.

Make sure to select and link the big block, the ”frame” of your HUD, last! If you did this correctly, when right clicking your HUD it will glow yellow instead of blue!

 

你现在已经完成了你的hud的基本布局。

3d动画hud

第五步:添加脚本

Rename your linked hud by right clicking it and choosing a name that will let you easily find it in your inventory! This one will be named ”pirouette dance hud”.

命名后,请再次右击HUD并选择内容->新脚本。一旦你这样做了,HUD将立即变得活跃,并向你问好

3d动画hud

第六步:编码!

Don’t worry, you won’t actually have to code use the notepad file you’ve downloaded from our hud tutorial package.

再一次右击HUD,转到内容。

右击并打开脚本。

3d动画hud

 

Now you’ll also see how it could greet you in the first place by using the command

”llSay(0, ”Hello Avatar!”);

Replace the text in the script with the code from the notepad file.

3d动画hud

第七步:导入动画

Drag the animations from your inventory into the HUDs’ contents together with the script. Go back to step three to double check!

3d动画hud

第八步:最后一步

Right click the HUD and select ”put on” -> ”attach HUD” -> center.

现在hud将进入全视角。

Don’t worry if you only see a uniformally coloured square: simply right click the HUD -> edit -> rotate.

3d动画hud

Resize and shuffle the HUD around on your interface untill it suits you. Hit the buttons to test it (sometimes you’ll need to double tap) and voilá, a working animation HUD that doesn’t require you to use other peoples lands or use poseballs in order to perform certain animations!

结束语

If you’ve enjoyed this tutorial and wish to start building your own animated HUD you can 浏览我们的商店 为几个.bvh动画文件,你可以在第二人生或其他游戏中上传!

查看我们的市场 此处 来看看我们利用这一奇妙的技术做了什么。

快乐的建筑!