Anyone got any ideas for the criteria for an asteroid? I have "t:asteroid; tN"
I've also tried n+t:asteroid;, nt:asteroid;, nT:asteroid; n+T:Asteroid; T:Asteroid; N (this is what is in Encounters.xml for Ferians) and T:asteroid; tN. It always returns nil.
[mod idea+work help] Hive behavior
-
- Fleet Officer
- Posts: 1036
- Joined: Wed Feb 03, 2010 4:28 am
- Location: Researching how to make St. Kats star go supernova.
- Contact:
Play in over 100 systems in a network. Play the 2011 Mod Of the Year
and the highest rated mod on Xelerus, The Network.
Play the July Mod of the Month, Fellow Pilgrims!
Play My other mods as well
(Drako Slyith)* I am a person
(Eliza chatbot)> Do you believe it is normal to be a person?
- alterecco
- Fleet Officer
- Posts: 1658
- Joined: Wed Jan 14, 2009 3:08 am
- Location: Previously enslaved by the Iocrym
"tN +asteroid" should return the nearest station like object with "asteroid" in the attributes.
Did you read the wiki page on the criteria? It is actually quite simple.
http://wiki.neurohack.com/transcendence ... t_criteria
Did you read the wiki page on the criteria? It is actually quite simple.
http://wiki.neurohack.com/transcendence ... t_criteria
-
- Fleet Officer
- Posts: 1036
- Joined: Wed Feb 03, 2010 4:28 am
- Location: Researching how to make St. Kats star go supernova.
- Contact:
I did. Actually I managed to get it by using enumWhile to find "t" as a list then check it for (objHasAttribute "asteroid") My code as it is right now (I'm still working on it a lot) is here:http://paste.neurohack.com/view/YJhEu/
I know I have a lot of roundabout code, but somehow it works.
I know I have a lot of roundabout code, but somehow it works.
Play in over 100 systems in a network. Play the 2011 Mod Of the Year
and the highest rated mod on Xelerus, The Network.
Play the July Mod of the Month, Fellow Pilgrims!
Play My other mods as well
(Drako Slyith)* I am a person
(Eliza chatbot)> Do you believe it is normal to be a person?
- Resident-Pyromaniac
- Militia Lieutenant
- Posts: 207
- Joined: Sun Feb 27, 2011 5:11 pm
- Location: Looting the Wreck of the CSC terra.
Woah.. this would be really cool.
I think it needs to be applied to Dwargs and Ferians.
I think it needs to be applied to Dwargs and Ferians.
If Transcendence was made in 3D, I would die of Happiness.
If you are reading this, then I have planted a deadly virus into your CPU. (not really, but you can never be too careful.)
If you are reading this, then I have planted a deadly virus into your CPU. (not really, but you can never be too careful.)
-
- Fleet Officer
- Posts: 1036
- Joined: Wed Feb 03, 2010 4:28 am
- Location: Researching how to make St. Kats star go supernova.
- Contact:
Thanks. It's not quite done yet. I still have some more to fix, such as ships escorting cannibals, then being eaten. I also want to get the ships to develop better/worse armor like their armor.
Play in over 100 systems in a network. Play the 2011 Mod Of the Year
and the highest rated mod on Xelerus, The Network.
Play the July Mod of the Month, Fellow Pilgrims!
Play My other mods as well
(Drako Slyith)* I am a person
(Eliza chatbot)> Do you believe it is normal to be a person?
-
- Fleet Officer
- Posts: 1036
- Joined: Wed Feb 03, 2010 4:28 am
- Location: Researching how to make St. Kats star go supernova.
- Contact:
Thanks for all your help. I uploaded it to Xelerus today: http://xelerus.de/index.php?s=mod&id=901
Play in over 100 systems in a network. Play the 2011 Mod Of the Year
and the highest rated mod on Xelerus, The Network.
Play the July Mod of the Month, Fellow Pilgrims!
Play My other mods as well
(Drako Slyith)* I am a person
(Eliza chatbot)> Do you believe it is normal to be a person?
-
- Fleet Officer
- Posts: 1036
- Joined: Wed Feb 03, 2010 4:28 am
- Location: Researching how to make St. Kats star go supernova.
- Contact:
I did find one bug though, which is that they go to shipwrecks and station wrecks as well as asteroids, but I think I fixed that. I had my code to find an asteroid, then for some reason I reset the asteroid as any station in the system. I also need to increase the swarm range and slow down everything because they aren't swarming as much as I want.
Play in over 100 systems in a network. Play the 2011 Mod Of the Year
and the highest rated mod on Xelerus, The Network.
Play the July Mod of the Month, Fellow Pilgrims!
Play My other mods as well
(Drako Slyith)* I am a person
(Eliza chatbot)> Do you believe it is normal to be a person?