Fake aircraft, real airstrike Last updated 05 Oct 2014 13:48 by LukasPJ
Faking aircraft zooming overhead like all the cool FPS's have … but let's expand that and have fake aircraft deliver REAL airstrikes! In T3D using scripted objects, baffling 3D maths and raycasts.
resource t3d torquescript
Server And Client Communication Last updated 05 Oct 2014 13:05 by LukasPJ
The functions commandToClient and commandtoServer sends a command to the client or the server. commandToClient takes 2+ parameters. The first one being the id of the client, the second is the tag of the command the client should execute. All following parameters is the arguments passed to the command.
String Concatenation Last updated 05 Oct 2014 12:41 by LukasPJ
@ - Concatenates two strings.
TAB - Concatenates two strings with a tab between them.
SPC - Concatenates two strings with a space between them.
NL - Concatenates two strings with a newline between them.
Example:
Fields And Words Last updated 05 Oct 2014 12:38 by LukasPJ
There are some pretty cool functions called getWord, setWord, getField, setField.
These functions lets you edit a string at an index based on the number of either spaces or tabs. getField, is based on tabs. getWord is based on spaces.
Examples:
Relative Paths Last updated 27 Sep 2014 22:22 by LukasPJ
"./" refers to the location of the file calling the function.
"~/" refers to the root-child the file lives in ("Game/Scripts/Client/somefile.cs" becomes "Game/Scripts")
"/" or nothing, refers to the location of the executable.
Refactoring with class methods Last updated 27 Sep 2014 02:28 by buckmaster
Port this.
Sound effects Last updated 27 Sep 2014 02:26 by buckmaster
Port this.
Hit particle effects Last updated 27 Sep 2014 02:24 by buckmaster
Port this.
Simple destroyables Last updated 27 Sep 2014 02:22 by buckmaster
Combine this and this.
HL2 Style Weapon Selection Last updated 14 Jul 2014 18:40 by LukasPJ
By Steve Acaster
Reference: ActionMap Last updated 14 Jul 2014 17:47 by LukasPJ
ActionMap -> [[T3D/Scripters/Reference:_SimObject |SimObject]]