View unanswered posts | View active topics It is currently Sat Jul 21, 2018 3:10 pm



Reply to topic  [ 66 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7
 Eskarn's Room: Modding Tutorials 
Author Message
Rank 2
Rank 2

Joined: Fri Mar 31, 2017 12:49 am
Posts: 3
Hello, I Fould like to add the creatures to my Dungeon. How Can I do ???


Wed Apr 05, 2017 5:32 pm
Profile
Rank 17
Rank 17
User avatar

Joined: Fri Feb 27, 2015 2:06 pm
Posts: 547
Location: Australia
You would need to copy the creatures over and edit their spawn points
their spawn points are in the init files
Code:
scene_id = DUNGEON1;
    waypoint = "table2Wp11";


That would spawn one on the table

_________________
Pickled Cow's USING THE FILEMAKER

ESKARN'S TUTORIALS

Eskarn's Dungeon Mod(BETA)

Eskarn's puzzle map (story)


Fri Apr 07, 2017 2:10 am
Profile WWW
Rank 4
Rank 4

Joined: Wed Nov 08, 2017 2:43 am
Posts: 12
Sorry to necropost, but I searched the forums and didn't see any mention of this so figured I'd ask.

How can I change where the city map waypoints send you? I'd like to set it up so that when you click the Office icon on the city map in Tentacle Dreams story, it takes you directly to floor 16 as though you've just exited the elevator. I want to bypass the long elevator wait time when traveling to the office.

I've been digging through .dat files and though I'm sure there is mention of the city map somewhere here, I just can't find it. I've tried various search strings but I don't know what keywords I should be searching for so I'm drawing a blank.

Similarly, would it be easier to change the speed of the elevator timer? I'm not certain that the elevator actually moves, I suspect that it doesn't and that when you press the 16 button, it simply starts a timer. Is this true? If so, where is that value located?


Sat Nov 11, 2017 7:51 am
Profile
Rank 17
Rank 17
User avatar

Joined: Fri Feb 27, 2015 2:06 pm
Posts: 547
Location: Australia
What you are looking for is the scene files found here
pack_tentacle_dreams\init\stories\tentacle_dreams\scenes

office0.dat is the ground floor and office16.dat is the players work floor

i think all you would have to do is change the closed0 and closed1 to match and change the city_pos
and locked = true then unlock the scene in

pack_tentacle_dreams\init\stories\tentacle_dreams\mains\player\brain\code\run
run6_state.dat

Code:
    loc.ss.id     = OFFICE16;
    loc.ss.locked = false;
    SetScene(loc.ss);


it does not look like there's any driving code inside of the ground floor so it should be fine to just teleport to the office

_________________
Pickled Cow's USING THE FILEMAKER

ESKARN'S TUTORIALS

Eskarn's Dungeon Mod(BETA)

Eskarn's puzzle map (story)


Sat Nov 11, 2017 1:15 pm
Profile WWW
Rank 4
Rank 4

Joined: Wed Nov 08, 2017 2:43 am
Posts: 12
Thanks, Eskarn! I didn't change the closed0 or closed1 values yet, might adjust that later to allow the player to get into the office at other times of day if need be. I also didn't change the city_pos value as I wasn't sure what xyz coords I should to change it to.

I set "locked = true" to "false" in office0.dat, though I'm not 100% certain what that did.

I also changed the code as you recommended in run6_state.dat and now when you try to go to the office it does exactly what I wanted--you immediately load in the entry room of floor 16 as though you've just exited the elevator. Interestingly, these changes moved the Office icon on the city map to a different position, and the icon now reads as Office16. I'm not concerned with those oddities though, they can persist for all I care. :)

I'm trying to slowly convert the Tentacle Dreams story into something of a hybrid between the story and dungeon. I've already incorporated some of the adjustments made in the Tentacle Dreams Ex mod someone converted from 3.0 (like the ability to touch and play with the girls before you're normally able to, and bringing in some of the sex toys to Saiko's room and the office).

Next step is going to be figuring out a way to halt the story progress but make the girls seem more active. Eventually I want to make the girls "sandbox" around their rooms in simple ways, sort of like how Monica moves around her office while you're working on her computer. I'll have Monica sit at her desk for a while, then get up and move to the sofa to lie down for a nap, then wake back up and go back to sit at her computer again. Meanwhile the player will be able to play with her in each position she puts herself into. I've already started incorporated some code from a different thread explaining how to put the girls into a limp pose (rift's code, i think), right now when Monica sits on the sofa as she waits for you to fix her computer, you can pose her a bit. I'm a ways off from where I want that to be, though.. she still reverts back to her initial pose when I really want her to go into a pure ragdoll/limp pose. Baby steps, I'll figure it out eventually. :)

I'm hoping that eventually I'll figure out a way to move the girls around depending on the time of day. I could have Saiko work at the office (in the windowed cubicle computer room maybe), and then maybe at night Monica goes and visits Saiko in her apartment. That sort of thing.

I'll be removing most of the story entirely, if I can, and it'll be more like a dungeon experience except the girls will be just sort of living their daily lives while the player gets to enjoy them in various ways. It's probably beyond my capabilities but I want to try to incorporate some of the great Dungeon Ex features also. I'm a long way off from that though. I also need to figure out how to get the girls to accept commands like in the dungeon. (Example: "monica open mouth" - currently if you tell her this in the office she just continues to repeat her scripted lines about either telling you to fix her computer, or telling you to go home)

This is all pretty early in the process and I'm pretty new to modding/coding, so I'll probably have a bunch of questions over the next few weeks. Apologies in advance, and hopefully this will actually lead to something worth sharing with the rest of XSP players.


Sun Nov 12, 2017 5:39 am
Profile
Rank 17
Rank 17
User avatar

Joined: Fri Feb 27, 2015 2:06 pm
Posts: 547
Location: Australia
Sounds good, If you want to change the icon position just copy the icon position from office0 to office16

To get them to follow commands you need to have those words in the NLP (there's a NLP tutorial in my links below)
But most words should be there already, then you need to enable the brain debug (Should be in the getting started section on the wiki)

Then you say the words you want and check the trace.txt and reference those in the ref file and when they get called they point to the correct run task

so "I lost my cat" will return cat.me.lose.me.get
then in the ref file you can get it to do something

Code:
cat.me.lose.me.get =
{
  talk.s = "Oh did you lose your cat {gname}";
}

_________________
Pickled Cow's USING THE FILEMAKER

ESKARN'S TUTORIALS

Eskarn's Dungeon Mod(BETA)

Eskarn's puzzle map (story)


Mon Nov 13, 2017 1:31 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 66 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7

Who is online

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