Commit Graph

54 Commits (move)

Author SHA1 Message Date
scrawl d7c7bb850b ToggleAI cleanup 9 years ago
scrawl 3a2dccad4b Implement 'Show' script instruction 9 years ago
scrawl f0971ee8ad Implement Fixme script instruction 9 years ago
scrawl ea0339d471 Make the string argument to BetaComment optional 10 years ago
scrawl 3ccf4642b4 Implement ToggleScripts 10 years ago
scrawl a619cff615 Implement EnableLevelupMenu to trigger level-up 10 years ago
scrawl 5104a5a023 Add missing setFactionReaction instruction, use absolute storage instead of difference
Seems to be closer to how MW is storing it (it has the complete FACT record in the savegame, actually).

This (somewhat) breaks OMW savegame compatibility in that old changes are discarded, but I don't think the faction reactions are quest relevant anywhere.
10 years ago
scrawl 31d28e727f Implement leveled list script functions (Fixes #1546) 10 years ago
scrawl 886903d70e Implement HitAttemptOnMe function (Bug #2078) 10 years ago
scrawl be16f1d0a5 Implement PcForce1stPerson, PcForce3rdPerson, PcGet3rdPerson (Bug #2078) 10 years ago
scrawl c010c28337 Implement ToggleWorld instruction 10 years ago
scrawl 267cf4e140 Implement ResetActors script instruction (Fixes #1859) 10 years ago
scrawl 2db50da8dd Implement magic effect script instructions (Feature #1489) 11 years ago
Digmaster a32ab842ae Added ForceJump/ForceMoveJump commands 11 years ago
scrawl 543bb22e8f Implement collision script instructions (Fixes #1111) 11 years ago
scrawl 2506c16bf5 Add a dummy GetStat function returning 0 (Fixes #1589) 11 years ago
scrawl b52977e44c Add dummy Face implementation for now (Bug #1541) 11 years ago
scrawl 9a26cf22e6 Implement toggleMenus 11 years ago
scrawl 2477456f99 Implement Murder crimes and OnMurder instruction (Fixes #1315) 11 years ago
scrawl 77388fe2ce Implement BetaComment instruction (dumps reference info) 11 years ago
scrawl 3788fb042e Implement MenuTest script instruction (Fixes #1454) 11 years ago
scrawl 2dd54dbcfc Implement ClearInfoActor script instruction (Fixes #1422) 11 years ago
scrawl e68600eda2 Make Activate instruction work properly even when onActivate was not called in the same frame.
There are two major differences to the old implementation:
 - Activate can now be called on its own, e.g. in the console. In Vanilla this appears to be a no-op, so it is unlikely to be used and the potential for breakage is low.
 - The Action to execute is now determined when Activate is called, not when OnActivate is called. This however makes sense, since there may be a time difference between the two, and the object (or the player) could have changed in the meantime, requiring a different Action.

Fixes #1166 and #1346.
11 years ago
scrawl 3e2eed9269 Implement getFactionReaction function
Strange bug when using value != 0 for the garbage argument?
11 years ago
scrawl e266c39c5d Implement modFactionReaction instruction (Closes #1347) 11 years ago
Thomas c2127845af Added onKnockdown command 11 years ago
scrawl f921f2e7db Make PcRaiseRank, PcLowerRank and PcJoinFaction properly accept references instead of using the actor that the player talked to last.
This also solves a potential crash when no actor has been talked to yet, e.g. immediately after loading a savegame.
11 years ago
Marc Zinnschlag dde4fbd818 allow one more integer argument in RemoveSoulGem and up to 6 more in AiFollow and then throw them all away 11 years ago
Marc Zinnschlag 32860a05e3 added dummy implementations for getPcInJail and getPcTraveling 11 years ago
Marc Zinnschlag 3e58eb34e4 Merge remote-tracking branch 'sergeyshambir/startcombat'
Conflicts:
	apps/openmw/mwscript/docs/vmformat.txt
11 years ago
scrawl 6f9113fe88 Add preliminary implementation of PayFine, PayFineThief and GoToJail instructions 11 years ago
scrawl 7b33f6f2ac Detect crime of sleeping in other NPC's beds. ShowRestMenu needs to support an explicit/implicit reference for this. 11 years ago
Sergey Shambir d5a0ff17fd MWScript: updated vmformat.txt, changed opcodes to fix sequence.
Opcodes for StartCombat, StopCombat, GetTarget now follow the last
previous opcode.
11 years ago
Sergey Shambir 5c7e39a92f Implemented script commands StartCombat, StopCombat, GetTarget.
Also renamed one field of AIWander class because it's not longer
unknown.
11 years ago
scrawl b3764c504a Implement GetPcJumping instruction 11 years ago
scrawl 2a7d610f87 Implement GetSpellReadied instruction 11 years ago
scrawl 55c5d7cee4 Implement Resurrect instruction 11 years ago
scrawl b4230f716e Implement RemoveEffects instruction 11 years ago
scrawl 7d8ca91286 Implement RemoveSpellEffects instruction 11 years ago
scrawl 366801f3d5 Implement explodeSpell instruction (like Cast, with caster = target) 11 years ago
scrawl 93e1a2df73 Implement Cast script instruction (shrines work now) 11 years ago
Lukasz Gromanowski 1ce4663065 Updated compiler opcodes for COE, and setHello.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Lukasz Gromanowski 50b6e828cc Added asserts in Interpreter::installSegmentX methods.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
gus dff3cf162d ToggleAI script instruction 11 years ago
gus d587f3c946 Merge branch 'master' of https://github.com/zinnschlag/openmw.git into AICombat
Conflicts:
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwscript/docs/vmformat.txt
11 years ago
Emanuel Guevel 496f786c2a Implement Disable/EnableLevitation script functions
Totally copied on Disable/EnableTeleporting implementation.
Thanks KittyCat!
11 years ago
gus 46a734852b adding script instruction getLOS + some test about AI 11 years ago
mckibbenta 8998b90e8b initial do-nothing implementation; registered opcode 12 years ago
Chris Robinson 30973352e8 Implement ShowVars (SV) console function 12 years ago
Chris Robinson db1036e5e5 Handle SetWerewolfAcrobatics 12 years ago