xmoonproductions.org
https://www.xmoonproductions.org/

Example: Custom fluids
https://www.xmoonproductions.org/viewtopic.php?f=28&t=786
Page 1 of 1

Author:  xpadmin [ Fri Sep 20, 2013 9:55 am ]
Post subject:  Example: Custom fluids

Attachment:
fluid_script.jpg
fluid_script.jpg [ 208.09 KiB | Viewed 22498 times ]


Watch this movie to see the effect of different kind of fluids.
They are shown in the same order as defined by the script below.

As you can see changing the parameters will have all kind of different effects on the way the fluid behaves and looks.

Here is the script that creates these custom fluids.

main_object MAIN_BASE
{
fluid[0]
{
// The type of fluid (can be CUM or PEE for now)
// Cum is sticky and thick, Pee is more water like
fluid_type = CUM;

// The min and max penis mode that allows this fluid
// E.g. cum is only allowed with erect penis (mode 3)
min_penis_mode = 3;
max_penis_mode = 255;

// The filename of the 3d particle
file_name = "scenes/viewer/fluidCumShape.obj";

// The colors
color = (128,128,128,0); // The color
ambient_color = (128,128,128,128); // The ambient color
specular_color = (128,128,128,255); // The specular color
ref_color = (115,115,115,255); // The reflection color
ref_factor = 0.2; // The reflection power

// The pos relative to penis top
pos = (0,0.006,0);

// The physics parameters
vel_scale = (0.5,0.5,0.5); // Random velocity scale
vel_dis = (0.0,0.0,0.0); // Velocity offset
pos_dis = (0.004,0.02,0.004); // Random position offset

// The duration of creating the particles (with 60 fps this is 0.3 * 60 * 13 particles)
part_dur = 0.3;

// The maximum of particles allowed of this fluid
max_particle_count = 4000;

// The number of particles spawned at each frame
spawn_count = 13;
}

fluid[1]
{
fluid_type = PEE;

min_penis_mode = 1;
max_penis_mode = 3;

file_name = "scenes/viewer/fluidPissShape.obj";

color = (77,67,42,0);
ambient_color = (77,67,42,153);
specular_color = (102,102,102,255);
ref_color = (128,126,102,255);
ref_factor = 0.2;

fluid_sound = "scenes/sounds/body/pee1.wav";

pos = (0,0,0);

vel_scale = (0.75,0.75,0.75);
vel_dis = (0.0,0.0,0.0);
pos_dis = (0.001,0.01,0.001);

part_dur = 1.0;

max_particle_count = 2000;

spawn_count = 20;
}

fluid[2]
{
fluid_type = CUM;

min_penis_mode = 3;
max_penis_mode = 255;

file_name = "scenes/viewer/fluidCumShape.obj";

color = (255,0,0,0);
ambient_color = (0,0,0,255);
specular_color = (128,128,128,255);
ref_color = (255,0,0,255);
ref_factor = 1.0;

pos = (0,0.006,0);

vel_scale = (0.5,0.5,0.5);
vel_dis = (0.0,0.0,0.0);
pos_dis = (0.004,0.02,0.004);

part_dur = 0.3;

max_particle_count = 2000;

spawn_count = 13;
}

fluid[3]
{
fluid_type = CUM;

min_penis_mode = 3;
max_penis_mode = 255;

file_name = "scenes/viewer/fluidCumShape.obj";

color = (0,255,0,0);
ambient_color = (0,0,0,255);
specular_color = (128,128,128,255);
ref_color = (0,255,0,255);
ref_factor = 1.0;

pos = (0,0.006,0);

vel_scale = (0.5,0.5,0.5);
vel_dis = (0.0,0.0,0.0);
pos_dis = (0.004,0.02,0.004);

part_dur = 0.3;

max_particle_count = 2000;

spawn_count = 13;
}

fluid[4]
{
fluid_type = CUM;

min_penis_mode = 3;
max_penis_mode = 255;

file_name = "scenes/viewer/fluidCumShape.obj";

color = (0,0,255,0);
ambient_color = (0,0,0,255);
specular_color = (128,128,128,255);
ref_color = (0,0,255,255);
ref_factor = 1.0;

pos = (0,0.006,0);

vel_scale = (0.5,0.5,0.5);
vel_dis = (0.0,0.0,0.0);
pos_dis = (0.004,0.02,0.004);

part_dur = 0.3;

max_particle_count = 2000;

spawn_count = 13;
}

fluid[5]
{
fluid_type = CUM;

min_penis_mode = 3;
max_penis_mode = 255;

file_name = "scenes/viewer/fluidCumShape.obj";

color = (128,128,128,0);
ambient_color = (128,128,128,128);
specular_color = (128,128,128,255);
ref_color = (115,115,115,255);
ref_factor = 0.2;

pos = (0,0.006,0);

vel_scale = (0.5,0.5,0.5);
vel_dis = (0.0,0.0,0.0);
pos_dis = (0.01,0.02,0.01);

part_dur = 2.0;

max_particle_count = 3000;

spawn_count = 20;
}

fluid[6]
{
fluid_type = CUM;

min_penis_mode = 3;
max_penis_mode = 255;

file_name = "scenes/viewer/fluidCumShape.obj";

color = (128,128,128,0);
ambient_color = (128,128,128,128);
specular_color = (128,128,128,255);
ref_color = (115,115,115,255);
ref_factor = 0.2;

pos = (0,0.006,0);

vel_scale = (0.5,0.5,0.5);
vel_dis = (1.0,1.0,1.0);
pos_dis = (0.004,0.02,0.004);

part_dur = 1.0;

max_particle_count = 2000;

spawn_count = 20;
}

fluid[7]
{
fluid_type = CUM;

min_penis_mode = 3;
max_penis_mode = 255;

file_name = "scenes/viewer/fluidCumShape.obj";

color = (128,128,128,0);
ambient_color = (128,128,128,128);
specular_color = (128,128,128,255);
ref_color = (115,115,115,255);
ref_factor = 0.2;

pos = (0,0.006,0);

vel_scale = (0.5,0.5,0.5);
vel_dis = (0.0,0.0,0.0);
pos_dis = (0.14,0.01,0.16);

part_dur = 0.0;

max_particle_count = 4000;

spawn_count = 4000;
}
}

Author:  booster [ Fri Sep 20, 2013 11:14 am ]
Post subject:  Re: Example: Custom fluids

awesome! The scripting seems to be very powerful. you just made my day! ;-)

Author:  Malachai [ Fri Sep 20, 2013 2:16 pm ]
Post subject:  Re: Example: Custom fluids

Looking forward to playing around with this. But anyone else cringe when the cum was red? Gah. Laughed when he came a square though.

Author:  xpadmin [ Fri Sep 20, 2013 2:34 pm ]
Post subject:  Re: Example: Custom fluids

Yes, the red one looks painful. But it leaves a nice red paint colour on the girl.

::Lol

Author:  MasterAaran [ Sun Dec 07, 2014 12:08 am ]
Post subject:  Re: Example: Custom fluids

I hope someone sees this :P.... since it's in an old thread....

Can you cause specific reactions/effects when a particular fluid hits a girl? FOr instance, if I make a custom fluid in slot 1, say yellow...for yellow paint.... can I make her react in a certain way to that fluid hitting her?

Just wondering...

Author:  freemywilly [ Thu Dec 11, 2014 11:40 am ]
Post subject:  Re: Example: Custom fluids

HI XMOON.
Great work, the game is in a good state.
I wonder if there is a duration parameter for the cumfluid, in my opinion the fluid dissapears too fast.
ever watched a jav-bukkake, there are always nice cum trails hanging down the hair or nose.
at the moment this is not possible with the game, or do i miss it?

Author:  Roggvir [ Mon Jan 05, 2015 11:04 am ]
Post subject:  Re: Example: Custom fluids

Is there maybe some hidden parameter to affect stickyness of the fluid particles, or maybe their gravity?
To make the cum more sticky so it wouldn't drop from face/body as fast as it currently does?

Author:  spsps18 [ Mon Jan 05, 2015 12:16 pm ]
Post subject:  Re: Example: Custom fluids

Roggvir wrote:
Is there maybe some hidden parameter to affect stickyness of the fluid particles, or maybe their gravity?
To make the cum more sticky so it wouldn't drop from face/body as fast as it currently does?

It might be hardcoded in the CUM class.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/