DDproductions83 Posted March 20, 2013 Posted March 20, 2013 Ok so I am trying to piggyback onto the sexis framework and I am shit at scripting but halfway good at juryrigging etc I have basically added the below script onto a scene as I am trying to do custom sex scenes and already have a VA in place for a custom companion The only issue I am having (and I know its probably a butchering of scripting etc but fuck it im bad at it) is getting the "Off" to be recognized as the Player. If I could figure that out fuck understanding half of this but it should work.. Any Ideas or a complete redo of this Hashmash would be nice but this seems to be the only way I can make the characters NOT move. Cheers --------------------------------------------------------------------------------------------------------------------------------- ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment;NEXT FRAGMENT INDEX 4Scriptname SF_000tryscenetry_02000D66 Extends Scene Hiddenint Property Def = 0 AutoReadOnlyint Property Off = 1 AutoReadOnlyKeyword[] tagsint numTags = 0;; The following need to be implemented by each animation set; ==========================================================;;; Gets an Idle form for the given position and stage;; stage Which stage the animation should be for [0-4]; position Which position the animation should be for [use Properties 'Def' and 'Off'];Idle Function GetAnim( int stage, int position ) return NoneEndFunction;; Gets the name of the animation; Should be named after the script;String Function GetName() return ""EndFunction;; The following may optionally be overridden; ==========================================;float distance = 0.0;; Gets the distance of the specified actor in the given stage; This default version is only good for 2 actors;float Function GetDistance( int stage, int position ) if position == Off return distance Else return 0.0 EndIfEndFunction;; Sets the distance of the given actor for the given stage; Note: By convention, the 'Def' actor is always at 0;Function SetDistance( int stage, int position, float value ) if position == Off distance = value Else distance = distance - value EndIfEndFunction;; Gets the rotation factor for a position;float Function GetRotation( int stage, int position ) return 0.0EndFunction;; Checks if the given stage automatically advances on it's own; Returns true if it does;bool Function DoesAutoAdvance( int stage ) return FalseEndFunction;; Get how many actors are involved in this animation; Note: Not supported yet;int Function GetNumActors() return 2EndFunction;; Returns how many stages this animation is; Note: Not supported yet;int Function GetStages() return 5EndFunction;; The following should not be overridden; ======================================;;; Adds a keyword to this.; Keywords are used for tagging animations;Function AddKeyword( Keyword akKeyword ) if akKeyword != None && numTags < 128 if !tags || tags.find( akKeyword ) < 0 Keyword[] newTags = SexiSDynamicArray.KeywordArray( numTags + 1 ) int i = 0 while i < numTags newTags = tags i += 1 EndWhile newTags = akKeyword tags = newTags numTags += 1 EndIf EndIfEndFunction;; Removes all keywords. Used for re-initialization;Function ClearKeywords() Keyword[] newTags tags = newTags numTags = 0EndFunction;; Checks if this has the given keyword;bool Function HasKeyword( Keyword akKeyword ) if !tags || akKeyword == None return False Else return tags.find( akKeyword ) >= 0 EndIfEndFunction;BEGIN FRAGMENT Fragment_0Function Fragment_0(ReferenceAlias akAlias);BEGIN CODEgame.disableplayercontrols()game.getplayer().unequipall()girl.playidle(sex1)game.getplayer().playidle(sex2)utility.wait(1)SetDistance( 0, Off, 44 );END CODEEndFunction;END FRAGMENT;END FRAGMENT CODE - Do not edit anything between this and the begin commentIdle Property sex1 Auto Idle Property sex2 Auto Actor Property girl Auto Actor Property Player Auto
Recommended Posts
Archived
This topic is now archived and is closed to further replies.