Users 

Seek help here, ask others and help if you can. Before asking questions, please search this site and read available documentation.

How to make my own menus in the Theater

I try to make a special artistic show with Framsticks Theater.
My questions are :
- How to build my personal menus for my show ?
- Is it possible to delete the message www.frams-alife.com at the bottom of
the screen ?
- Is there a complete documentation about the Theater ?

Forums: 

How to use a special material for the sticks ?

I try to put a material for my joints :
I use something like :

function default_joint_build()
{
Element.useJointPart1();
loadAndAddAsTransformNode("newstick" + (1 + Math.random(5)) + ".ac");
Material.new();
Material.texture = "field1.png";
VertexBuilder.material = Material.object;
}
But no material applied to the sticks ....

(I can see in the documentation : Manipulate 3d objects surface properties
(Material objects can be associated with geometry nodes).

can you help me ?

Thanks

Forums: 

Sorry it's ok !

I've found the error : it was because one of my 3D objects was corrupted !
Thanks

Forums: 

Making thrust behave realisticly.

It was amusing to watch my tests at very high levels of thrust. At first
it scrunched up the joint, then inverted the joint and it went through
the head of the critter. I'll have to acount for inertia myself. (and
would like to do it from within the neuron itself so don't need to do
complicated onStep additions to each experiment.)

So my questions.

Is there a way to get every joint connected to a part? I know i can get
the part refeces that a joint connects, but i do not see an obvious way
to go from part to joints. If not i'll have to build a vector of vectors
with part to joints maps within init{}. This is so i can figure out
interia then apply thrust to the joint's parts and all the parts that
those connect to.

Does the simulation take in account air and water resistance? if not i
may have to fake that too.

is there anyway to make joints stiffer so the distorotion is not as
pronouced?

Forums: 

How to use differents joints on creatures ?

I try to use many forms of joints for my creatures:
I try this :

function default_joint_build()
{
Element.useJointPart1();
loadAndAddAsTransformNode("mystick" + (1 + Math.random(5)) + ".ac");
}

But I get some compile errors.
(I've made 5 objects : mystick1.ac ...mystick5.ac and want to use them
randomly)

Can you help me ?

Forums: 

Order of rotation for MechJoint.rx,ry,rz

I'm making two nuerons to enable flight, one a thruster and another a wing
shape. But to make this accurate i need to transform the axis's of the joint
to its rotation. so i know what direction of thrust i should aply it.
However order is important. If I rotate Z around the x before the y, I can
get diffeent results then if i rotate the around the y before the x. So i
would like to know what order its applyed in the program.

Forums: 

Where can I get complete f1 nueron docs

I only see bits and pieces of the types and parameter names, ala what does
the "p" in [N, -2:0.3,p:0.3] mean?

is there someplace where this is all collected in one doc? The pdf doesn't
have it.

Forums: 

How do i get something included in offical script includes?

I noticed a slight bug where if the genepool consists of nothing but one
genotype, it throw the program into an infinate loop. So to work around that
i made some additions to standard_props.inc and standard_select.inc.
So it will be easier on me to keepup with updates, I'd like to submit it for
including to offical includes. Also think others would find use for it,
other then just a work around for a bug.

What it does is the option Unique Genomes is checked in the Parameters pane
of the Experment paramters (or uniq_genotype is set to 1 in the experiment
def file) it will delete copies of genomes before removing anything else.
For those interested in using this now here is the code snipets:

standard_select.inc:

function selectedForDeletion()
{
//Remove copies from pool first;
if (ExpProperties.uniq_genotypes) {
var i=0;
while(i < GenotypeGroup.count) {
var gen = GenotypeGroup.getGenotype(i);
if (gen.popsiz > 1)
return i;
i=i+1;
}
}

if (ExpProperties.delrule == 0)
return GenotypeLibrary.random();
if (ExpProperties.delrule == 1)
return GenotypeLibrary.revroulette();
return GenotypeLibrary.worst();
}

and in standard_props.inc:

property:
id:uniq_genotypes
name:Unique Genomes
type:d 0 1

Forums: 

Predatory behavior and food finding?

Do these traits evolve over time or do you have to monkey with the genome to
have them manifest themselves?

Jimm

Forums: 

center_z and size_z scaling?

In trying to make an expdef that has the number of steps off the ground as a
fitness, I figured the easiest way to see if it was off the ground was to
see if center_z-(size_z/2) was more than zero (for flat ground). However,
size_z doesn't seem to use the same scale as center_z. Is it possible to
change one of them to the other's scale?

Forums: 

Pages

Subscribe to RSS - Users