Commit Graph

196 Commits

Author SHA1 Message Date
Sachith Hasaranga Seneviratne
97c17692e8 Added setCurrentFrame to skeletal animations 2014-06-18 17:53:18 +05:30
Sachith Hasaranga Seneviratne
069c25653c Added ability for scripts to run other scripts and bound getFrameNumber for Skeletal animations to get current frame 2014-06-18 13:12:51 +05:30
Sachith Hasaranga Seneviratne
b7e3329d83 Added setLoop to skeletal animations, Test : rapidly nodding sheep in green valley, also incorporates trigger creation at start in the test. 2014-06-17 21:11:05 +05:30
Sachith Hasaranga Seneviratne
77ee20a5e2 Added script triggering at startup via start.as - meant to customize track object settings, and to create triggers / set their initial states as necessary 2014-06-17 18:50:55 +05:30
Sachith Hasaranga Seneviratne
ee73767572 Added possibility of triggering scripts via update method (ie everytime tracks etc are updated, this script will be called 2014-06-17 17:48:47 +05:30
Sachith Hasaranga Seneviratne
f0622f425d Added pausing capabilities to curve based (IPO) animations, bound ThreeDanimation class to scripts as type Animator 2014-06-16 20:42:48 +05:30
Sachith Hasaranga Seneviratne
0c24507821 Added Test for getMesh 2014-06-14 14:45:17 +05:30
Sachith Hasaranga Seneviratne
f29ed1c2a3 Bound Meshes to Scripts 2014-06-14 14:11:19 +05:30
Sachith Hasaranga Seneviratne
7d63813afd Added wrapper for PhysicalObject->removeBody and bound it to scripts 2014-06-13 08:30:11 +05:30
Sachith Hasaranga Seneviratne
14d64e9fae Bound function to check if a physical object is a flattener for testing 2014-06-11 12:30:48 +05:30
Sachith Hasaranga Seneviratne
f3a41a2631 Bound Physical Object class to scripts 2014-06-11 11:58:57 +05:30
Sachith Hasaranga Seneviratne
41a4619120 added bound setEnable method to TrackObject in scripts 2014-06-11 11:24:54 +05:30
Sachith Hasaranga Seneviratne
e567adb0ca Bound TrackObject type to scripts 2014-06-11 10:52:04 +05:30
Sachith Hasaranga Seneviratne
5498084cde Bound Vec3 class to scripts 2014-06-07 08:07:18 +05:30
Sachith Hasaranga Seneviratne
540c7818aa Scripts can now create action triggers by themselves. Example in tutorial 2014-06-03 10:09:03 +05:30
Sachith Hasaranga Seneviratne
b14f79288d Added ability for karts to jump to arbitrary locations on the map albeit somewhat inaccurately for now via the method jumpKartTo(kartID, targetx,target y) Notation is standard blender xyz 2014-06-02 21:26:27 +05:30
Sachith Hasaranga Seneviratne
88ea69fdc7 Added setVelocity to script functions for karts 2014-06-02 20:27:20 +05:30
Sachith Hasaranga Seneviratne
d908489ca7 Added script driven kart teleports 2014-06-02 19:55:37 +05:30
Sachith Hasaranga Seneviratne
2f57a14c87 On hitting a physical object with any item, the physical object is now removed (vanishes), can be tested on tutorial by shooting bowling balls at the boxes 2014-06-02 16:09:33 +05:30
Sachith Hasaranga Seneviratne
43f78a6a54 Added accessor methods for ID, set disabling/enabling/status checking to work for IDs as well 2014-06-02 13:07:51 +05:30
Sachith Hasaranga Seneviratne
038aaa6f3b Hitting a physical object with an object now triggers a message (Test in tutorial by shooting at the boxes). All currently suppported collision types now denote the type in the message that appears. 2014-05-29 18:51:48 +05:30
Sachith Hasaranga Seneviratne
6015b66f9a All existing script functions decoupled from script engine, moved into namespaces of Kart,Track and Physics.(Corresponding to their game engine equivalents 2014-05-28 13:51:13 +05:30
Sachith Hasaranga Seneviratne
8b9629fb5e Cleaned up a bit 2014-05-28 13:21:45 +05:30
Sachith Hasaranga Seneviratne
34fec63f9c Added Kart sub-namespace 2014-05-28 13:13:45 +05:30
sachith500
6f58864df0 Added namespaces Scripting, Scripting::Physics. Moved collision script code and function,callback binding to Scripting::Physics 2014-05-27 11:57:44 +05:30
sachith500
8c5606be08 Karts involved in collisions addressable by ID 2014-05-26 20:30:27 +05:30
sachith500
31f7ea7c89 Added very basic collisions 2014-05-26 18:03:41 +05:30
sachith500
867f1607dd Action triggers addressable by name, scripts can enable/disable action triggers 2014-05-23 14:39:03 +05:30
sachith500
3c67a6159f Moved scripts to stk-code/data/scripts and provided access to them via file_manager 2014-05-22 18:17:30 +05:30
sachith500
4578ddc073 Added animation enabling and reactivation 2014-05-22 12:39:46 +05:30
sachith500
e96cf33cf5 Cleaned up a bit 2014-05-21 19:59:56 +05:30
sachith500
1db3d7bfd2 Deleted unused files 2014-05-21 19:59:41 +05:30
Sachith Hasaranga Seneviratne
3023a12f2b Scripting Engine built and tested with merges from latest master 2014-05-21 12:51:21 +05:30
Sachith Hasaranga Seneviratne
7232e6c11e Scripts can now squash karts by id and for a defined period of time 2014-03-24 11:32:46 +05:30
Sachith Hasaranga Seneviratne
f9cdb05751 Revert "Revert "Removed unnecessary comment""
This reverts commit e967e9a1f9.
2014-03-24 11:12:04 +05:30
Sachith Hasaranga Seneviratne
e967e9a1f9 Revert "Removed unnecessary comment"
This reverts commit 954e963d1a.
2014-03-24 11:10:43 +05:30
Sachith Hasaranga Seneviratne
954e963d1a Removed unnecessary comment 2014-03-21 15:40:08 +05:30
Sachith Hasaranga Seneviratne
4dd0d4c0bb Added better Message 2014-03-21 15:36:59 +05:30
Sachith Hasaranga Seneviratne
c1b8927b31 Cleaned up a bit 2014-03-21 15:31:28 +05:30
Sachith Hasaranga Seneviratne
4334d9a022 Added haybail.as 2014-03-20 15:05:33 +05:30
Sachith Hasaranga Seneviratne
9ac9cfbdca Added additional script support for removing track objects tested with farm track with the haybail.as script 2014-03-17 18:12:03 +05:30
Sachith Hasaranga Seneviratne
35be1f142a track objects can be enabled/disabled/their status can be checked on, TODO: move this to scripting 2014-03-17 09:26:24 +05:30
Sachith Hasaranga Seneviratne
c8e0d56ce9 Added Build target for AngelScript, Updated Readme,txt 2014-03-16 16:50:14 +05:30
Sachith Hasaranga Seneviratne
7e4cf23ee3 Removed unnecessary projectfiles 2014-03-16 16:36:18 +05:30
Sachith Hasaranga Seneviratne
5b9e214b83 Added additional instructions to readme.txt 2014-03-16 13:01:19 +05:30
Sachith Hasaranga Seneviratne
acbfb96bbf Added script files 2014-03-15 10:55:03 +05:30