Modding, Mission Design, and Coding > The Modding Workshop

How exactly does vector syntax work on the context of weapons.tbl?

(1/1)

Kestrellius:
I've been trying to use the +Offset option for particle spew. The wiki says the necessary syntax is "vector". What exactly am I supposed to put there? Integer and float both throw errors at me (required token "float") and keep the game from starting; putting in "float,float" also crashes, but tells me it requires "$name" or "#end".

Spoon:
Sometimes coders just assume the end user magically knows the same things they do.
I think vector here means

--- Code: --- ( Float Float Float )
--- End code ---
x y z

Kestrellius:
Ah, okay. Thanks!

0rph3u5:
Late arrival but:


--- Quote from: Kestrellius on December 13, 2018, 12:49:52 am ---I've been trying to use the +Offset option for particle spew. The wiki says the necessary syntax is "vector". What exactly am I supposed to put there?

--- End quote ---

To clarify what is meant by "vector":
https://en.wikipedia.org/wiki/Euclidean_vector#Overview

... it makes way more sense when you had non-Euclidean geometery at some point in your education; I don't blame you for not knowing, considering how much I hated Math 101 and Theoretical Chemisty during my first-first and first-third semester

Navigation

[0] Message Index

Go to full version