Mod: SlowMotion UI
Mod: SlowMotion UI
Hey guys(this is DevCraze from the IRC)
I have been working on a little mod for different levels of slowmotion and have made some decent progress.
Here is an example:
As of now though, I am actually having to halt this mod due to it being not possible with the angelscript system as it is, but hopefully in the future it will be usable. I just wanted to create a thread for it and label it as in progress/halted.
The GUI side of it is halted, however, if you guys want I can release a mod that uses a key to turn the old slowmotion on and off.
thanks,
DevCraze
I have been working on a little mod for different levels of slowmotion and have made some decent progress.
Here is an example:
As of now though, I am actually having to halt this mod due to it being not possible with the angelscript system as it is, but hopefully in the future it will be usable. I just wanted to create a thread for it and label it as in progress/halted.
The GUI side of it is halted, however, if you guys want I can release a mod that uses a key to turn the old slowmotion on and off.
thanks,
DevCraze
-
- Posts: 71
- Joined: Wed Aug 17, 2011 7:29 pm
- Location: Irea
Re: Mod: SlowMotion UI
Nice... looking forward for your mod. Looks interesting.
Re: Mod: SlowMotion UI
Awesome idea ... i really miss the old slowmotion ... it added some EPIC combat feeling to the fights.
-
- Posts: 158
- Joined: Tue Mar 15, 2011 6:32 am
Re: Mod: SlowMotion UI
what is the problem with the UI?
Re: Mod: SlowMotion UI
The UI is fine, it is the fact that angelscript currently has no way to communicate between its scripts that causes the issue.
-
- Posts: 158
- Joined: Tue Mar 15, 2011 6:32 am
Re: Mod: SlowMotion UI
what info do you need to transmit between which files?
Re: Mod: SlowMotion UI
I need to be able to transfer the data about which radio button is clicked to the Aschar.as file from the level.as file. it isn't possible right now(I talked to david, it isn't possible AT ALL) and you can't use any gui functions from within the aschar file.
Re: Mod: SlowMotion UI
I just remembered something -- you can use "QueryLevelIntFunction" to get the result of an int function in level.as from within aschar.as. For example, it uses "QueryLevelIntFunction("int HasFocus()")==0)" to determine if the player camera should respond to mouse movement, or if level.as is using it for the GUI. This should make it possible for the players to query the state of the slow motion UI also.
Re: Mod: SlowMotion UI
A most excellent tidbit of information! I appreciate you taking the time to point this out! I am looking forward to easier forms of communication between scripts!David wrote:I just remembered something -- you can use "QueryLevelIntFunction" to get the result of an int function in level.as from within aschar.as. For example, it uses "QueryLevelIntFunction("int HasFocus()")==0)" to determine if the player camera should respond to mouse movement, or if level.as is using it for the GUI. This should make it possible for the players to query the state of the slow motion UI also.
Re: Mod: SlowMotion UI
It is easy i have done it with my latest blood mod / no death mod
I had to make some new lines ito those files:
gamemenu.html
level.as
and aschar.as
I had to make some new lines ito those files:
gamemenu.html
level.as
and aschar.as