View unanswered posts | View active topics It is currently Fri Jul 19, 2019 11:15 am



Reply to topic  [ 3 posts ] 
 how to make girls sleep 
Author Message
Rank 2
Rank 2

Joined: Thu Jun 27, 2019 2:09 pm
Posts: 3
tittle says everything viewtopic.php?f=2&t=5617 like this picture ?


Thu Jun 27, 2019 5:50 pm
Profile
Rank 17
Rank 17
User avatar

Joined: Fri Feb 27, 2015 2:06 pm
Posts: 654
Location: Australia
You would need to add code like this to where you want them to sleep
http://wiki.xmoonproductions.org/index.php?title=Modding

Code:
[TIRED3]
  {
    loc.ts = GetTs(); 
     [loc.ts < state.dyn.me.do.ts] return;
 
    // Set sleep state
      loc.state.pose_type    = COMA;
      loc.state.pose_id      = 1;
      loc.state.ia_type      = BODY_TOP_LEGS_ARMS_SKIN_CLOTHALL_PRIVATE;
      loc.state.move_type    = NONE;
      loc.state.int2_type    = NONE;
      loc.state.scoll_type   = NONE;
      loc.state.coll_type    = BODY_TOP_LEGS_ARMS_BUTT;
      loc.state.cloth_type   = TORN;
      loc.state.hand_move    = false;
      loc.state.breath_id    = 1;
      loc.state.breath_speed = 0.9;
      loc.state.breath_scale = 0.2;
      loc.state.eye_state       = CLOSED;
      loc.state.eye_state_dur   = 0;
      loc.state.eye_state_scale = 1.0;
      loc.state.can_see         = true;
      loc.state.can_hear        = true;
      
      SetCharState(loc.state);
   
      loc.es.state = loc.state.eye_state;
      loc.es.dur   = loc.state.eye_state_dur;
      loc.es.scale = loc.state.eye_state_scale;
      SetEyeState(loc.es);
    

      SetCharState(loc.state);
      
      // Dont respond
      SetCanSee(false);
      SetCanHear(false);
      set_main_focus(NONE);
      set_main_exp(POLITE);

      // Sleep pose   
      loc.sp.pose_type = loc.state.pose_type;
      loc.sp.pose_id   = loc.state.pose_id;
      SetPose(loc.sp);
    
      SetIaType(loc.state.ia_type);
      SetMoveType(loc.state.move_type);
      SetInt2Type(loc.state.int2_type);
      SetSCollType(loc.state.scoll_type);
      SetCollType(loc.state.coll_type);
   
      SetHandMove(loc.state.hand_move);
      
      loc.sb.id    = loc.state.breath_id;
      loc.sb.speed = loc.state.breath_speed;
      loc.sb.scale = loc.state.breath_scale;
      SetBreath(loc.sb);
    

   
      do_set_timer(9);
      
      state.dyn.me.do.state2 = SLEEPING;
  }

_________________
To install a mod

ESKARN'S TUTORIALS

Eskarn's Dungeon Mod(BETA)

Eskarn's puzzle map (story)


Fri Jun 28, 2019 12:04 am
Profile
Rank 2
Rank 2

Joined: Thu Jun 27, 2019 2:09 pm
Posts: 3
Could you be more specific ı don't understand anything where do ı write these codes ?


Fri Jun 28, 2019 7:33 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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.