help in mining explanation

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

I encountered

aMineProbability
aMinePos
aMineDir

what are those ? variables ? functions ?

ok they are nearly self explanatory, meaning:
(setq minedOre (sysCreateStation &stMinedOre; aMinePos))
will create the floating ore at "aMinePos" position ? :oops:

how can I manipulate the data stored in the 3 aMinexxx stuff ?
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

aMinePos seems to be the position vector of where the mining took place
aMineDir seems to be the direction the mining weapon fired

I think they are just globals set before the OnMined event is called.
You can if you want not use aMineProbability and even pass in any other info you want to make custom mining. (aMineDir seems to be the only one you need, and that is just to make it float away in the correct direction)
Crying is not a proper retort!
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Betelgeuse Posted: Thu Jan 03, 2008 2:13 am
aMinePos seems to be the position vector of where the mining took place
aMineDir seems to be the direction the mining weapon fired
Thanks for the explanation Betel.
So they are hardcoded globals used during Mining events.
I was wondering if the could be used for some effects when somebody uses a mining weapon against stations for example.
What about a weapon that desolder armor plates from stations ?
Post Reply