Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I am trying to make some objects in my mod that would act as NPC's.

One is more complicated than the other but the basic idea is the same.

One is called a Deathman Labs Virtual Holographic Interface. It will project a 3D hologram of an avatar to relay information over a pad, when a touchscreen is right clicked.

The other is the mainframe. She is an artificial intelligence, that starts off very basic. She will ask you to do quests for her. For instance "Did you know, if you program a expansion chip with a voice generation program, I will be able to speak, and you won't have to read this text.' Or, 'I seem to have forgotten that I do not have speakers. Please give me some, two are required.' So yeah, she wants new things. She would have three basic screens. All the screens would have the same setup. A blue box to the right, and a view of her model to the left. Like  Darksiders 2 shops.

 

http://www.supercheats.com/guides/files/guid/darksiders-2/8-26-2012_34.jpg

 

So that, reversed, and blue.

I do not want to render another model in the GUI, I wish to have the gui have a hole there, where the player's view would be placed so she would be in the hole.

I looked at the bed code, but that of course moves the entire person, I don't want to reposition the person, as the model is only 1.5 blocks tall.

I can code everything else, it's just the view.

[shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]

  • Author

Is there a way to control the camera, I think I saw that somewhere.

[shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]

This should help:

entityplayer.setPositionAndRotation(posX, posY, posZ, yaw, pitch);

 

Note that you can use entityplayer.posXYZ to stay at the same pos.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.