Search found 13 matches
- 01 Nov 2010, 06:15
- Forum: Lua Scripts
- Topic: Any Dialog Box/Textbox UI widgets
- Replies: 14
- Views: 3139
Re: Any Dialog Box/Textbox UI widgets
Thanks for the replies everyone, ill try to go with the solution Argh has suggested.
- 29 Oct 2010, 04:37
- Forum: Lua Scripts
- Topic: Any Dialog Box/Textbox UI widgets
- Replies: 14
- Views: 3139
Re: Any Dialog Box/Textbox UI widgets
My background is in writing game engines and i guess i could agree with hoijui that implementing certain types of UI widgets cleanly requires core engine support for things like current mouse/keyboard focus. However i am very new to the Spring Engine and do not have much knowledge of it's inner work...
- 28 Oct 2010, 10:04
- Forum: Lua Scripts
- Topic: Any Dialog Box/Textbox UI widgets
- Replies: 14
- Views: 3139
Any Dialog Box/Textbox UI widgets
Im trying to achieve the following scenario Based on a defined condition/trigger -Pause the Game -Ask the player a qsn through a dialog box -Allow the user to answer that question by typing in his results I believe the condition/trigger and pausing should be trivial to do through Lua. I just wanted ...
- 14 Oct 2010, 10:42
- Forum: Game Development
- Topic: Disabling Metal/Energy Bars
- Replies: 2
- Views: 576
Re: Disabling Metal/Energy Bars
Thanks, works like a charm.
- 14 Oct 2010, 09:39
- Forum: Game Development
- Topic: Disabling Metal/Energy Bars
- Replies: 2
- Views: 576
Disabling Metal/Energy Bars
Is there an easy way to disable the drawing of the metal/energy bars? I do not think there is any widget/gadget responsible for drawing the bar.
- 04 Oct 2010, 10:49
- Forum: Game Development
- Topic: Revealing unit when unit is attacking
- Replies: 10
- Views: 1053
Re: Revealing unit when unit is attacking
I agree, using the unit script should be far more efficient instead of using a callin and checking everytime any unit fires. However i believe that the unit scripts are not coded in Lua but rather a C like language. I have been unable to locate any documentation/tutorials on unit scripting. Anyway, ...
- 04 Oct 2010, 08:36
- Forum: Game Development
- Topic: Revealing unit when unit is attacking
- Replies: 10
- Views: 1053
Re: Revealing unit when unit is attacking
Just another question,
I do not seem to be able to locate a callin which is related to a unit firing.
I do not seem to be able to locate a callin which is related to a unit firing.
- 01 Oct 2010, 07:40
- Forum: Game Development
- Topic: Revealing unit when unit is attacking
- Replies: 10
- Views: 1053
Re: Revealing unit when unit is attacking
Thanks for the help guys, ill look into your recommendations.
- 01 Oct 2010, 05:27
- Forum: Game Development
- Topic: Revealing unit when unit is attacking
- Replies: 10
- Views: 1053
Revealing unit when unit is attacking
Im modifying Spring 1944 atm and am trying to make artillery units which have very very long firing range, to be revealed when they fire even if the opponent does not have any unit in range of the artillery. This behaviour is similar to starcraft1 where siege tanks on high ground or far range would ...
- 16 Sep 2010, 11:40
- Forum: Map Creation
- Topic: Updating/Modifying SpringLobby Preview image
- Replies: 2
- Views: 597
Updating/Modifying SpringLobby Preview image
Im modifying an existing map using Spring Edit. Everything seems to work as intended except that the preview of the modified map shows the preview of the original map. So im wondering what i need to do to update this preview image. I suppose this image is saved into the map instead of being dynamica...
- 24 Aug 2010, 07:07
- Forum: Lua Scripts
- Topic: Getting Started with a Logging Gadget/Widget
- Replies: 6
- Views: 916
Re: Getting Started with a Logging Gadget/Widget
Thanks for the replies. I guess i will go with the widget route then and log it during the replay.
- 23 Aug 2010, 11:17
- Forum: Lua Scripts
- Topic: Getting Started with a Logging Gadget/Widget
- Replies: 6
- Views: 916
Re: Getting Started with a Logging Gadget/Widget
Hi knorke Thanks for your reply. The gadget part is a non-issue as the game is intended to be played internally(locally), so all players will have the gadget installed. I have no problems atm to retrieve information about what the enemy/myself have built. The problem seems to be simply that i do not...
- 23 Aug 2010, 09:56
- Forum: Lua Scripts
- Topic: Getting Started with a Logging Gadget/Widget
- Replies: 6
- Views: 916
Getting Started with a Logging Gadget/Widget
Im trying to build a logging gadget/widget which can log all events in the game. I believe a widget is not suited for this purpose since it cannot be notified of the events of the opposing player. My approach atm is to use the relevant call ins like gadget:UnitCreated to write to a log file. However...