[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5150: file_get_contents(https://freedomsponsors.org/api/project/294): failed to open stream: HTTP request failed! HTTP/1.1 502 Bad Gateway
Forums | Torque 3D - Search

Search found 66 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 7
Search found 66 matches Page 1 of 7
by irei1as
Sun Jun 11, 2017 6:27 pm
Forum: TorqueScript
Topic: Old Takedown Resource?
Replies: 19
Views: 340
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: 90
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: 101
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: 224
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...
by irei1as
Sun Apr 30, 2017 7:17 pm
Forum: C++
Topic: How to make a variable that affects alpha?
Replies: 3
Views: 224
I thought there was a way to change a trasparency attribute to an object to change the alpha independent of the material but I wasn't able to find it. If that exists it would be what I'm looking for. But without that I'm trying to add an attribute to change the shader and add a color multiplier. The...
by irei1as
Sat Apr 29, 2017 5:14 pm
Forum: Beginner
Topic: Shader Problem
Replies: 14
Views: 493
You need to use singleton CustomMaterial instead of Material. The shader thing is for CustomMaterial only. I have my ShaderData as singleton. That may be also something you may want to change and I think it's better for that ShaderData to be defined before the CustomMaterial that uses it. Now that I...
by irei1as
Thu Mar 30, 2017 4:19 pm
Forum: Beginner
Topic: How to render to texture?
Replies: 1
Views: 156
I use a postFX as a tool to update a texture manipulated inside a shader. You can see what I tried in this resource: http://forums.torque3d.org/viewtopic.php?f=23&t=714 You see that in the PostFX MapTest I chooose the target to be a named texture "#maptexture". Also check the functions...
by irei1as
Tue Mar 21, 2017 5:39 pm
Forum: Gameplay
Topic: [C++]Bullet decals disappear if the base is destroyed
Replies: 9
Views: 1030
do u think this could be modified to have a decal follow the movement of an object? If the object has no internal animations it's very easy, like a static object moving with a tween. Add the matrix transform of the parent object (the object receiving the decal) as a variable of the decal. Then if t...
by irei1as
Sat Mar 04, 2017 5:53 pm
Forum: Content
Topic: Singleplayer level design workflow
Replies: 2
Views: 177
Very interesting.
Thanks for sharing.
by irei1as
Mon Feb 27, 2017 8:41 am
Forum: Beginner
Topic: vehicle remote controlled?
Replies: 7
Views: 250
Using the id is better if you're creating the objects on the run and saving their id as variables. Because id changes every time you run the game you can't just use the number. If you have already created objects I think it's better to give them a global name (you can see that field just above the i...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 7
Search found 66 matches Page 1 of 7