May 26, 2017, 04:37:38 AM

Username
Password

Pages: 1 ... 7 8 [9] 10   Go Down
Print
Author Topic: Hangover Cure...  (Read 36402 times)
0 Members and 1 Guest are viewing this topic.
Ghabry
Developer
*
Offline Offline

Posts: 1004



View Profile
« Reply #120 on: January 27, 2013, 01:58:56 AM »

Units that can climb walls could be a nice extra tactical component btw Smiley
And it looks funny how so many troops fight on a building ^^
Logged

Smurf
Developer
*
Offline Offline

Posts: 94



View Profile
« Reply #121 on: January 27, 2013, 02:45:35 AM »

That's actually a really cool idea.

It does pose some quite probematical technical challenges though.

Firstly, flying creatures can clear buildings already (although I have it disabled because it makes the game take longer to setup until I put in saving/loading of the level instead of regenerating the needed height data each time I run it - but it will be making a come back).

Climbing would be technically very difficult because I would need to do not just animations for it, and extra logic, but more importantly it would require detection of wall edges which currently is not very precise.  I am using very fast "vague" maths in a lot of places to speed things up in order to have as many units as possible, so the precision for the wall edges is not very accurate because it doesnt need to be - unless I were to include wall climbing in which case it'd have to be very precise indeed!

Actually, it would necessitate reading off the 3D geometry data, or a lo-resolution version of it.  Rather than just looking up an indexed memory bank of 1's and 0's that states whether an area is enterable on the ground.  The maths for that just isn't fast enough at all for this game, sadly.
Logged

Somewhere between awesome and irresponsible.
Smurf
Developer
*
Offline Offline

Posts: 94



View Profile
« Reply #122 on: January 27, 2013, 10:57:45 AM »

So looking at the stuff coming up, I've got some interface work to do which I really am not looking forward to!  At the moment the controls are kinda horrible, sorting that wont be so bad but part of the interface overhaul will be portraits for the units.  I'm not going to animate them like in DO - but doing all the art is a task and a half!

Some units will need control icons, like archers.  Currently they only fight in skirmish mode so they'll need some controls for shooting at fixed points, and I was thinking of a more ordered attack mode where the front rank fires and then moves to the back so that the next rank can fire, and so on.

The same could also be done for melee units, the way they fight at the moment is a kind of skirmish, but they could have an option for solid formations too, although it's a bit of work to code that the results could be worth it.

Then there is the multiplayer code, I think it makes sense to code this before any new unit AI is written because I may have to jiggle things around a bit in the unit control logic to get the multiplayer in, so I may as well do that first.

Also there is the problem of sound effects.  Music is covered, I don't know if I mentioned this before but I have gotten hold of some music from hollywood film score artists and it's absolutely bleeding epic, featuring full orchestras with french horns - the works, but I need to hook up with some re-enactors to get the battle sounds recorded.

I was thinking earlier "Hey, i'm on the home stretch" - but then I stopped and realised how much there is to do still! Because after all this is done I need to work on the campaign side of the game and make about 100 or so maps!
Logged

Somewhere between awesome and irresponsible.
Smurf
Developer
*
Offline Offline

Posts: 94



View Profile
« Reply #123 on: January 27, 2013, 01:04:32 PM »

I thought you might enjoy this, although unplayable due to a woeful fps of 3 - it served the purpose of testing to make sure there are no crashes and the memory management is all under control.

Here, a maximum graphics settings battle of well over 10000 men, somewhere around 12000-14000.


* 12000.jpg (116.71 KB. 1021x579 - viewed 382 times.)

Logged

Somewhere between awesome and irresponsible.
olly
Global Spokesperson
*
Offline Offline

Posts: 1802



View Profile
« Reply #124 on: January 27, 2013, 09:53:17 PM »

I'd love to see an interface identical to Dark Omen's in terms of Map/Camera/Troop navigation and instead of 3D animating the portraits perhaps you could make them 2d animated like in Shadow of the Horned Rat, where just the eyes and mouths move.

Glad to hear Archers will be able to target fixed points, like Dark Omen for those critical intercept shots and unlike Rome Total War series where they can only target the enemy in their current position and generally miss. Does Dark Omen work out the arrow hit calculation when it hits the ground or like most games that the arrows get calculated if a hit or miss as they fire and before they actually hit, which is bad. I really like the idea of the first two ranks of archers moving to the back etc.. and would much prefer solid formations like Dark Omen, rather than the current kind of skirmish melee (sorry for my obvious bias and can wait for the future mod, hehe)

Excited over the forthcoming Mulitplayer developments, is it more than 2 player? Would be cool even if it meant smaller amounts of troops each etc.

The intended music sounds great and will look forward to hearing more and perfect that you know re-enactors for battle sounds.

Please let me know if we can help with anything, especially designing new maps!

Loving the latest screen shot and seeing them fighting in between the buildings. I will dream of playing.

Smiley

 
Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Smurf
Developer
*
Offline Offline

Posts: 94



View Profile
« Reply #125 on: January 27, 2013, 10:19:43 PM »

I'd love to see an interface identical to Dark Omen's in terms of Map/Camera/Troop navigation
I don't really recall the specifics of Dark Omens controls, but I do intend to include rotation as a command that can be issued as that annoyed the hell out of me in Rome Total War, it just didn't work as nicely as DO.  The changes I made today are quite nice to work with.

Select a unit with the left mouse button, if a unit is selected you give it move orders with the right.  Shift to issue a chain of orders.  If no unit is selected the the right mouse button allows you to rotate the camera.  Arrow keys allow you to move the camera, and + and - allow you to change the number of ranks in a unit.

Quote
and instead of 3D animating the portraits perhaps you could make them 2d animated like in Shadow of the Horned Rat, where just the eyes and mouths move.
For me this just isn't a major part of the game.  DO was telling a story so having an animated leader in a game where units all had their own storyline was part of that, but that isn't the case for my game - it's very definitely multiplayer, so I don't see it as necessary - and it is an aweful lot of work just to create stills for all the units let alone animated in 2D or 3D (in point of fact, I typically generate 2D graphics from a 3D source, and have done for years).

Quote
Glad to hear Archers will be able to target fixed points, like Dark Omen for those critical intercept shots and unlike Rome Total War series where they can only target the enemy in their current position and generally miss.
It's one of those DO inspired gameplay features I would consider to be essential.  It's not currently in the game, but it will be.

Quote
Does Dark Omen work out the arrow hit calculation when it hits the ground or like most games that the arrows get calculated if a hit or miss as they fire and before they actually hit, which is bad.
I don't know how DO does it, but I do it by calculating where the shot will land and then firing the arrow down that path.  It would be much faster to check for collissions just once before the shot is fired - which when dealing with large numbers of troops will save a lot of calculations - but I havn't done that.  I check for collisions on each arrow on each move.  I think I still have work to do here which I will sort out when I do the targeting of an area.

Quote
I really like the idea of the first two ranks of archers moving to the back etc..
Yeah I think it would look good, but I still have to work out whether the second rank should move forward, otherwise the unit will move backwards on the battlefield as it fires - but if the second rank moves forwards then it precludes the point of the maneuver.
 
Quote
and would much prefer solid formations like Dark Omen, rather than the current kind of skirmish melee (sorry for my obvious bias and can wait for the future mod, hehe)
Solid formations are very warhammery, the skirmish battle are much more cinematic in style.  Ideally I would like a mix, and it will be interesting to see what effect that has on the combat.  Anything which can add a tactical element to the game is welcome - as I want to avoid it being a zerg rush.

Quote
Excited over the forthcoming Mulitplayer developments, is it more than 2 player? Would be cool even if it meant smaller amounts of troops each etc.
I plan to support lots of players.

Quote
The intended music sounds great and will look forward to hearing more and perfect that you know re-enactors for battle sounds.
I just hope they say yes!

Quote
Please let me know if we can help with anything, especially designing new maps!
Well if you fancy designing the campaign map we could talk about that.  I was thinking something parchmenty, and stylised.  Would this fall into your skill set?

Quote
Loving the latest screen shot and seeing them fighting in between the buildings. I will dream of playing.
If only it was actually playable with that many soldiers!
Logged

Somewhere between awesome and irresponsible.
Smurf
Developer
*
Offline Offline

Posts: 94



View Profile
« Reply #126 on: January 28, 2013, 10:45:35 PM »

I started work on the multiplayer tonight.

Firstly, when I compile a copy is automatically sent from my laptop (which I prefer to code on at the moment) to my desktop, if the application is running on the desktop then it detects the update, closes and relaunches itself - that's kinda neat and makes developing much easier Smiley It means I can code in the comfort of my games room, whilst the desktop is in the lounge Smiley - and I know it hasnt crashed because I see the network connection hitting Smiley

I've got a TCP connection established between the server and the client and that all works fine. I auto-detect which computer is the server or client at the moment because that makes dev easier, simply by looking for a file that is only on the desktop - but at some point there will need to be a lobby)

The next step is to get a UDP connection established too.  The reason there are two distinct network protocols (TCP and UDP) and that i'm using them both is because whilst TCP is very reliable - packets always arrive in order and any missing packets are resent, it's very robust and stable - The disadvantage is that the packets are larger by somewhere around 30 odd bytes each.  So game state changes will be sent over TCP, and non-critical realtime packets will be sent over UDP.

For some reason I am struggling to get the UDP connection to establish a link tonight, but I am sure some time away from the keyboard will fix it - so Big Bang Theory and a cup of coffee is on the menu for the rest of the night Smiley
Logged

Somewhere between awesome and irresponsible.
olly
Global Spokesperson
*
Offline Offline

Posts: 1802



View Profile
« Reply #127 on: January 28, 2013, 11:14:58 PM »

Great to learn about the network multiplayer setup, thanks.

Just for reference the Dark Omen Controls-

CONTROLS
MOUSE 
Battlefield 
LMB  select
RMB  center camera view
Hold right button  scroll view towards mouse pointer
Books 
LMB  select
RMB  go to relevant page
KEYBOARD 
Battlefield 
F1  cancel pending instruction
F5  toggle banner sort mode
A  auto-deploy regiment
B  break button
C  charge button
F  fire button
H  halt button
M  magic button
S  strength button (hero)
Hold Shift  force the turn and face pointer
 cycle clockwise through friendly regiments
Shift <  cycle counter-clockwise through enemy regiments
Shift >  cycle clockwise through enemy regiments
Enter  end Deployment Phase / End mission (when instructed)
Tab or Spacebar  Invoke map / Turn off map - return to battlefield
+ / -  cycle regiment formations
Left arrow  rotate camera view left
Right arrow  rotate camera view right
Up arrow  zoom in camera view
Down arrow  zoom out camera view
Delete  maximum camera zoom (centers view to the cursor's position)
End  medium camera zoom (centers view to the cursor's position)
Page Down  minimum camera zoom (centers view to the cursor's position)
Alt  drop Magic Item on battlefield (Hold Alt then left-click item)
Ctrl  place multiple move waypoint on battlefield (move pointer must be active)
Esc  Menu - Abort, Adjust sound balance, continue
F4 or T  chat mode (multi-player only)
Camp 
Left arrow  replay entire speech
Right arrow  skip entire speech (continue campaign if speech has ended)
Spacebar  skip current sentence
F9  view troop roster
F10  go to Save menu
Debriefing 
Left arrow  previous page
Right arrow  next page
Down arrow  exit debriefing
F9  view troop roster
F10  go to Save menu
Anywhere 
F6  momentarily view Pop-up help (even if Off in options)

"Anything which can add a tactical element to the game is welcome - as I want to avoid it being a zerg rush".

Not sure if it does this already but is there a bonus for attacking from rear and flanks to encourage more tactics, would be ideal with the solid formations that prevent regiments to pass through each other like in the terrible Mark of Chaos. That's what Rome Total War series did get right - the solid formations for blocking manoeuvres but im realising we maybe talking more in terms of how formations behave once in melee? 

Love Big Bang Theory

Smiley
Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Smurf
Developer
*
Offline Offline

Posts: 94



View Profile
« Reply #128 on: January 29, 2013, 12:11:57 AM »

Currently there is no flanking bonus because skirmishing doesn't really warrant it, but it is something I'm astutely aware of and will do if I can get the solid formations in.

Thanks for the control summary, what I've got at the moment isn't the same but it feels okay. We'll see if it stands up to play testing when we get that far Smiley.

I've got half a mind to make the server a separate non-graphical app, if it isn't too much refactoring, as this approach will allow me to compile the server app under Linux which means it could be run on a web server - which would be awesome for campaigns online - it could effectively result in an inbuilt ladder or mini campaigns with persistent campaign maps or something like that, with direct output to an SQL database for integration into websites.

No promises on that though, we shall have to see if I can decouple the graphics easily enough.
Logged

Somewhere between awesome and irresponsible.
Smurf
Developer
*
Offline Offline

Posts: 94



View Profile
« Reply #129 on: February 02, 2013, 12:31:36 PM »

I've jut commissioned some artillery pieces to be made especially for the project.  I'm making use of the superb skills of Nick Igoe who is extremely talented, and he's cut me a good deal because I did not ask for exclusivity so he can sell the assets on to other games programmers.

Here is one he already had made, a trebuchet.  It's rigged for animation but I need to sort out the sprung rope so that it animates and flexes properly, as he had never made animation for the model.  He's making me 3 new pieces, a canon, a mortar, and a catapult.  So we'll be well stocked for artillery pieces!


* trebucheet.jpg (35.19 KB. 436x348 - viewed 367 times.)

Logged

Somewhere between awesome and irresponsible.
Smurf
Developer
*
Offline Offline

Posts: 94



View Profile
« Reply #130 on: February 02, 2013, 02:44:52 PM »

He's made a start already.  Here is the canon before any textures have been applied.


* canon-preproduction.jpg (33.61 KB. 640x480 - viewed 243 times.)

Logged

Somewhere between awesome and irresponsible.
Smurf
Developer
*
Offline Offline

Posts: 94



View Profile
« Reply #131 on: February 02, 2013, 03:28:09 PM »

I've been doing a lot of reading up on networking today, and note with some interest that in some countries UDP traffic is routinely blocked.  It sounds strange to me, but I guess the idea is to limit the web to just web pages and email.  Because of this I shall have a go at abstracting my network layer from the socket used - and provide the functionality to send gameplay data over either UDP or TCP.  UDP will be faster, but I would like not to exclude people in far off places like the United Arab Emirates and such from playing the game so if I can I will include a TCP option.

I did start listening to a 2 hour seminar by the lead network programmer on Halo 3 too, but after 40 minutes I was having to physically stop myself from emailing him optimisations to his own techniques.  So I have high hopes of the networking side of the game.

If only I was as good graphically !
Logged

Somewhere between awesome and irresponsible.
olly
Global Spokesperson
*
Offline Offline

Posts: 1802



View Profile
« Reply #132 on: February 02, 2013, 04:38:17 PM »

Fantastic Arty pieces can't wait to see them wreak havoc on the battlefield (haven't seen Nick's stuff since trying to track down Andy Igoe! Wink

I never realised UDP was blocked in some countries and fair play to seeing some optimisations to Halo 3 networking!

Smiley

Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Ghabry
Developer
*
Offline Offline

Posts: 1004



View Profile
« Reply #133 on: February 03, 2013, 01:21:43 PM »

Our university firewall throws away some TCP and UDP traffic too (for security reasons). This prevented me from logging in one MMORPG (cant remember which one). But otherwise everything worked so far.

[Note: Topic moved from "Tavern" to "Tactical wargaming and other Warhammer games"]
Logged

Smurf
Developer
*
Offline Offline

Posts: 94



View Profile
« Reply #134 on: February 10, 2013, 10:35:36 AM »

I've had the art for two new mesh units.


* canon.jpg (34.86 KB. 591x370 - viewed 252 times.)

Canon


* mortar.jpg (30.08 KB. 458x406 - viewed 284 times.)

Mortar

Logged

Somewhere between awesome and irresponsible.
Pages: 1 ... 7 8 [9] 10   Go Up
Print
Jump to: