This bug can be game breaking: Motion Prediction
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: This bug can be game breaking: Motion Prediction
Just a bit more rambling on the subject of neural nets...
I consider NNs to be just a more natural way to store data, rather than any specific branch of AI. So I take a somewhat different approach to them.
One of the things I was experimenting with in the past was an implementation of synapse myelination to alter the precedence of neural pathways. So, as gameplay changes, for example, I want to be able to effectively deposit mylin on the paths that turn out to be more effective, and remove myelin from the paths that are becoming less effective. Then, using a mixture of proxies, weak maps and deconstruction (perhaps with some array comprehension thrown in for good measure, despite the fact that it makes my brain hurt) I could create a programmatical construct that effectively and efficiently fires the neural circuit to return relevant data or take the most effective action for a given situation.
EDIT: Also, Javascript as a functional language with weak typing lends itself to development of genetic algorithms which is another area I want to investigate when Warzone's JS environment gets a bit more up-to-date.
I consider NNs to be just a more natural way to store data, rather than any specific branch of AI. So I take a somewhat different approach to them.
One of the things I was experimenting with in the past was an implementation of synapse myelination to alter the precedence of neural pathways. So, as gameplay changes, for example, I want to be able to effectively deposit mylin on the paths that turn out to be more effective, and remove myelin from the paths that are becoming less effective. Then, using a mixture of proxies, weak maps and deconstruction (perhaps with some array comprehension thrown in for good measure, despite the fact that it makes my brain hurt) I could create a programmatical construct that effectively and efficiently fires the neural circuit to return relevant data or take the most effective action for a given situation.
EDIT: Also, Javascript as a functional language with weak typing lends itself to development of genetic algorithms which is another area I want to investigate when Warzone's JS environment gets a bit more up-to-date.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: This bug can be game breaking: Motion Prediction
Anyway, getting back on to topic, I did some playtesting last night and I think camellia0x++ might have identified a regression in the motion prediction.
Specifcially, it looks like "search and destroy missiles" (and similar tech for other weapon lines) isn't working properly in Warzone 3.1 Beta 4.
I had missiles and arty raining down on my own buildings because it's where the enemy droids would have got to if my walls hadn't blocked their path.
In the past, search & destroy missiles would have done similar, but as they neared the ground they'd change their direction in flight to hit much closer to the enemy units. It seems that the "search and destroy" stuff isn't working in beta 4.
Specifcially, it looks like "search and destroy missiles" (and similar tech for other weapon lines) isn't working properly in Warzone 3.1 Beta 4.
I had missiles and arty raining down on my own buildings because it's where the enemy droids would have got to if my walls hadn't blocked their path.
In the past, search & destroy missiles would have done similar, but as they neared the ground they'd change their direction in flight to hit much closer to the enemy units. It seems that the "search and destroy" stuff isn't working in beta 4.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
dak180
- Trained

- Posts: 288
- Joined: 01 Nov 2009, 23:58
- Location: Keeper of the Mac Builds
Re: This bug can be game breaking: Motion Prediction
Sounds like a good candidate for a ticket; remember, no bug actually exists until and unless there is a ticket in the tracker which accurately describes it (and preferably how to reproduce it).aubergine wrote:In the past, search & destroy missiles would have done similar, but as they neared the ground they'd change their direction in flight to hit much closer to the enemy units. It seems that the "search and destroy" stuff isn't working in beta 4.
User:dak180
Keeper of the Mac Builds
Keeper of the Mac Builds
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: This bug can be game breaking: Motion Prediction
I'll create a ticket - I wasn't sure it was a bug until last night when I noticed just how much the behaviour of missiles has changed.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
Lord Apocalypse
- Regular

- Posts: 678
- Joined: 29 Jul 2009, 18:01
Re: This bug can be game breaking: Motion Prediction
ummm doing a NN in JS/Qtscript?? oook not my first choice. Definitely not the same game (internally) i'm used to
-
camellia0x++
- Rookie

- Posts: 28
- Joined: 22 Jan 2012, 18:28
Re: This bug can be game breaking: Motion Prediction
I'd use golang for NN, imo. It's higher level than C and C++ but much faster than javascript at code execution (1.5 times slower than C vs 10 times slower). It's a good balance.
Example code (sorta, not going to test compile it):
Example code (sorta, not going to test compile it):
Code: Select all
include(
"fmt"
)
func main () int {
x := make (chan int, 1)
y := 4
x <- y
go func() {
fmt.Println(<-x)
}()
x <- 3
return
}
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: This bug can be game breaking: Motion Prediction
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
camellia0x++
- Rookie

- Posts: 28
- Joined: 22 Jan 2012, 18:28
Re: This bug can be game breaking: Motion Prediction
Does warzone use commonJS?aubergine wrote:http://harthur.github.com/brain/
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: This bug can be game breaking: Motion Prediction
No, but I imagine it could be easily made to work. Not sure why though.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
milo christiansen
- Regular

- Posts: 749
- Joined: 02 Jun 2009, 21:23
- Location: Perrinton Michigan
Re: This bug can be game breaking: Motion Prediction
You forgot to mention that it compiles at light speedcamellia0x++ wrote:I'd use golang for NN, imo. It's higher level than C and C++ but much faster than javascript at code execution (1.5 times slower than C vs 10 times slower). It's a good balance.
Go learn a new language
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
- Demigod Game Ganual
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: This bug can be game breaking: Motion Prediction
I doubt golang will make it in to Warzone any time soon, so I'l stick with JS for now 
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
Emdek
- Regular

- Posts: 1329
- Joined: 24 Jan 2010, 13:14
- Location: Poland
Re: This bug can be game breaking: Motion Prediction
This is that Go baked by Google or the original one (I've heard that Google chosen already used name)?
Anyway, as I've stated in another topic, JS is not perfect but is good enough, and competition of browser vendors improves it (performance, like using JIT etc.).
Anyway, as I've stated in another topic, JS is not perfect but is good enough, and competition of browser vendors improves it (performance, like using JIT etc.).
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
-
milo christiansen
- Regular

- Posts: 749
- Joined: 02 Jun 2009, 21:23
- Location: Perrinton Michigan
Re: This bug can be game breaking: Motion Prediction
And its really too bad, JavaScript is great but Go is betteraubergine wrote:I doubt golang will make it in to Warzone any time soon, so I'l stick with JS for now
Sigh oh well imagine how much work it would be to write a go interpreter just so it could be used for AI and mission scripting in a game, not worth the effort
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
- Demigod Game Ganual
-
camellia0x++
- Rookie

- Posts: 28
- Joined: 22 Jan 2012, 18:28
Re: This bug can be game breaking: Motion Prediction
Or we compile it as binary objects? >_<milo christiansen wrote:And its really too bad, JavaScript is great but Go is betteraubergine wrote:I doubt golang will make it in to Warzone any time soon, so I'l stick with JS for now![]()
Sigh oh well imagine how much work it would be to write a go interpreter just so it could be used for AI and mission scripting in a game, not worth the effort
Hell, considering how fast it compiles, we could do the compiling and linking with warzone on the fly.
-
milo christiansen
- Regular

- Posts: 749
- Joined: 02 Jun 2009, 21:23
- Location: Perrinton Michigan
Re: This bug can be game breaking: Motion Prediction
True, but I think getting rid of WZScript in favor of JavaScript is enough to ask forcamellia0x++ wrote:Hell, considering how fast it compiles, we could do the compiling and linking with warzone on the fly.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
- Demigod Game Ganual