Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Help and Support v
« Previous 1 … 5 6 7 8 9 … 21 Next »
Expression 2 Help
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Expression 2 Help
15-07-2018, 12:48 PM,
#1
Ethan Vondwarf Offline
I will go down with Destiny.
****
Posts: 305
Threads: 95
Joined: Mar 2015
Expression 2 Help
i need 1 things from Person or people that coded the ship turrets and 1 thing that E2 Coders know

1. What is the speed of the projectiles
2. How do I get the Velocity of an entity

'You are always moving, even when your standing still.' Me - 2016
Find
Reply
15-07-2018, 07:09 PM, (This post was last modified: 15-07-2018, 07:09 PM by 4N0NYM. Edited 1 time in total.)
#2
4N0NYM Offline
absens
****
Posts: 561
Threads: 211
Joined: Dec 2014
RE: Expression 2 Help
For what you need the speed of a projectile ?
Find
Reply
15-07-2018, 11:36 PM,
#3
Ethan Vondwarf Offline
I will go down with Destiny.
****
Posts: 305
Threads: 95
Joined: Mar 2015
RE: Expression 2 Help
A turret
I imagine all turret projectiles go at the same speeds

'You are always moving, even when your standing still.' Me - 2016
Find
Reply
16-07-2018, 05:12 PM,
#4
The17thDoctor Online
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
RE: Expression 2 Help
(15-07-2018, 11:36 PM)тѕсм.Ethan Vondwarf Wrote: A turret
I imagine all turret projectiles go at the same speeds

You cant set the velocity of the projectiles in SF or E2 I think.

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
16-07-2018, 07:08 PM,
#5
Ethan Vondwarf Offline
I will go down with Destiny.
****
Posts: 305
Threads: 95
Joined: Mar 2015
RE: Expression 2 Help
THAT'S NOT WHAT I'M ASKING

'You are always moving, even when your standing still.' Me - 2016
Find
Reply
17-07-2018, 01:32 PM,
#6
Blackhawk Offline
GMod Admin
Posts: 204
Threads: 9
Joined: Sep 2013
RE: Expression 2 Help
Either there is a method called getVelocity() or you measure the time the entity needs to travel from vector A to vector B and calculate the velocity that way.
You can get the projectile speed the same way.
Find
Reply
17-07-2018, 05:05 PM,
#7
The17thDoctor Online
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
RE: Expression 2 Help
(17-07-2018, 01:32 PM)Blackhawk Wrote: Either there is a method called getVelocity() or you measure the time the entity needs to travel from vector A to vector B and calculate the velocity that way.
You can get the projectile speed the same way.

Indeed, you could measure the time between the projectile is being launched and the time it stops, for example in starfall you have a hook named EntityTakeDamage so you could use it in a way your projectile stops a timer when it hits the prop.

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.