xmoonproductions.org https://xmoonproductions.org/ |
|
Saiko looking at player https://xmoonproductions.org/viewtopic.php?f=27&t=4607 |
Page 1 of 1 |
Author: | tee.aay [ Wed Jun 08, 2016 5:11 pm ] |
Post subject: | Saiko looking at player |
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? |
Author: | Eskarn [ Thu Jun 09, 2016 8:05 am ] |
Post subject: | Re: Saiko looking at player |
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 |
Author: | tee.aay [ Thu Jun 09, 2016 6:08 pm ] |
Post subject: | Re: Saiko looking at player |
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; } |
Author: | Eskarn [ Thu Jun 09, 2016 11:50 pm ] |
Post subject: | Re: Saiko looking at player |
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; } |
Author: | tee.aay [ Fri Jun 10, 2016 6:00 am ] |
Post subject: | Re: Saiko looking at player |
Thank you, man. It works. You're the best. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |