question

legions

Member
is it possible to create a grenade recticle that gueses where your grenade will shoot like a recticle from your gun to the where ever the grenade stops but not make it so that it changes
 

PureWhoopAss

Legions Developer
the gernade will never land in same place because of various factors, theres the arc, the momentum from the speed of the player, and elevation.. so no its not possible.
 

GameDevMich

Honored Hero
Wellll, not necessarily true PureWhoopAss. It would not be easy, but it is possible. You would need access to all the member variables for Projectile and ShapeBaseImage. The physics in the engine are not true random, so you can piece together an algorithm that takes in everything you mentioned and adjust the reticle in screen space to match world-space coordinates of a grenade. Again, you would need access to the read-only variables to make it happen, which is not something easy to do and is akin to partial hacking.
 

PureWhoopAss

Legions Developer
I was thinking something along the lines of how reticles from fighter planes move. I suggested this before but oh well.
 

GameDevMich

Honored Hero
Or just punch in the values manually. Play around with them till you get it about right.
Yup, if you have access to them. A developer with script source access would have an easier time with this. However, I saw the console is enabled, which makes it easy to dump out all the properties of any objects defined in TorqueScript.
 

PureWhoopAss

Legions Developer
it definately would make it interesting. i would have multiple reticles like the fighter planes have it one centered and one or two changing as the player moves.
 
Top