Author Topic: How exactly does vector syntax work on the context of weapons.tbl?  (Read 3575 times)

0 Members and 1 Guest are viewing this topic.

How exactly does vector syntax work on the context of weapons.tbl?
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".

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: How exactly does vector syntax work on the context of weapons.tbl?
Sometimes coders just assume the end user magically knows the same things they do.
I think vector here means
Code: [Select]
( Float Float Float ) x y z
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

  
Re: How exactly does vector syntax work on the context of weapons.tbl?
Ah, okay. Thanks!

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: How exactly does vector syntax work on the context of weapons.tbl?
Late arrival but:

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?

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
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."