tdauth / g2-mod-sonja Goto Github PK
View Code? Open in Web Editor NEWGothic II Modification Sonja
Gothic II Modification Sonja
"Lass uns abhauen ..."
if (CurrentLevel == DRAGONISLAND_ZEN) // and on the ship
{
"Zurück nach Khorinis ..."
}
else if (CurrentLevel == NEWWORLD_ZEN) // and Irdorath has been initialized and on ship
{
"Zurück nach Irdorath ..."
}
DIA_ is missing
In "(Ausbilden)" and has to be confirmed with "(Yes)".
func void B_UnlearnSonja(var C_NPC noc)
{
GetCost ... von der Startstufe.
};
Here is a list of annoying stuff from the original game:
Look at these mods: https://www.worldofgothic.de/modifikation/?go=modsg2
https://www.worldofgothic.de/dl/download_208.htm
New talents (available for NPCs as well, percentage, 3 levels for 2 LPs):
New spells (Runes/scrolls):
New items:
Changes:
Changes the owner/guild of an enemy who will follow the player and has dialogs:
"Komm mit."
"Warte hier."
"Du bist mein Feind!" - unally
Only add them under certain conditions like chapter, guild etc.
'_work/Data/Scripts/Content/Story/Dialoge/VLK_436_Sonja.d'
It will only work if both are valid or we use an array with slots and item types to store it.
If only constants are allowed as array indices, it will be a long function.
Clear the inventory of the new Sonja:
func void Npc_ClearInventory(var instance n0)
Go through all items of the old Sonja with:
int Npc_GetInvItemBySlot(var c_npc self, var int category, var int slotnr)
It returns the number of charges.
Use the global variable item to get the type.
Call this to add it the new Sonja:
func void CreateInvItems(var c_npc n0, var int n1, var int n2)
If necessary store her stats before entering the portal etc.
Use the EnterNewWorld etc. functions to apply the values.
Add choices:
There is a quest "Die Suchenden" where he is involved.
He has a key to his room.
You could get his key when buying the place and he changes his routine outside.
You could get extra money from the prostitutes inside.
Only works if player has a Bandit armor as well and they will both have it at the same time.
Two options:
"SummonGolem" in spellFxInstanceNames might be the cause for the wrong cast function!
Target spell but only target dead NPCs/creatures.
func int Npc_IsDead(var c_npc n0)
Funktion liefert einen Wert zurück, falls Dead true ist
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.