Search found 84 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 9
Search found 84 matches Page 2 of 9
by irei1as
Tue Mar 13, 2018 10:58 am
Forum: Beginner
Topic: Compiler Problems with new Computer
Replies: 13
Views: 4604
If you're using Visual Studio 2017 (the one recommended for Windows 10) for CMake to work you need desktop c++ (warning: it's like 5 GB) https://userdeck-api.s3.amazonaws.com/files/LUHboih732iHV6xl-C%252B%252B-Tutorial%252C-Installing-C%252B%252B.png I got a new computer and I only needed that to co...
by irei1as
Fri Feb 02, 2018 11:34 am
Forum: C++
Topic: HitBox resource help.
Replies: 23
Views: 10341
I think the problem comes from mixing collision and nodes (armature bone is a kind of node). See, when looking for a node transform you get the root value and not the position it should take from the current animation. I think that can be fixed using in the server mShapeInstance->animateNodeSubtrees...
by irei1as
Thu Nov 02, 2017 11:55 am
Forum: Beginner
Topic: character customization mechanics
Replies: 5
Views: 2967
There is also the option of object mounting (not just weapon image)to do something kinda like a Mr. Potato but for body parts. But not sure about how good of a performance it'll run if there are a lot of objects. And if things fail to load you may end with a faceless guy like in the old assassin's c...
by irei1as
Thu Nov 02, 2017 11:40 am
Forum: C++
Topic: How can i add 3rd party library into torquescript?
Replies: 6
Views: 3719
Torque3d uses a marshalling (?) thing to comunicate between torquescript and C++, I think. What you want is, probably, to use "DefineConsoleFunction". I don't understand much the C++ base to really help you directly, sorry, but what I do is to check the source code for examples. If you know what fun...
by irei1as
Tue Oct 03, 2017 11:15 am
Forum: Beginner
Topic: get player position in torque c++
Replies: 4
Views: 2563
Ah, the Player class it isn't only for the active game player. It's just an object that moves like a Player and it can be used as the control object. Maybe something like "actor" could have been more appropriate. When you use "new" you create a new instance that is independent of any other Player ob...
by irei1as
Mon Aug 07, 2017 10:15 am
Forum: Beginner
Topic: Audio Scope Bug? Probably Bug Between Chair And Torquescript :/
Replies: 2
Views: 1830
It seems you may have found what's up but let me share something that may be related. If you're changing the camera you also need to use %camera.scopeToClient(%client) or the camera scope fails. I think that's called somewhere from spawnPlayer so it isn't a problem if using that. I had this issue wh...
by irei1as
Wed Jul 19, 2017 6:03 pm
Forum: C++
Topic: Looping Animation Stutters Due To First Frame Copied Over Last
Replies: 5
Views: 3202
I think I had that issue before. I'll have to test later. If I remember correctly what I did with blender is to change the start frame from "1" to "0". Then the first pair of frames I left as "root" and used the rest for the animations (looping or not). I suspect that extra frame is needed for the n...
by irei1as
Fri Jul 14, 2017 11:26 am
Forum: General
Topic: Releasing OpenAL Sound Buffers
Replies: 1
Views: 1781
I'm having some issues with OpenAL streaming buffers trying to fix the broken SFXSound::setPosition(x), too. Maybe it's related, thanks for the info. By the way, if anybody wants to test streaming sounds make them from sound files longer than 24 seconds. Otherwise they're internally treated like non...
by irei1as
Sun Jun 11, 2017 6:27 pm
Forum: TorqueScript
Topic: Old Takedown Resource?
Replies: 19
Views: 8940
What I would do: 1st: Disable player movement and victim AI (note: if the conditions for the fatality are met). 2nd: Move the player and the victim to the initial positions and rotations. 3rd: Just use playThread with both of them for the animations they need. 4th: When the animation is finished, do...
by irei1as
Thu Jun 08, 2017 10:23 am
Forum: TorqueScript
Topic: Adding time delay to certain functions
Replies: 5
Views: 3115
I think the easiest way would be to set a global variable with getSimTime() when you do something with a cooldown. $start_of_cooldown = getSimTime(); Then when you use the sight use a conditional to check if the actual getSimTime() is bigger than that variable with the desired increase. %aaa=getSimT...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 9
Search found 84 matches Page 2 of 9