Doom Wars' Launch Party
Re: Doom Wars' Launch Party
Which one is Dink? You all know which one I am.
04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
Re: Doom Wars' Launch Party
All unit voice actors are listed in credits
- DinkyDyeAussie
- Posts: 260
- Joined: Fri Feb 10, 2012 10:39 am
- Location: Australia
Re: Doom Wars' Launch Party
Hey Cyber I noticed this code in the scripts:
and it's use here, in uac.lua:
Just wondering. Can we use this kind of code to get the in-game menu buttons to behave like the "Menu (F10)" does? Just asking 
Code: Select all
function AddUserButton(x, y, style, text, callback)
local b = CUIButton:new()
b.X = x
b.Y = y
b.Text = text
b.Style = style
b:SetCallback(callback)
bb = CUIUserButton:new()
bb.Button = b
UI.UserButtons:push_back(bb)
end
Code: Select all
AddUserButton(3, 102, FindButtonStyle("uac-button-pause"), "",
function()
if (IsNetworkGame() == false) then
if (GetGamePaused()) then
SetGamePaused(false)
AddMessage(_("Game resumed"))
else
SetGamePaused(true)
AddMessage(_("Game paused"))
end
end
end)

Re: Doom Wars' Launch Party
Yes, that's why I created them. See the quick buttons on the left side of the screen? They are using this code 

- DinkyDyeAussie
- Posts: 260
- Joined: Fri Feb 10, 2012 10:39 am
- Location: Australia
Re: Doom Wars' Launch Party
Tried it out with this code in "game.lua" to see if I could make the Save button work like the menu button:
The "160" and "140" are just for this test. I ended up getting this:
The save button appears
, but is not able to be clicked
, but when I get rid of the game menu, the save button stays on the screen, and is THEN usable...
Somehow I've got to make it so the button is attached to the panel, and not the main interface...Should I move the code to the respective orc and human "ui.lua" files instead? that seems to be where all the other buttons that behave this way are kept, code wise.
Code: Select all
AddUserButton(160, 140, FindButtonStyle("gm-half-orc"), "Save (~<F11~>)", function() RunSaveMenu() end)


Re: Doom Wars' Launch Party
04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
- DinkyDyeAussie
- Posts: 260
- Joined: Fri Feb 10, 2012 10:39 am
- Location: Australia
Re: Doom Wars' Launch Party
not really helping, plus I can't see the video man. Apparently it's private...
Re: Doom Wars' Launch Party
Haha, was too funny to watch this video, though all Kyran's comments have been muted because of music
Nightmare AI's of Doom Wars are really tough, I'm eager to watch a video of beating at least 1 Nightmare AI.

Re: Doom Wars' Launch Party
04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me