aiming down

Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: aiming down
PostPosted: Wed Jul 23, 2008 6:38 am 
User avatar
Singed

Current Scorched3D Rank: Unranked


Joined: Sat Jul 19, 2008 5:31 am
Posts: 17
How can i enable it so that players can aim pitch from -90 to +90 instead of just from 0 to 90?

I had finally come up with a mod idea but i hit this brick wall. please don't tell me again that it can't be done. [-o<
CLUCK!

Top
 Profile  
 
 Post subject: Re: aiming down
PostPosted: Wed Jul 23, 2008 8:49 am 
User avatar
Obliterated

Current Scorched3D Rank: 125





Joined: Sat Nov 05, 2005 9:29 am
Posts: 1969
Location: In a Rental.
WaxyChicken wrote:
How can i enable it so that players can aim
pitch from -90 to +90 instead of just from 0 to 90?

I had finally come up with a mod idea but i hit this brick wall.
please don't tell me again that it can't be done. [-o<

The player himself, no. and I'm assuming you mostly mean lasers.

However, with a little code magic on a few specific weapons, you
can off-set the angle to.. perhaps -30, and then fire it accordingly.
eg. target is 5 degrees down, aim at +25.

It has been done several times already in a few mods, with only
minor angle glitches happen at certian positions.
note: see lasermod Bended style lasers.

It perhaps could be added to the ToDo ideas list, but since the
majority of "none mod' weapons won't use it, it may be treated
with indifference by many.
Scorched3D Mod-Servers
Forum
Stats
Mods-Page


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 23, 2008 5:54 pm 
User avatar
Singed

Current Scorched3D Rank: Unranked


Joined: Sat Jul 19, 2008 5:31 am
Posts: 17
It looks like that can work.

Is there some way you could make the pitch angle redirect =
(angle - 45) * 2

this would provide a full 180 degrees by using only every other degree of the 180.
CLUCK!

Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 23, 2008 7:41 pm 
User avatar
Obliterated

Current Scorched3D Rank: 125





Joined: Sat Nov 05, 2005 9:29 am
Posts: 1969
Location: In a Rental.
WaxyChicken wrote:
It looks like that can work.

Is there some way you could make the pitch angle redirect =
(angle - 45) * 2

this would provide a full 180 degrees by using only every other degree of the 180.

Or a "Low-beam" laser that used (elevation * -1)?
That would be lovely..
Presetting the off-set is the most we can do for now, calculations
aren't allowed in the XML.
That type of calculated scripting is being tested in the alpha of
v42 but not funtional yet.
Scorched3D Mod-Servers
Forum
Stats
Mods-Page


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group