View unanswered posts | View active topics It is currently Tue Mar 19, 2024 7:44 am



Reply to topic  [ 5 posts ] 
 A couple of questions 
Author Message
Rank 2
Rank 2

Joined: Wed Aug 01, 2018 1:22 pm
Posts: 4
First this is a fantastic product, looking forward to the new version!
I have been tinkering with the scripting capabilities and have a couple of questions:
1. I noticed that the game comes with a lua dll, is there a way to add lua to the scripting?
2. Is there a way to disable physics on a object like for instance, clicking on a shirt, disable collisions and have it fall down to the floor.
3. Is there a way to reset an article of clothing, for instance if you use the pose fall, sometime clothing can get a little messed up...
4. Is there an easy way to detect dragging of something, like picking up and dragging the hand or the shirt?

Thank you!


Wed Aug 01, 2018 1:27 pm
Profile
Rank 17
Rank 17
User avatar

Joined: Fri Feb 27, 2015 2:06 pm
Posts: 682
Location: Australia
im going to assume this is for version 3.5

1. That one im not to sure but you can edit/create any dat/ini files you want

2. I believe once an object has collision it stays like that but you can make clothes fall to the floor
Code:
FORCE CLOTH DOWN
Code:
loc.cs.item = 0;
loc.cs.dir  = 10; //force to apply down
SetClothState(loc.cs);

after

loc.cs.item = 0;
loc.cs.dir  = 0; //set back to 0 so it does not fly away?
SetClothState(loc.cs);

whole post here
viewtopic.php?f=28&t=5476

3. Not without resetting the character
Code:
loc.cs.cloth_type  = CASUAL;
loc.cs.scene_id    = OFFICE16;//your scene
loc.cs.waypoint    = "waypoint8";//your waypoint//could use their character name as defined in their ini
//loc.cs.waypoint    = "SAIKO"
loc.cs.pose_type   = WALK;
loc.cs.pose_id     = 1;

SetCharState(loc.cs);


4. there is

Code:
state.dyn.me.coll.MONICA_CLOTH_ITEM0_touch.obj
state.dyn.me.coll.MONICA_CLOTH_ITEM0_button0.obj > state.dyn.me.coll.MONICA_CLOTH_ITEM0_button7.obj
state.dyn.me.coll.MONICA_CLOTH_ITEM1_touch
state.dyn.me.coll.MONICA_CLOTH_ITEM1_zip0
state.dyn.me.coll.MONICA_CLOTH_ITEM1_button0
state.dyn.me.coll.MONICA_CLOTH_ITEM1_button1
state.dyn.me.coll.MONICA_CLOTH_ITEM2_touch
talk.s = "Hell fucking no you {state.dyn.me.do.monicainsults} you are not taking my panties off, {state.dyn.me.do.monicainsults}";

state.dyn.me.coll.head_touch.obj
state.dyn.me.coll.neck_touch.obj
state.dyn.me.coll.bodytop_touch.obj
state.dyn.me.coll.bodymid_touch.obj
state.dyn.me.coll.bodybot_touch.obj
state.dyn.me.coll.armsup_touch.obj
state.dyn.me.coll.armslow_touch.obj
state.dyn.me.coll.hands_touch.obj
state.dyn.me.coll.legsup_touch.obj
state.dyn.me.coll.legslow_touch.obj
state.dyn.me.coll.feet_touch.obj
state.dyn.me.coll.skin0_touch.obj_par == 1 //boobs
state.dyn.me.coll.skin0_touch.obj_par == 2 //left nipple
state.dyn.me.coll.skin0_touch.obj_par == 3 //right nipple
state.dyn.me.coll.root_touch.obj
state.dyn.me.coll.butt_touch.obj
state.dyn.me.coll.pussy_touch.obj_par == 1 //pussy
state.dyn.me.coll.pussy_touch.obj_par == 4 //clit
state.dyn.me.coll.anus_touch.obj //was broken last time i checked and some of the back area returned asshole....

SPANKING
state.dyn.me.coll.root_hit.obj //ass
state.dyn.me.coll.skin0_hit.obj //tits
state.dyn.me.coll.head_hit.obj
state.dyn.me.coll.body_hit.obj

PENETRATION

[state.dyn.me.coll.vag_pen.obj == PLAYER]
[state.dyn.me.coll.vag_pen.obj == MONICA]
[state.dyn.me.coll.vag_pen.obj == VIBRATOR1 | state.dyn.me.coll.vag_pen.obj == PINK_DILDO1 | state.dyn.me.coll.vag_pen.obj == BLACK_DILDO1]
[state.dyn.me.coll.vag_pen.obj == PDILDO1]//pole

state.dyn.me.coll.vag_deep.obj_par //how deep
state.dyn.me.coll.vag_speed.obj_par // how fast

state.dyn.me.coll.anus_pen.obj
state.dyn.me.coll.mouth_pen.obj

FLUIDS
//fluid1 //cum
//fluid2 //piss
//whatever's set in the players ini
//THE EVENT FIRES EVEN IF A SINGLE BIT OF FLUID IS TOUCHING AND KEEPS FIRING UNTIL ITS GONE


[state.dyn.me.coll.mouth_pen.obj == null & state.dyn.me.coll.head_fluid1.obj != null]//on head face etc
[state.dyn.me.coll.mouth_pen.obj != null & state.dyn.me.coll.head_fluid1.obj != null ]//in mouth
state.dyn.me.coll.neck_fluid1.obj
state.dyn.me.coll.bodytop_fluid1.obj
state.dyn.me.coll.bodymid_fluid1.obj
state.dyn.me.coll.bodybot_fluid1.obj
state.dyn.me.coll.armsup_fluid1.obj
state.dyn.me.coll.armslow_fluid1.obj
state.dyn.me.coll.hands_fluid1.obj
state.dyn.me.coll.legsup_fluid1.obj
state.dyn.me.coll.legslow_fluid1.obj
state.dyn.me.coll.feet_fluid1.obj
state.dyn.me.coll.skin0_fluid1.obj //boobs
state.dyn.me.coll.root_fluid1.obj
state.dyn.me.coll.butt_fluid1.obj

state.dyn.me.coll.vag_pen.obj  != null & state.dyn.me.coll.pussy_fluid1.obj != null]//in pussy
[state.dyn.me.coll.vag_pen.obj  == null & state.dyn.me.coll.pussy_fluid1.obj != null ] //on pussy
[state.dyn.me.coll.anus_pen.obj  == null & state.dyn.me.coll.anus_fluid1.obj != null]//on ass
[state.dyn.me.coll.anus_pen.obj  != null & state.dyn.me.coll.anus_fluid1.obj != null ]//in ass


whole post here
viewtopic.php?f=28&t=5476&start=10

_________________
To install a mod

ESKARN'S TUTORIALS

Eskarn's Dungeon Mod(BETA)

Eskarn's puzzle map (story)


Thu Aug 02, 2018 12:30 am
Profile
Rank 2
Rank 2

Joined: Wed Aug 01, 2018 1:22 pm
Posts: 4
4. That only shows the collisions (touch), what about dragging something? I am using a what was the last thing touched was it touched again method but it doesn't always work the way I want.


Thu Aug 02, 2018 12:21 pm
Profile
Rank 2
Rank 2

Joined: Wed Aug 01, 2018 1:22 pm
Posts: 4
Also is there a way to change position of a body part like the hands or the feet to a specific location? Or even retrieving where the location of the hands and feet currently are?


Thu Aug 02, 2018 1:17 pm
Profile
Rank 17
Rank 17
User avatar

Joined: Fri Feb 27, 2015 2:06 pm
Posts: 682
Location: Australia
siouxst wrote:
4. That only shows the collisions (touch), what about dragging something? I am using a what was the last thing touched was it touched again method but it doesn't always work the way I want.

i would need to know more specifically what you are trying to do
eg story step to drag dress away
response to player touching dress for to long etc

but i would just check if the player is still touching
eg state.dyn.me.coll.MONICA_CLOTH_ITEM0_touch.obj would trigger every tick

Code:
[TOUCHINGDRESS]
{
    [state.dyn.me.coll.MONICA_CLOTH_ITEM0_touch.obj != NULL]
    {
        //whatever code
    }
}

siouxst wrote:
Also is there a way to change position of a body part like the hands or the feet to a specific location? Or even retrieving where the location of the hands and feet currently are?


This would be done with animations
but if you are looking to move limbs using just code then no
and no i don't think you can get the location of hands or feet
other then calling an animation then you know where they are
http://wiki.xmoonproductions.org/index. ... Animations

but again i would need to know what effect your trying to achieve in order to suggest anything

_________________
To install a mod

ESKARN'S TUTORIALS

Eskarn's Dungeon Mod(BETA)

Eskarn's puzzle map (story)


Thu Aug 02, 2018 2:48 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

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