MOD: Wait+Load Buttons (thread is outdated)
- theGryphon
- Spectre
- Posts: 716
- Joined: 06 Jan 2006
MOD: Wait+Load Buttons (thread is outdated)
Hi all!
I'm working on a new mod to change the combat screen control menu. I added buttons for wait and load for use during the battle. Load button functions fine. But I couldn't get the Wait button work. The new jog-dial looks like this. The button to the leftmost is for Wait, rightmost is for Load. Other buttons are same, except that I used the adventure map control panel and tuned the placement of buttons appropriately.
I would appreciate any help to make the Wait button work
Cheers!
Edit: With the help of MistWeaver (thanks a lot!), I could make the mod work! It turns out that he has been working on the same mod as well. So, I'll post links to both. Check them out!
Here is mine.
Here is Mistweaver's.
Edit: This thread is outdated. Please refer to here for the correct version of my mod.
I'm working on a new mod to change the combat screen control menu. I added buttons for wait and load for use during the battle. Load button functions fine. But I couldn't get the Wait button work. The new jog-dial looks like this. The button to the leftmost is for Wait, rightmost is for Load. Other buttons are same, except that I used the adventure map control panel and tuned the placement of buttons appropriately.
I would appreciate any help to make the Wait button work
Cheers!
Edit: With the help of MistWeaver (thanks a lot!), I could make the mod work! It turns out that he has been working on the same mod as well. So, I'll post links to both. Check them out!
Here is mine.
Here is Mistweaver's.
Edit: This thread is outdated. Please refer to here for the correct version of my mod.
Last edited by theGryphon on 24 Jun 2006, 04:07, edited 6 times in total.
I believe in science and that science can explain everything.
Because God has made it all work in such a beautiful way...
Because God has made it all work in such a beautiful way...
- DaemianLucifer
- Round Table Hero
- Posts: 11282
- Joined: 06 Jan 2006
- Location: City 17
- theGryphon
- Spectre
- Posts: 716
- Joined: 06 Jan 2006
- Gaidal Cain
- Round Table Hero
- Posts: 6972
- Joined: 26 Nov 2005
- Location: Solna
Yes, but not a wait button. Personally, I'm more happy about that load button.
Last edited by Gaidal Cain on 31 May 2006, 12:31, edited 1 time in total.
You don't want to make enemies in Nuclear Engineering. -- T. Pratchett
- theGryphon
- Spectre
- Posts: 716
- Joined: 06 Jan 2006
Yeah, there is an implicit wait function that's not associated with any UI buttons. It's triggered differently, and I couldn't make it work as a button as of now. I posted this at the Ubi forums as well. Hopefully, with the help of other modders this will be fixed.
I believe in science and that science can explain everything.
Because God has made it all work in such a beautiful way...
Because God has made it all work in such a beautiful way...
There are so many talented modders out there! Arstahd, theGryphon, xManiaCCCx, sfidanza. Big HURRAY for them!
Soon we will have H5 reshaped into our liking!
Maybe there will be no need for patches afterall :D:D
Soon we will have H5 reshaped into our liking!
Maybe there will be no need for patches afterall :D:D
"Thou shall feel the wrath of the Dragons! Tremble in fear, your end is nigh!" - The Dragon Prophet
"Do you like fire? I'm full of it..." - Deathwing
"Do you like fire? I'm full of it..." - Deathwing
- theGryphon
- Spectre
- Posts: 716
- Joined: 06 Jan 2006
@ Dublex
Load button works fine. The problem is with the Wait button. The Wait function is not in the scripts, and is probably hard coded I just need the name of the event that triggers it, other event names like Combat_Defend are easily found in the xdb files, which associate functions to buttons. Unfortunately, Combat_Wait does not work
Any other ideas?
Load button works fine. The problem is with the Wait button. The Wait function is not in the scripts, and is probably hard coded I just need the name of the event that triggers it, other event names like Combat_Defend are easily found in the xdb files, which associate functions to buttons. Unfortunately, Combat_Wait does not work
Any other ideas?
I believe in science and that science can explain everything.
Because God has made it all work in such a beautiful way...
Because God has made it all work in such a beautiful way...
- theGryphon
- Spectre
- Posts: 716
- Joined: 06 Jan 2006
OK, I uploaded the mod pak file here.
Just put the file into your data folder and restart the game.
Remember the wait button does not function, but you can get the feel
I need help
Just put the file into your data folder and restart the game.
Remember the wait button does not function, but you can get the feel
I need help
I believe in science and that science can explain everything.
Because God has made it all work in such a beautiful way...
Because God has made it all work in such a beautiful way...
Is there any reference to W being bound to something anywhere in the .lua files?theGryphon wrote:@ Dublex
Load button works fine. The problem is with the Wait button. The Wait function is not in the scripts, and is probably hard coded I just need the name of the event that triggers it, other event names like Combat_Defend are easily found in the xdb files, which associate functions to buttons. Unfortunately, Combat_Wait does not work
Any other ideas?
If not, your probably right and it has been hard-coded somewhere.
- theGryphon
- Spectre
- Posts: 716
- Joined: 06 Jan 2006
Actually it is bound through the cfg files, not lua, to input_Combat_Wait. Likewise D is bound to input_Combat_Defend. However, Combat_Wait does not work, while Combat_Defend works.
Even if it's hard coded, it must have a name to call the function...
Even if it's hard coded, it must have a name to call the function...
Last edited by theGryphon on 31 May 2006, 18:53, edited 1 time in total.
I believe in science and that science can explain everything.
Because God has made it all work in such a beautiful way...
Because God has made it all work in such a beautiful way...
- DaemianLucifer
- Round Table Hero
- Posts: 11282
- Joined: 06 Jan 2006
- Location: City 17
- theLuckyDragon
- Round Table Knight
- Posts: 4883
- Joined: 06 Jan 2006
- MistWeaver
- Wraith
- Posts: 1277
- Joined: 28 Feb 2006
- Location: Citadel of Frosts
- theGryphon
- Spectre
- Posts: 716
- Joined: 06 Jan 2006
- MistWeaver
- Wraith
- Posts: 1277
- Joined: 28 Feb 2006
- Location: Citadel of Frosts
While mod makes it way to CH feel free to download it from here
http://slil.ru/22800306
2theGryphon. Its easy, you must use - input_Combat_Wait value in the button's <EventName> tag.
You can use it in yours as well but I think our mod will look alike, so I dont know if community needs both of them.
http://slil.ru/22800306
2theGryphon. Its easy, you must use - input_Combat_Wait value in the button's <EventName> tag.
You can use it in yours as well but I think our mod will look alike, so I dont know if community needs both of them.
- theGryphon
- Spectre
- Posts: 716
- Joined: 06 Jan 2006
Who is online
Users browsing this forum: No registered users and 2 guests