HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Malumm

Pages: [1] 2
1
Scripting & Programming / Custom Video / Audio Settings
« on: Sep 15, 15, 09:53:28 PM »
Hello.

Is there scripting support for custom video and audio settings on the client?

How do I simply turn off all audio in script on the client for example?

2
Hi everyone.

If two players are in the same area and instance as each other, I can do the following to access one from the other in script :

  targetAccount as NodeRef of Class _PlayerAccount = idTargetPC
  targetChar as NodeRef of Class E_playerCharacter = targetAccount.GetMyChar()


How do I create this same functionality across areas / instances?

3
General Discussion / Cursor Disappearing
« on: Jun 02, 15, 02:59:23 PM »
When using the editor, my cursor randomly disappears and will not come back until I close and re-open hero blade.

I have had this issue for a long time but now my fix of disabling the cursor and re-enabling it through script does not work anymore.

Can anyone help?
 

4
Scripting & Programming / [Resolved] Character Rotation
« on: Sep 10, 13, 08:06:36 PM »
Seems like this should be easy but I'm having issues rotating a player character. Rotation works great for NPCs but the ACC seems to override my rotation for player characters and revert the rotation.

I have tried this on the server :

Code: [Select]
playerPos as Vector3 = playerAccount.GetPosition()
playerRot as Vector3 = playerAccount.GetRotation()
playerRot.y += 180.0
playerAccount._TeleportPlayer(playerPos, playerRot)
 
$Behave._SendBehave(playerAccount, "input IdleType Idle")

I have tried this on the client:

Code: [Select]
RotateNode(GetPlayerCharacterNode(), 0.0, 180.0, 0.0)

5
Animation / NPC animation issue
« on: Apr 27, 13, 04:04:34 PM »
Hey Everyone. Does anyone know why my NPC animations will not loop anymore? I'm not sure if this has been broken since the HE2 update or maybe a recent smaller patch, but it was working before. When I play an animation on my character it works fine, but the same animation played on the NPC will not loop.

Here is my Behave command sent from the server :

$Behave._SendBehave(npcNodeRef, "anim AnimAllBody anim_name always 1 40.00 seconds false true 0.1 false")

6
We are using hardware cursors with a call to SetCursor("\GUI\cursor.png") and it works great in HeroBlade. In the PlayerClient, the cursor just disappears when that call is made. Can anyone help?

7

Is there a way in HSL to tell if the account is logging in from the HeroBlade developer tool vs the HeroBlade player client? I can then black-list certain account IDs from logging into the developer server with anything but the player client.

8
General Discussion / [] IRC Reminder
« on: Jan 05, 13, 02:39:58 PM »
Hello everyone. I just want to send out a friendly IRC reminder. There is a chat room for HeroEngine developers at irc.freenode.net #HeroEngine. Come join real-time conversations and spread the community.

New to IRC? There is a webchat.

http://webchat.freenode.net/  - join channel #HeroEngine

Want to be hardcore?

http://www.mirc.com/

http://www.irssi.org/

9
Scripting & Programming / [Resolved] Account Permissions
« on: Jan 05, 13, 12:55:57 PM »
Hey Everyone. We are trying to setup a special account type for certain developers in one of our projects.  Currently Iím trying to log into our developer server with an account flagged as QA/Test, but the server doesnít show. Can you help me out with this? Also, In the permissions wiki it says there are two different flags (QA and Test) but on the website those two types are combined into one (QA/Test), we would prefer to have two different flags if possible. Can anyone help with this?

10
Scripting & Programming / Player Rotation
« on: Dec 12, 12, 06:49:00 PM »
Hello. I need to be able to play our character animations at any rotation. If I play an animation with Behave and then teleport the character with a given position/rotation, the rotation information is not sent to the other clients in the area. The other clients see the player at the correct position and running the correct animation but the rotation information is without change. I have tried rotating the player instead with it's controller (camera), but that messes up the playback of the animation because it's not an instance rotation on the player character.

11
Scripting & Programming / [Resolved] Edit instance NPCs
« on: Oct 20, 12, 04:54:03 PM »
Hey everyone.  Why do NPCs have to sleep in edit instances?  They have to be created in the edit instance, so it would be nice to be able to test their AiStates and logic in the edit instances as well.

12
Scripting & Programming / [Resolved] File IO
« on: Sep 25, 12, 09:00:45 PM »
Is there a File IO system?  I need to read an xml or text file from the repository for in game dialog.

13
Scripting & Programming / [Resolved] NPC clothing and parts
« on: Aug 28, 12, 12:38:34 PM »
Is there a way to SetPart in script on an NPC?  SetPart(...) seems to only be available on the client and NPCs seem to only be available on the server.  I have tried calling SetPart in the client's E_nonPlayerCharacter script, but it did nothing.

14
Scripting & Programming / [Resolved] Updating Feilds server side
« on: Jun 20, 12, 10:25:53 PM »
I'm trying to update a Vector3 server side.  I have been searching around the documentation and it seems I need to do something like : 

serverClassNode["field"] = "-0.3343,10.0,25.0"

or

serverClassNode["field"] = "(-0.3343,10.0,25.0)"

I get an error no matter what I seem todo.  Can anyone please explain how this works?

15
Scripting & Programming / [Resolved] Character Prototypes
« on: May 02, 12, 07:22:34 PM »
Hello.  I'm trying to view into the prototypes for the default character models.  (CCS_MaleRogue, CCS_FemaleBard, ect.) when I use the command /sp CCS_MaleRogue I get error:

System:CLI command "/sp CCS_MaleRogue": FAILED: SP ERROR 0 : "Error calling lookupPrototypeID GOM::lookupPrototypeID (951): definition not found: CCS_MaleRogue"

what am I doing wrong?  None of the character prototypes can be found.

Pages: [1] 2