|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Public Member Functions | |
Functions | |
| AConversationCameraV2 | GetOuterCamera () const |
| Iterates through outer objects to find Conversation Camera. | |
| FLinearColor | GetColorDifferenceScore (FLinearColor ExternalLight, FLinearColor CompareLight) const |
| Returns difference between 2 colors. | |
| FClockTime | GetCurrentSkyTime () const |
| Returns visual time of ultra dynamic sky. | |
| FClockTime | GetDayTimeEnd () const |
| Override this to return end daytime for daytime modifiers. | |
| FClockTime | GetDayTimeStart () const |
| Override this to return start daytime for daytime modifiers. | |
| float32 | GetEnvironmentLightingScore (AGothicCharacter Participant) const |
| Returns are score representing the Environment light intensity in direction of the camera. | |
| FLinearColor | GetExternalLightingColor (AGothicCharacter Participant) const |
| Returns a color as vector of the average light shining on the given character. | |
| FString | GetFirstConversationTopicName () const |
| Returns Name of the first Conversation Topic in the current Conversation. | |
| float32 | GetLightingScore (AActor Participant) const |
| Returns are score representing the light intensity on the given character. | |
| bool | GetCameraShotMode (EConversationCameraShotMode &OutShotMode) const |
| Tries to set given Shot mode equal the Conversation Cameras shot mode Returns true if successful. | |
| int | GetParticipantAmount () const |
| Returns Number of Conversation Participants. | |
| int | GetParticipantSkinTone (AGothicCharacter Participant) const |
| Returns Participants skin tone as an index. | |
| bool | IsApplicable (AGothicCharacter Participant, TArray< AGothicCharacter > AllParticipants) const |
| Override this with conditions. | |
| bool | IsParticipantInside (AGothicCharacter Participant) const |
| Returns true if given participant is outside (not in a building). | |
| bool | ParticipantIsInShadow (AGothicCharacter Participant) const |
| Returns true if participant is in shadow. | |
| bool | ParticipantIsListener (AActor Participant) const |
| Returns true of given participant is current listener. | |
| bool | ParticipantIsSpeaker (AActor Participant) const |
| Returns true of given participant is current speaker. | |
| Public Member Functions inherited from UObject | |
| bool | MarkPackageDirty () const |
| void | RemoveFromRoot () |
| bool | GetIsRooted () const |
| bool | IsTransient () const |
| bool | Modify (bool bAlwaysMarkDirty=true) |
| void | SetTransactional (bool bTransactional) |
| bool | IsSupportedForNetworking () const |
| UClass | GetClass () const |
| UObject | GetOuter () const |
| UObject | GetTypedOuter (TSubclassOf< UObject > Target) const |
| Traverses the outer chain searching for the next object of a certain type. | |
| UPackage | GetOutermost () const |
| UPackage | GetPackage () const |
| void | AddToRoot () |
| UWorld | GetWorld () const |
| FName | GetName () const |
| FString | GetFullName (const UObject StopOuter=nullptr) const |
| FString | GetPathName (const UObject StopOuter=nullptr) const |
| bool | IsA (const UClass Class) const |
| Returns true if this object is of the specified type, or a child of that type. | |
| void | SaveConfig () |
| void | LoadConfig () |
| void | ReloadConfig () |
| void | CopyScriptPropertiesFrom (const UObject OtherObject) |
| void | opCast (?&Address) const |
| FString | ToString () const |
Static Public Member Functions | |
Static Functions | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UObject | |
| static UClass | StaticClass () |
Public Attributes | |
LightingModifier | |
| float32 | TypePriority |
| Priority of this modifier to compare to other possible modifiers of its type. | |
| FSingleLightModifier | RimLight |
| FSingleLightModifier | KeyReverseLight |
| FSingleLightModifier | RimReverseLight |
| FSingleLightModifier | AdditionalLight |
| 1 Modifier applies to all Additional Lights | |
| TSoftObjectPtr< UMaterialParameterCollection > | SkyMaterialParameterCollectionAsset |
| TArray< FLightValues > | AdditionalLightValues |
| Array with light Values, Additional Lights will be spawned based on the values put in here Not to be confused with the Modifier. | |
| ELightingModifierType | ModifierType |
| float32 | DiffuseColorBoost |
| float32 | MaxTraceDistance |
| float32 | EyeIntensityFinetuneFactor |
| Value to multiply to calculated eye intensity to adjust for specific modifiers. | |
| FSingleLightModifier | KeyLight |
| float32 | GeneralPriority |
| Priority for values like DiffuseColorBoost that not only apply to specific lights Those can be overwritten by modifiers of different types. | |
| FName | SkyMaterialParameterCollectionParam_LightIntensity |
| Sky Material Names. | |
| FName | SkyMaterialParameterCollectionParam_LightPosition |
| FName | SkyMaterialParameterCollectionParam_LightDirection |
Variables | |
| const FClockTime | DayTimeEnd |
| Override this to return end daytime for daytime modifiers. | |
| const FClockTime | DayTimeStart |
| Override this to return start daytime for daytime modifiers. | |
| const FString | FirstConversationTopicName |
| Returns Name of the first Conversation Topic in the current Conversation. | |
| const AConversationCameraV2 | OuterCamera |
| Iterates through outer objects to find Conversation Camera. | |
| const int | ParticipantAmount |
| Returns Number of Conversation Participants. | |
| const FClockTime | CurrentSkyTime |
| Returns visual time of ultra dynamic sky. | |
| Public Attributes inherited from UObject | |
| const UClass | Class |
| const UObject | Outer |
| const UPackage | Outermost |
| const UPackage | Package |
| const UWorld | World |
| const FName | Name |
| const bool | IsRooted |
| bool GetCameraShotMode | ( | EConversationCameraShotMode & | OutShotMode | ) | const |
Tries to set given Shot mode equal the Conversation Cameras shot mode Returns true if successful.
| FLinearColor GetColorDifferenceScore | ( | FLinearColor | ExternalLight, |
| FLinearColor | CompareLight ) const |
Returns difference between 2 colors.
| FClockTime GetCurrentSkyTime | ( | ) | const |
Returns visual time of ultra dynamic sky.
| FClockTime GetDayTimeEnd | ( | ) | const |
Override this to return end daytime for daytime modifiers.
| FClockTime GetDayTimeStart | ( | ) | const |
Override this to return start daytime for daytime modifiers.
| float32 GetEnvironmentLightingScore | ( | AGothicCharacter | Participant | ) | const |
Returns are score representing the Environment light intensity in direction of the camera.
| FLinearColor GetExternalLightingColor | ( | AGothicCharacter | Participant | ) | const |
Returns a color as vector of the average light shining on the given character.
| FString GetFirstConversationTopicName | ( | ) | const |
Returns Name of the first Conversation Topic in the current Conversation.
| float32 GetLightingScore | ( | AActor | Participant | ) | const |
Returns are score representing the light intensity on the given character.
| AConversationCameraV2 GetOuterCamera | ( | ) | const |
Iterates through outer objects to find Conversation Camera.
| int GetParticipantAmount | ( | ) | const |
Returns Number of Conversation Participants.
| int GetParticipantSkinTone | ( | AGothicCharacter | Participant | ) | const |
Returns Participants skin tone as an index.
| bool IsApplicable | ( | AGothicCharacter | Participant, |
| TArray< AGothicCharacter > | AllParticipants ) const |
Override this with conditions.
| bool IsParticipantInside | ( | AGothicCharacter | Participant | ) | const |
Returns true if given participant is outside (not in a building).
| bool ParticipantIsInShadow | ( | AGothicCharacter | Participant | ) | const |
Returns true if participant is in shadow.
| bool ParticipantIsListener | ( | AActor | Participant | ) | const |
Returns true of given participant is current listener.
| bool ParticipantIsSpeaker | ( | AActor | Participant | ) | const |
Returns true of given participant is current speaker.
|
static |
| FSingleLightModifier AdditionalLight |
1 Modifier applies to all Additional Lights
| TArray<FLightValues> AdditionalLightValues |
Array with light Values, Additional Lights will be spawned based on the values put in here Not to be confused with the Modifier.
| const FClockTime CurrentSkyTime |
Returns visual time of ultra dynamic sky.
| const FClockTime DayTimeEnd |
Override this to return end daytime for daytime modifiers.
| const FClockTime DayTimeStart |
Override this to return start daytime for daytime modifiers.
| float32 DiffuseColorBoost |
| float32 EyeIntensityFinetuneFactor |
Value to multiply to calculated eye intensity to adjust for specific modifiers.
| const FString FirstConversationTopicName |
Returns Name of the first Conversation Topic in the current Conversation.
| float32 GeneralPriority |
Priority for values like DiffuseColorBoost that not only apply to specific lights Those can be overwritten by modifiers of different types.
| FSingleLightModifier KeyLight |
| FSingleLightModifier KeyReverseLight |
| float32 MaxTraceDistance |
| ELightingModifierType ModifierType |
| const AConversationCameraV2 OuterCamera |
Iterates through outer objects to find Conversation Camera.
| const int ParticipantAmount |
Returns Number of Conversation Participants.
| FSingleLightModifier RimLight |
| FSingleLightModifier RimReverseLight |
| TSoftObjectPtr<UMaterialParameterCollection> SkyMaterialParameterCollectionAsset |
| FName SkyMaterialParameterCollectionParam_LightDirection |
| FName SkyMaterialParameterCollectionParam_LightPosition |
| float32 TypePriority |
Priority of this modifier to compare to other possible modifiers of its type.