View unanswered posts | View active topics It is currently Wed Sep 28, 2016 10:08 pm



Reply to topic  [ 3 posts ] 
Questions about (objGetDevice* ...) and (objSetDevice* ...) 
Author Message
Fleet Admiral
Fleet Admiral

Joined: Wed Sep 01, 2010 12:54 am
Posts: 2074
Post 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]).

_________________
Download and Play in 1.7 Alpha...
Playership Drones v7 (Beta): Acquire and command almost any ship in Stars of the Pilgrim or Eternity Port.
Drake Technologies (Alpha): More hardware for combat!
Star Castle Arcade: Relive classic arcade gaming in a new Transcendence adventure!


Sun Feb 19, 2012 2:54 am
Profile
Developer
Developer

Joined: Thu Jul 24, 2003 9:53 pm
Posts: 2712
Post 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/746
get set omni: http://wiki.neurohack.com/transcendence/trac/ticket/747


Mon Feb 20, 2012 5:18 pm
Profile WWW
Fleet Admiral
Fleet Admiral

Joined: Wed Sep 01, 2010 12:54 am
Posts: 2074
Post 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.

_________________
Download and Play in 1.7 Alpha...
Playership Drones v7 (Beta): Acquire and command almost any ship in Stars of the Pilgrim or Eternity Port.
Drake Technologies (Alpha): More hardware for combat!
Star Castle Arcade: Relive classic arcade gaming in a new Transcendence adventure!


Mon Feb 20, 2012 7:17 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.