View unanswered posts | View active topics It is currently Wed Sep 17, 2014 1:32 pm



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

Joined: Wed Sep 01, 2010 12:54 am
Posts: 1392
Location: Human Space
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]).

_________________
Playership Drones v6+, now with 120 Facings Ships!
Compatible with Transcendence 1.3 beta 2.
(Development status for Playership Drones v7: On hiatus)

Relive classic arcade gaming in Star Castle Arcade, a new Transcendence adventure!


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

Joined: Thu Jul 24, 2003 9:53 pm
Posts: 2304
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 Officer
Fleet Officer

Joined: Wed Sep 01, 2010 12:54 am
Posts: 1392
Location: Human Space
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.

_________________
Playership Drones v6+, now with 120 Facings Ships!
Compatible with Transcendence 1.3 beta 2.
(Development status for Playership Drones v7: On hiatus)

Relive classic arcade gaming in Star Castle Arcade, 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 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

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