View unanswered posts | View active topics It is currently Thu Mar 28, 2024 6:38 pm



Reply to topic  [ 7 posts ] 
 Some modding questions. 
Author Message
Rank 16
Rank 16

Joined: Thu Feb 13, 2014 3:54 pm
Posts: 379
Location: United States
1. How do we go about spawning in fluids?

2. Can (and if so how do) we add objects to a scene?

3. Where are the properties for the vibrator, such that we can alter what happens when we activate it?


Tue Dec 09, 2014 3:38 pm
Profile
Site Admin
Site Admin

Joined: Thu Feb 07, 2013 11:16 am
Posts: 1865
1. How do we go about spawning in fluids?

Fluid settings are in file:

.\init\std\base\main\main_base.dat


2. Can (and if so how do) we add objects to a scene?

Not yet, we are busy setting up an modding wiki. Afterwards we will add resource pack to account-manager with maya scenes.


3. Where are the properties for the vibrator, such that we can alter what happens when we activate it?

Most objects are pretty fixed. So you cannot edit them, only turn them on off etc.


Tue Dec 09, 2014 4:08 pm
Profile
Rank 16
Rank 16

Joined: Thu Feb 13, 2014 3:54 pm
Posts: 379
Location: United States
xpadmin wrote:
1. How do we go about spawning in fluids?

Fluid settings are in file:

.\init\std\base\main\main_base.dat


Right, I know the settings are there, but I want to spawn some fluid in the scene programatically.

i.e.

Code:
[state.dyn.me.coll.vag_pen.obj  != null]
{
//Code to spawn in small amount of liquid with certain properties
}


To be exact, I'm trying to make it so Saiko is a virgin and you can pop her cherry, which is done by spawning a small amount of liquid in her vagina (or maybe just have the player automatically cum out the liquid so it looks like it's from Saiko) when you penetrate her.


Tue Dec 09, 2014 4:13 pm
Profile
Site Admin
Site Admin

Joined: Thu Feb 07, 2013 11:16 am
Posts: 1865
Ah,

You need the SetFluid command for that.

------

To notify player he should do this send event in character script to player like this:

[state.dyn.me.coll.vag_pen.obj != null]
{
loc.be.obj = PLAYER;
loc.be.id = CHAR;
loc.be.action = "do_eject1";
SendBaseEvent(loc.be);
}

----

Then add this to:
init\std\base\main\brain\code\ref\base_ref.dat file

CHAR.do_eject1 =
{
loc.sf.id = 0; // Fluid id
SetFluid(loc.sf);
}

After player gets event he will cumm.

--------------------------------------

You can also add a fluid to the girl in her fluid settings (probably red like)

And call SetFluid directly:

[state.dyn.me.coll.vag_pen.obj != null]
{
loc.sf.id = 1; // Custom fluid id
SetFluid(loc.sf);
}


N.b.

Set debug_brain = ENABLED; in settings.ini to see events in trace.txt file


Tue Dec 09, 2014 4:28 pm
Profile
Rank 5
Rank 5

Joined: Wed Aug 20, 2014 12:40 am
Posts: 15
That sounds interesting. As far as i understand, we can change viscosity of fluids. Or not? If so, would it be difficult to make a spawning of small amounts of fluids in vagina, let us say in second phase of animated version of sex? So it would look like her vagina is actually wet. And i don't know, can we make penis texures look more wet, like it is with girl's skin texture?
That would be very realistic way to mod the game.

If no one wants to do that, i would appreciate just answer possible or not and perhaps some hints, like xpadmin did above.


Tue Dec 09, 2014 10:02 pm
Profile
Rank 16
Rank 16

Joined: Thu Feb 13, 2014 3:54 pm
Posts: 379
Location: United States
So if "[state.dyn.me.coll.vag_pen.obj != null]" is true when you are just touching her vagina, what do you say to be true if and only if you are at a certain depth inside her vagina?

EDIT: Also, how do you declare/use global variables?


Wed Dec 10, 2014 1:02 am
Profile
Rank 12
Rank 12

Joined: Fri May 30, 2014 4:27 am
Posts: 87
Hell Yes for Virginity! :P....

You go Mohawk!

EDIT:

You asked about doing code when the penis is a certain depth. Look over on this page where he talks about custom blowjob responses:
[url]
viewtopic.php?f=28&t=809[/url]

Specifically:
Quote:
The dynamic variable 'state.dyn.me.coll' contains the collision values that can be polled. It is also possible to react on the event, but we will use polling in most cases.
The collision with the mouth can result in data for the following variables:

- state.dyn.me.coll.mouth_pen.obj_type : contain the object that is colliding
- state.dyn.me.coll.mouth_deep.obj_par: contains how deep the object is
- state.dyn.me.coll.mouth_speed.obj_par: contains how fast the object moves
- state.dyn.me.coll.mouth_wide.obj_par: contains how wide the mouth is


And:
Code:
// If penis in deep
[state.dyn.me.coll.mouth_deep.obj_par >= 3]
{


That help?


Wed Dec 10, 2014 5:25 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 21 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:  
Powered by phpBB® Forum Software © phpBB Group.
Designed by X-Moon Productions.