Blockland Forums > Modification Help

Iban Explains it All

Pages: << < (25/39) > >>

Demian:


--- Quote from: Iban on March 28, 2011, 11:13:33 AM ---http://forum.blockland.us/index.php?topic=148963.0

--- End quote ---
Never mind. Torque Script is too advanced for my beginner Java brain.

Reinforcements:



Iban, I have to say I enjoyed your documents. They weren't dull, they had that "entertaining factor" to them. =)

Do you think you could write some up some stuff to explain vectors? Like getEyeVector(); and how to tell in what direction the player is from a certain brick's location? Raycasting would also be great too. Like the stuff from the Trench digging mod.


Demian:


--- Quote from: Reinforcements on March 28, 2011, 05:23:54 PM ---You could make Minecraft mods?

--- End quote ---
I said beginner. The most advanced thing I've done so far with help from a more advanced classmate is a basic Battleships game. I guess my problem with Torque Script is that I don't understand the syntax. Sure I can read some parts of the script and understand it, but the whole thing. Not a clue.

Destiny/Zack0Wack0:


--- Quote from: Demian on March 29, 2011, 04:57:48 AM ---I said beginner. The most advanced thing I've done so far with help from a more advanced classmate is a basic Battleships game. I guess my problem with Torque Script is that I don't understand the syntax. Sure I can read some parts of the script and understand it, but the whole thing. Not a clue.

--- End quote ---
How? The syntaxes are very similar.

Demian:


--- Quote from: Destiny/Zack0Wack0 on March 29, 2011, 05:36:39 AM ---How? The syntaxes are very similar.

--- End quote ---
Yes I have noticed some similarities but I find it hard to understand the script as a whole. For example this:

function serverCmdSetChatColor(%client,%colorName,%colorChat)

I understand that the first one defines it as a function that you can call later, but what is the next (serverCmdSetChatColor) part? What other things can you put there? The stuff in brackets are parameters, but I still don't understand how that stuff works.

Pages: << < (25/39) > >>

Go to full version