Age Verification
This website contains age-restricted material including nudity and explicit content. By entering, you confirm being at least 18 years old or the age of majority in the jurisdiction you are accessing the website from.
I am 18+ or older - Enter
I am under 18 - Exit
Our parental controls page explains how you can easily block access to this site.

Editing scn files

  Forum / Le coin des nouveaux

wobblybits
Inscrit en Nov 2023

9 message(s)
29 December 2023
I'm working with the Background 2D.scn file.

I noted the model moved up and down off the taskbar in this background. I worked out that I needed to delete the animate line (copy of original was made).

What I want to do is move the girl a little further up the screen i.e. not dancing on the taskbar.

What do I need to edit and or add to achieve this?

TIA
Number6
Inscrit en Oct 2010

1161 message(s)
29 December 2023 (edited)
clipSprite {
pos: 400, 450
standingHeight: 380
source: Clip
}

In the pos:400, 450

Change the 450 (vertical position) to say 430. You can play around with the values.

HTH

By the way instead of deleting lines you can just put a double slash "//" in front of it.

e.g.

// animate: 15, PingPong, InOutQuad, pos, 20, 20

This stops the programme from executing that line and it is still there if you want to change it back.
wobblybits
Inscrit en Nov 2023

9 message(s)
29 December 2023
Thanks for that, works perfectly.

I've created a bunch of backgrounds with screenshots from games. Sometimes looks better having the girl dancing in a different place.

I thought that might be the case using slashes (I considered using stars). At least taking the whole line out gives me less options to change by mitsake!
Wyldanimal
MODÉRATEUR
Inscrit en Mar 2008

3929 message(s)
29 December 2023 (edited)
In the .SCN file
find the clipSprite Node
edit the Y position - Bigger value = DOWN, Smaller value = UP
The X position - Smaller value = LEFT, Bigger value = RIGHT

if you change the Y position, you might also need to change how tall the clip is.


clipSprite {
pos: 400, 450 //<---- X, Y X=left to right Y=Up and Down
standingHeight: 380 //<--- How Tall the Clip is
source: Clip
}


EDIT: Sorry for the Delayed Post.
I wrote this like 3 hours ago
and Clicked on Preview... Then forgot to Send it
Number6
Inscrit en Oct 2010

1161 message(s)
30 December 2023 (edited)
@wobblybits

Sorry been out for a while since I posted.

One thing you mat want to consider is changing


clip {
id: Clip
deny: behindtable
}


clip {
id: Clip
deny: behindtable, top
}

The original code does not deny swing clips ("top").

Swing clips (top) are referenced from the top of the screen whereas all the other clips are from the bottom of the screen. Without the above (and the mods you made to change the taskbar settings) you may occasionally see some ropes at the bottom of the screen but no model due to the placement of the clip.

Additionally if you would like a scene that plays only swing clips then you need to change the following:


clip {
id: Clip
deny: behindtable
}

Change to :



clip {
id: Clip
allow: top
//deny: behindtable
}


And then change the clip position from


clipSprite {
pos: 400, 450
standingHeight: 380
source: Clip
}

to



clipSprite {
pos: 400, -35
scale: -1.0, 1.0, 1.0
standingHeight: 380
source: Clip
}

Please also note that the line


scale: -1.0, 1.0, 1.0

should be added to most clip sprite definitions as this prevents a common problem of "text reversal" where the model is wearing a Tee shirt with text on it.

Have fun with fullscreen scenes, I know I and many others have.

Vous n'êtes pas encore autorisé à participer

En tant qu'utilisateur gratuit de iStripper, vous n'êtes pas autorisé à répondre sur le forum ou à créer de nouveau sujet.
Vous pouvez cependant consulter les catégories de bases et commencer à découvrir notre communauté !