|
|
Register •
FAQ
• Search • Login
|
 |
|
Page 1 of 1
|
[ 3 posts ] |
|
Questions about (objGetDevice* ...) and (objSetDevice* ...)
| Author |
Message |
|
PM
Militia Captain
Joined: Wed Sep 01, 2010 12:54 am Posts: 831 Location: Human Space
|
 Questions about (objGetDevice* ...) and (objSetDevice* ...)
Is there any way to get or set the 'z' position of a device? So far, we have angle and radius for the x and y axes, but none that I know of for the z-axis.
Are there functions to check if a weapon is omnidirectional, or to force a given weapon to be omnidirectional? If not, I like to see functions like (objIsDeviceOmnidirectional obj deviceItem) and (objSetDeviceOmnidirectional obj deviceItem [True/Nil]).
_________________ Want to pilot any ship in the game and acquire automated wingmen? Download Playership Drones v6 from Xelerus today! (Development status for Playership Drones v7: On Hiatus)
|
| Sun Feb 19, 2012 2:54 am |
|
 |
|
george moromisato
Developer
Joined: Thu Jul 24, 2003 9:53 pm Posts: 1694
|
 Re: Questions about (objGetDevice* ...) and (objSetDevice* .
All good requests. I've added some tickets, which should get done for 1.08 (soon): objSetDevicePos and z axis: http://wiki.neurohack.com/transcendence/trac/ticket/746get set omni: http://wiki.neurohack.com/transcendence/trac/ticket/747
|
| Mon Feb 20, 2012 5:18 pm |
|
 |
|
PM
Militia Captain
Joined: Wed Sep 01, 2010 12:54 am Posts: 831 Location: Human Space
|
 Re: Questions about (objGetDevice* ...) and (objSetDevice* .
Thanks. Also another request:
I noticed that device position for playerships is set to a default of (angle=0, radius=20, z=0). While fine for the basic three playerships, this is ill-suited for other ships with different positions, such as capital ships or even the Luminous drone with its rear-aiming weapon. What would be nice is to let the modder define the default position and fire arcs/omni of a playership, so that when the player installs a new weapon for an unusual ship, the device position/firearcs are automatically set to those new defaults. If the playership has no defaults defined, it uses the standard position (0 20) and no fire arcs.
Then the (objSetDevice* ...) functions can be used whenever the modder wants to work with secondary weapons.
_________________ Want to pilot any ship in the game and acquire automated wingmen? Download Playership Drones v6 from Xelerus today! (Development status for Playership Drones v7: On Hiatus)
|
| Mon Feb 20, 2012 7:17 pm |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 3 guests |
|
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
|
|
 |
|