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



Reply to topic  [ 5 posts ] 
 Saiko looking at player 
Author Message
Rank 2
Rank 2

Joined: Wed Jun 08, 2016 2:45 pm
Posts: 3
Hello,
I am trying to make Saiko look at player instead of the creature during her visit at the lab. I have no idea what line to add and where. Can anyone help?
If that is not possible, then maybe adding command "look at me" to the tentacle story in general?


Wed Jun 08, 2016 5:11 pm
Profile
Rank 17
Rank 17
User avatar

Joined: Fri Feb 27, 2015 2:06 pm
Posts: 682
Location: Australia
Not to sure what part of that scene you want to change but what you are looking for is

pack\pack_tentacle_dream\init\stories\tentacle_dreams\chars\saiko\brain\code\run

run3_state.dat - run7_state.dat

Code:
loc.cs.focus_obj    = TTADO1; //is look at alien

loc.cs.focus_obj    = "#MAIN"//This is player


Or anything similar to this

_________________
To install a mod

ESKARN'S TUTORIALS

Eskarn's Dungeon Mod(BETA)

Eskarn's puzzle map (story)


Thu Jun 09, 2016 8:05 am
Profile
Rank 2
Rank 2

Joined: Wed Jun 08, 2016 2:45 pm
Posts: 3
Thanks for the reply, but I haven't solved my problem yet. In run3_state.dat is no mention of TTADO1, at least not while she is entering, yet she is looking at it the whole time. Any idea what I should change here?

Code:
[ENTER]
  {
    loc.ts = GetTs(); 
      [loc.ts < state.dyn.me.do.ts] return;
 
    // Walk in
    loc.cs.waypoint  = "waypoint6";
      loc.cs.pose_type = STAND;
      loc.cs.pose_id   = 0;
      SetCharState(loc.cs);
 
    loc.sp.waypoint  = loc.cs.waypoint;
    loc.sp.exact     = 0;
      loc.sp.pose_type = loc.cs.pose_type;
      loc.sp.pose_id   = loc.cs.pose_id;
      SetPose(loc.sp);
      
      state.dyn.me.do.state2 = ENTER2;
  }


Thu Jun 09, 2016 6:08 pm
Profile
Rank 17
Rank 17
User avatar

Joined: Fri Feb 27, 2015 2:06 pm
Posts: 682
Location: Australia
That one is set when she is spawned in the base_ref

saiko\brain\code\ref
base_ref.dat
Code:
me.place_lab1 =
{
  // Place in lab
  loc.state.scene_id  = APARTMENT3;//the scene
   loc.state.waypoint  = "waypoint10";   
   loc.state.can_see   = true;
  loc.state.can_hear  = true;
  loc.state.focus_obj = "TTADO1";
   
  SetCharState(loc.state);
 
  ChangeObj(state.this);
 
  set_main_focus(STARE);
  set_main_exp(SMILE);
 
  do_set_timer(1);
 
  state.dyn.me.recv_talk.auto_focus = false;
 
  state.dyn.me.do.state2 = ENTER;
}

_________________
To install a mod

ESKARN'S TUTORIALS

Eskarn's Dungeon Mod(BETA)

Eskarn's puzzle map (story)


Thu Jun 09, 2016 11:50 pm
Profile
Rank 2
Rank 2

Joined: Wed Jun 08, 2016 2:45 pm
Posts: 3
Thank you, man. It works. You're the best.


Fri Jun 10, 2016 6:00 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 31 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.