Search found 72 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 8
Search found 72 matches Page 1 of 8
by irei1as
Thu Nov 02, 2017 11:55 am
Forum: Beginner
Topic: character customization mechanics
Replies: 5
Views: 120
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: 229
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 kno...
by irei1as
Tue Oct 03, 2017 11:15 am
Forum: Beginner
Topic: get player position in torque c++
Replies: 4
Views: 149
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...
by irei1as
Mon Aug 07, 2017 10:15 am
Forum: Beginner
Topic: Audio Scope Bug? Probably Bug Between Chair And Torquescript :/
Replies: 2
Views: 156
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: 294
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 e...
by irei1as
Fri Jul 14, 2017 11:26 am
Forum: General
Topic: Releasing OpenAL Sound Buffers
Replies: 1
Views: 180
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: 1043
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: 328
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...
by irei1as
Sat Jun 03, 2017 5:12 pm
Forum: Beginner
Topic: Got "failed to compile shader error" when change the lighting setting.
Replies: 5
Views: 320
Isn't basic lighting being partly axed since 3.9? That could be part of the problem. Another issue could be an administrator thing. If the program writes files (shaders) into the programs folder new windows admin rights may deny the action. I think there is a variable in the scripts for the shaders ...
by irei1as
Tue May 16, 2017 4:55 pm
Forum: C++
Topic: How to make a variable that affects alpha?
Replies: 3
Views: 506
Thanks a lot for the advice. I made a large re-read of all the code and found some wrong stuff I had (& instead of pointers and an incorrect name of a define). It took me some time but I got it working. http://i.imgur.com/UZhAUQb.png Note: cloned cubes with a shared material. The alpha comes fro...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 8
Search found 72 matches Page 1 of 8