xmoonproductions.org https://xmoonproductions.org/ |
|
A couple of questions https://xmoonproductions.org/viewtopic.php?f=28&t=5509 |
Page 1 of 1 |
Author: | siouxst [ Wed Aug 01, 2018 1:27 pm ] |
Post subject: | A couple of questions |
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! |
Author: | Eskarn [ Thu Aug 02, 2018 12:30 am ] |
Post subject: | Re: A couple of questions |
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 |
Author: | siouxst [ Thu Aug 02, 2018 12:21 pm ] |
Post subject: | Re: A couple of questions |
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. |
Author: | siouxst [ Thu Aug 02, 2018 1:17 pm ] |
Post subject: | Re: A couple of questions |
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? |
Author: | Eskarn [ Thu Aug 02, 2018 2:48 pm ] |
Post subject: | Re: A couple of questions |
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 |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |