Search found 31 matches

Search found 31 matches Page 1 of 4
by newaged
Tue Mar 15, 2016 1:44 am
Forum: TorqueScript
Topic: TorqueScript limitation - is perception reality?
Replies: 9
Views: 2539
The numbers thing is just how the language works. You can still easily generate prefixes with that limitation, just stick a random char or short string in front of the number

Code: Select all

"string" @ %i @ "_material"
by newaged
Mon Mar 14, 2016 10:31 pm
Forum: TorqueScript
Topic: TorqueScript limitation - is perception reality?
Replies: 9
Views: 2539
output is

0_testmaterial
1_testmaterial
2_testmaterial
3_testmaterial
Names and vars can't start with numbers. Switch the names to testmaterial_[%i] and things will start going much smoother.
by newaged
Wed Mar 02, 2016 9:47 pm
Forum: Content
Topic: Can't seem to properly import a DAE into Torque
Replies: 11
Views: 4145
I never used them outside of the shape editor, but importing and playing the animations worked fine for me. Creating a new project using the dev branch could help, this isn't the first time someone has reported the prebuilt binaries doing things they shouldn't. For future reference - torque does not...
by newaged
Wed Mar 02, 2016 8:53 pm
Forum: Content
Topic: Can't seem to properly import a DAE into Torque
Replies: 11
Views: 4145
Imported the cubeman dae and it seems to work just fine for me. What version of torque are you running?
by newaged
Wed Mar 02, 2016 8:40 pm
Forum: Content
Topic: Can't seem to properly import a DAE into Torque
Replies: 11
Views: 4145
hm... try resetting the scale/pos/rot of everything with shift a maybe? Also get rid of any shapekeys and use loc/rot/scale for keyframes.
by newaged
Fri Feb 12, 2016 6:23 am
Forum: Visuals
Topic: Toon shading
Replies: 8
Views: 4297
This resource changes the shading on most objects, making them look like this http://i.imgur.com/slbN28E.png . Changes: shaders\common\lighting\advanced\vectorLightP.hlsl, line 203 float dotNL = dot(-lightDirection, normal); to float dotNL = clamp(smoothstep(0.4, 0.43, dot(-lightDirection, normal)),...
by newaged
Sun Feb 07, 2016 9:03 am
Forum: Beginner
Topic: How do you import models from Blender into Torque 3d?
Replies: 4
Views: 1945
@deathbravo I believe that problem has been fixed in a recent blender release. @HanaAnderson Yes, you can replace the default character. http://www.garagegames.com/products/torque-3d/fps#/4-characters/#Change_Player_Model . It does not need animations to work. If you were asking if you need to make ...
by newaged
Sun Feb 07, 2016 8:42 am
Forum: Beginner
Topic: How do I attach a script to an object?
Replies: 2
Views: 1010
I would recommend going through a tutorial like this if you have a lot of questions http://www.garagegames.com/products/tor ... -scripting.
It should help you figure a few things out.
by newaged
Fri Feb 05, 2016 10:40 am
Forum: Beginner
Topic: any easy way to use setNodeTransform
Replies: 4
Views: 1525
Thought I should mention the alternative to editing the model in a modeling program. The shape editor lets you create nodes that are children of bones, so it is possible to add a correct mount point to an object after it is made.
Search found 31 matches Page 1 of 4