FireMage on 7/10/2015 at 20:37
Hello folk,
I'm posting this thread to talk about a custom script which is IMHO the best : LGScript
I'm not spitting on the other script, they are all cool, but they all have their limit, the limit defined by their authors... :erg:
LGScript can allow me and others to do their own stuff. To create the effect they want to see and use in their mission easily because of the Lua language that can be learn and applicated by everybody with no compiling and quick to write down and share.
This is pure freedom and I fell in love with it ^^
Alas, it sounds the world has forgotten it. And this one sounds paradoxally limited by the function reconized by lg.osm in the lua file... :(
Worst than that, some function do not work propely or have not enough documentation to know how to use them...
Alas, I discovered that the DebugSrv.Command do the same thing that DebugSrv.MPrint and this is so bad because executing a dromed command with a script is very useful because I discovered that many commands can be applicated in-game and make great things... :sweat:
Plus the fact that FmSel don't install correctly Script folder... :nono:
This is a shame that such script has been forgotten like this because it is not easy to learn how to complie a C++ sheet into OSM file when you are not experimented, many hours to lose to modify it again when you made a mistake etc.
Please, if you are skilled in matter of programming, I will be very pleased if you could try to make an update of it. We talk not enough about it and I swear this script is the key to make everything you want to do in dromed.
Other script have cool things of course and will be always used. But when you want to do something that custom scripts already compiled cannot do, trust me, the frustration is great...:tsktsk:
Thank you very much
Telliamed on 7/10/2015 at 23:38
Quote Posted by FireMage
Alas, it sounds the world has forgotten it.
It's not that the world has forgotten. It's that the developer has forgotten.
Quote:
Alas, I discovered that the DebugSrv.Command do the same thing that DebugSrv.MPrint and this is so bad because executing a dromed command with a script is very useful because I discovered that many commands can be applicated in-game and make great things... :sweat:
Yeah, no. That will never work. The shipped game disables nearly all of those "useful" commands. It was one of the first things I did in tnhScript and quickly found out it would never be used.
Quote:
Plus the fact that FmSel don't install correctly Script folder... :nono:
This is a problem. Actually, what neeeds to be done is make lgs use the NewDark API to find the installed FM path and add it to the script path.
Quote:
because it is not easy to learn how to complie a C++ sheet into OSM file when you are not experimented, many hours to lose to modify it again when you made a mistake etc.
It's not easy to do when you
are experienced.
FireMage on 8/10/2015 at 10:25
Quote Posted by Telliamed
Yeah, no. That will never work. The shipped game disables nearly all of those "useful" commands. It was one of the first things I did in tnhScript and quickly found out it would never be used.
Then I will surprise you! :)
Most of them are disabled. But a few still working.
Especially two of them that interest me a lot:
movie "Name_of_the_Movie.avi"
and
show_image "./Path_of_the_image/YourImage.Extension"
These two works when you type them in the console ingame; not in test only, in "main" game too!
Then you can play a cutscene suddenly in the middle of the game and then continue to play once it's done.
But LGscript debugsrv.command seems to just print the stuff instead of "trying" executing it... What a pity... :erg:
Quote Posted by Telliamed
It's not that the world has forgotten. It's that the developer has forgotten.
Indeed. But I saw nigh nobody using it... And I suppose it could be a reason to make the developer giving it up.
It's too bad because a single update could make so many things to explore. Dark Engine is quite soft in matter of modding. Everything seems to be possible! If we manage to make cool new things and effects. Lgscript is to me a key to reach that point.
Imagine how many custom scripts could made because Lua is so easy!
Perhaps some mappers may create scripts and effects that nobody has thunk to made!
Do you realize how is that thing important to the community?
Quote Posted by Telliamed
It's not easy to do when you are experienced.
Of course, It is surely not obvious. But you know how to do!
For a C++ beginner such like me who try to learn it by himself... Not a piece of cake just to learn, type and compile successfully the stuff into a Binary File or Dll... :erg:
Zontik on 8/10/2015 at 13:13
Quote:
Then you can play a cutscene suddenly in the middle of the game and then continue to play once it's done.
At least this one is not a problem anymore. NVscript module has a script for the same purpose,
NVPlayMovie or something similar.
fibanocci on 8/10/2015 at 13:23
It's NVCutsceneTrap. I used it a lot :p
Zontik on 8/10/2015 at 13:51
Right, very similar... sorry.
FireMage on 8/10/2015 at 15:49
It really play an Avi file in game?
fibanocci on 8/10/2015 at 15:59
Play "The Farm". It's full of cutscenes made by Mr. Avi
FireMage on 8/10/2015 at 16:25
Hahaha :laff:
Nice try to make me play!
But alas no time to play for me: I got many projects to complete! :sly:
That's why I'm playing the wizard with New_Dark, new props, motions and scripts ^^
I always feel gulty to use someone's work... :erg: But I fear I have choice... ^^'
If only I was enough skilled to do these things myself in my projects... :erg:
Apiai on 8/10/2015 at 18:04
By the way, is there any site that describes the principle of scripts, the history, how they works, how to code them, etc ...?