View unanswered posts | View active topics It is currently 23 Nov 2024, 08:09



Reply to topic  [ 403 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 14  Next
 The BOTF2 Combat System (Download Is In The First Post) 
Author Message
Fleet Admiral
Fleet Admiral
User avatar

Joined: 13 Nov 2006, 01:00
Posts: 2111
Location: Germany
double click on any of the ships. then the cursors work (+ and - next to your enter button). also press z to lay better courses.


17 Jan 2008, 14:54
Profile WWW
Klingon Honor Guard
Klingon Honor Guard
User avatar

Joined: 22 Apr 2005, 01:00
Posts: 1527
Location: UK
K, i found the prob i had to click and drag the window of the demo around a tiny bit before anything could work. Duno if just me or not but there u go. Also i did a quick mod to see if skyboxes could be changed, and well yeah but was annoying trying to convert a st legacy skybox to the demo, also for some reason the dds textures didnt convert very good to jpeg.

Image

Tweaked a bit i.e brightness -20 and contrast up 50 for each side.

--

Just played the strings version and its very nice with lighting and the exploding asteroids, i dont care much for the movement i.e just rolling not turning at the mo, but hope it improves. The defiants weapons OMG so nice, miles nicer than st legacy lol.

_________________
Image
My youtube channel


17 Jan 2008, 15:49
Profile
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
Jig, it's only running slow on MY computer - Wolfe is getting framerates more than double that. I've got an old graphics card - 128mb Radeon 9250 - which apparently isn't coping well. :(

Skeet, I have a few problems for the first couple of seconds as well. I have to keep double-clicking on a ship until the program responds. It runs fine then.

_________________
"Anyone without a sense of humour is truly at the mercy of the rest of us."

Image
Image


17 Jan 2008, 16:02
Profile WWW
Combat Engineer
Combat Engineer
User avatar

Joined: 18 Jul 2005, 01:00
Posts: 1001
Jig is right about FPS, i tested about 80 ships on screen and on mine it goes down to around 30fps which isn't that great. I haven't optimised anything in a sense and due to my coding prowess or lack of it :) i probably do something stupid like clone each mesh twice or something.

Optimization can come later for now.

You have to select a ship before you can do anything, i'll change it so that a ship is selected before hand.

Phasers go through the ship mesh simply because a) the hitpoints aren't placed very well and more importantly b) beam end points are at the moment picked 50/50 random or nearest hitpoint, so there is a chance a hitpoint at the back of the ship gets selected. The random element was only added so i could see if it could fire at differant sections, how good or bad it looked and i haven't come up with a good system which not only selects the closest hitpoint but also checks it is in a LOS, without actually calling the LOS method which would mean cpu usage.

Regards Wolfe

_________________
Image


17 Jan 2008, 18:28
Profile
Fleet Admiral
Fleet Admiral
User avatar

Joined: 13 Nov 2006, 01:00
Posts: 2111
Location: Germany
how do I add more ships to the battle? how do I edit friendly and enemy xml files?


17 Jan 2008, 18:42
Profile WWW
Combat Engineer
Combat Engineer
User avatar

Joined: 18 Jul 2005, 01:00
Posts: 1001
To be honest there is a likely chance that adding more ships may crash it during beam firing, though seems to only occur when you have two enemy ships:

Anyway to simply add more ships: Open the Gamestate.xml in an xml editor, change the value to the number of ships you want and then add the name of the ships you want to load, in this case 3 ships and all of them are Borg spheres, you can add any ship ie, mixed nebula and sphere, and if you want though i wouldn't recommend it you could load the Dom_BattleCruiser.xml or vulcan xml ship data but as they are not scaled and the textures don't load well i would ignore them.

<Enemy_Ships>
<value>3</value>
<name>Borg_Sphere.xml</name>
<name>Borg_Sphere.xml</name>
<name>Borg_Sphere.xml</name>
<end></end>
</Enemy_Ships>

If and this is likely to be problematic you want to add a new ship?
Simplest way is to copy the nebula.xml open it up and change this

<Ship_Model_Folder>Nebula_Cruiser</Ship_Model_Folder>
<Ship_File_Name>Nebula_Cruiser.3ds</Ship_File_Name>
<Ship_Texture_Name>empty</Ship_Texture_Name>

to say

<Ship_Model_Folder>MY_SHIP_FOLDER/Ship_Model_Folder>
<Ship_File_Name>MY_SHIP_FILE.???</Ship_File_Name>

If it is a 3DS file it should support mutliple texture load up and you won't need to specify a texture
<Ship_Texture_Name>empty</Ship_Texture_Name>

If it loads up and the ship is a 'WHITE' colour, then the textures failed to load and you'll need to tell the engine to load a texture by simply adding

<Ship_Texture_Name>
<value>3</value> // Add this line 'Case sensitive' and tell the engine how many textures to load, there is some limit and i'am not sure if it loads correctly
<t0>s512_1.bmp</t0> // Add <t0></t0> and fill it with your texture 'Case sensitive' which is located in the ship mesh folder, for each new texture add another
<t1>s512_2.bmp</t1> // line and increase t number
<t2>s512_3.bmp</t2>
</Ship_Texture_Name>

Hope this helps

Regards Wolfe

_________________
Image


17 Jan 2008, 19:02
Profile
Combat Engineer
Combat Engineer
User avatar

Joined: 18 Jul 2005, 01:00
Posts: 1001
One note, the files Friendly.xml and Enemy.xml are redundant and not used, only SHIP xml's listed in the gamestae.xml are loaded, With each new ship comes the problem of editing beam cannon position and hitpoints etc.

_________________
Image


17 Jan 2008, 19:06
Profile
Klingon Honor Guard
Klingon Honor Guard
User avatar

Joined: 22 Apr 2005, 01:00
Posts: 1527
Location: UK
Will there be a option to band box ships which selects them that way instead of clicking also will waypoints be implimented as that will be good i think to set 1 ship on a course of multi way points while u control the other direct or somit.

Btw the skybox is rather small in scope, perhaps increase the size by about 50?

About the hitpoints and firing, perhaps make a system with front and aft assigned hitpoints and sides as well as top and bottom, so if a ship is above firing down then it picks one of the top designated hitpoints, if from side, the use one of the side designated hps. etc..

_________________
Image
My youtube channel


17 Jan 2008, 19:32
Profile
Combat Engineer
Combat Engineer
User avatar

Joined: 18 Jul 2005, 01:00
Posts: 1001
Quote:
About the hitpoints and firing, perhaps make a system with front and aft assigned hitpoints and sides as well as top and bottom, so if a ship is above firing down then it picks one of the top designated hitpoints, if from side, the use one of the side designated hps. etc..


It's already like that in a way though perhaps the hitpoints could be positioned better, originally and still coded the ship picks the closest hitpoint and sets that as the target, i added a random chance of picking a differant one to see how it would look.

next set of coding is controls and commands,
These are: Move (Without constant velocity), Follow, Circle, Patrol (Waypoints),
Commands: Avoid, Defensive, Aggressive, Standdown.

Any more feel free to add.

Regards Wolfe

_________________
Image


17 Jan 2008, 20:01
Profile
Fleet Admiral
Fleet Admiral
User avatar

Joined: 13 Nov 2006, 01:00
Posts: 2111
Location: Germany
okay worked. but what the heck.. ;)

Image

who did that monster ship :shock: and how could the nebulas got so close?


17 Jan 2008, 20:04
Profile WWW
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
Wolfe, what if you changed the system slightly so that when it decides to fire at a random hitpoint, it would hit the second nearest hitpoint instead of a random one? That would ensure that you'll only get front or side hits, then.

If the ship is larger and it has multiple hitpoints facing in the same general direction that are equidistant from the closest hitpoint, then it would randomly choose a hitpoint of those ones. Basically randomise the random that you just made less random. :shock: :lol:

...

I didn't notice the Nebulas when I first saw the image, Mal. It was only when you mentioned them in your post that I looked closer. :P :oops: :lol:

_________________
"Anyone without a sense of humour is truly at the mercy of the rest of us."

Image
Image


17 Jan 2008, 20:19
Profile WWW
Jig of the Puff
Jig of the Puff
User avatar

Joined: 10 Sep 2004, 01:00
Posts: 1305
Location: I wish i knew
Skeeter wrote:
K, i found the prob i had to click and drag the window of the demo around a tiny bit before anything could work. Duno if just me or not but there u go. Also i did a quick mod to see if skyboxes could be changed, and well yeah but was annoying trying to convert a st legacy skybox to the demo, also for some reason the dds textures didnt convert very good to jpeg.

this is because dds compression is crap mate.

Quote:

Very nice lookin demos tho, i remember jig having massive problems getting the phasers not to go through ships. Actually jig how is your game coming along, iirc you had a nice demo last time i played which was ages ago and am keep to see how you have been getting along.

not had the chance to do much since the last demo i set you mate i`ve been busy on a commercial project doing stuff like this :)
Image
i am currently the lead on the modeling side, doing character, and static meshs, everything from trees, bushs, houses, to the world inhabitants lol. i also appear to have ended up doing a lot of concept stuff, ie i`m makeing it up as i go :lol:

_________________
ImageImage


17 Jan 2008, 20:52
Profile
Fleet Admiral
Fleet Admiral
User avatar

Joined: 13 Nov 2006, 01:00
Posts: 2111
Location: Germany
wow, then you might probably be interested to see those (all 3d models, well nearly all): viewtopic.php?f=19&t=2111 . All from talented guys on the net with permission for us to use (well not actually the models ;)).

if you happen to be able to share one of those (textured and all proped up if possible ;)), you know where you're welcome jig mate :lol: (we have enough pics already to kill all trek races but still, yours seem to be a fine distinction from all the other ones we have as listed in the thread linked above..)


17 Jan 2008, 22:11
Profile WWW
Jig of the Puff
Jig of the Puff
User avatar

Joined: 10 Sep 2004, 01:00
Posts: 1305
Location: I wish i knew
christ some of them are great, really high poly jobs though. the ones i`m doing are for a commercail game so i can`t go any higer than 10k for the lod 1 mesh, although with normal maps it`ll look fairly good i think. i saw victoria in there btw, poser don`t allow the use of there stuff so you might want to lose her pic 8

_________________
ImageImage


17 Jan 2008, 22:23
Profile
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
I just had a look too, Jig. Christ they're good images! Definitely top quality work. 8)

...Some of the images are repeated though. I just posted in there.

_________________
"Anyone without a sense of humour is truly at the mercy of the rest of us."

Image
Image


17 Jan 2008, 22:27
Profile WWW
Lieutenant
Lieutenant
User avatar

Joined: 11 Jul 2005, 01:00
Posts: 493
jigalypuff wrote:
christ some of them are great, really high poly jobs though. the ones i`m doing are for a commercail game so i can`t go any higer than 10k for the lod 1 mesh, although with normal maps it`ll look fairly good i think. i saw victoria in there btw, poser don`t allow the use of there stuff so you might want to lose her pic 8



Commercial game? I take it that you are working in the video game industry then?

_________________
You ain't seen nothen yet.


17 Jan 2008, 23:32
Profile
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
He has been for a while, Fox. That's why there haven't been any New Beginnings updates since...well Supremacy actually.

_________________
"Anyone without a sense of humour is truly at the mercy of the rest of us."

Image
Image


17 Jan 2008, 23:47
Profile WWW
Jig of the Puff
Jig of the Puff
User avatar

Joined: 10 Sep 2004, 01:00
Posts: 1305
Location: I wish i knew
FoxURA wrote:
Commercial game? I take it that you are working in the video game industry then?

kinda, i`ve been doing some small freelance jobs over the last few years but this is the first decent commercial job i have been invloved with, i`m hoping it`ll get me in properly, it`s not the easiest place to get a job, there are a billion modelers out there and most of them are far better than me :oops: however this project will be running into a trilogy, so the future looks good for me in this area. i am also working on a commercial game for myself (slow going lol) i am modeling the assets whenever a spare moment comes up and once they are in place i can begin the tedious task of scripting. still i devote a few hours a week to my trek game :bigthumb:

_________________
ImageImage


17 Jan 2008, 23:49
Profile
Jig of the Puff
Jig of the Puff
User avatar

Joined: 10 Sep 2004, 01:00
Posts: 1305
Location: I wish i knew
man the tal`shiar are letting you down moe, i sent a demo to skeeter ages ago :waah:

_________________
ImageImage


17 Jan 2008, 23:50
Profile
Combat Engineer
Combat Engineer
User avatar

Joined: 18 Jul 2005, 01:00
Posts: 1001
jigalypuff wrote:
man the tal`shiar are letting you down moe, i sent a demo to skeeter ages ago :waah:


Carefull he'll post it on here ;)


.......p.s Post it MOE :P

Regards Wolfe

_________________
Image


17 Jan 2008, 23:54
Profile
Klingon Honor Guard
Klingon Honor Guard
User avatar

Joined: 22 Apr 2005, 01:00
Posts: 1527
Location: UK
Post it moe??? Dont you mean post it skeet lol.

Lol thats entirely up to jig if he wants to share it or not. But its rather nice what i played with.

_________________
Image
My youtube channel


18 Jan 2008, 00:12
Profile
Combat Engineer
Combat Engineer
User avatar

Joined: 18 Jul 2005, 01:00
Posts: 1001
I was preempting, or simply poking fun at moe :)

Regards Wolfe

_________________
Image


18 Jan 2008, 00:25
Profile
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
Actually I did know that you'd sent skeet *something* as he mentioned it on msn a few weeks ago. He never said what it was though. I've still got all the demos that you've ever sent me though. I've got four different versions of New Beginnings, four early versions of Supremacy, and Iwulff's Database as well. :P

God it's fun going through my BOTF2 files. So many memories...

_________________
"Anyone without a sense of humour is truly at the mercy of the rest of us."

Image
Image


18 Jan 2008, 00:30
Profile WWW
Jig of the Puff
Jig of the Puff
User avatar

Joined: 10 Sep 2004, 01:00
Posts: 1305
Location: I wish i knew
put it up for dl if you want skeet, be nice to get some feedback on it

_________________
ImageImage


18 Jan 2008, 00:51
Profile
Klingon Honor Guard
Klingon Honor Guard
User avatar

Joined: 22 Apr 2005, 01:00
Posts: 1527
Location: UK
The link will be up in New Beginings forum in a mo.

--

Ok up now, i hope its the right one as i had two testers, 1 was playing as enterprise blowing up klingons with 3d movement the other is where ur a cardy killing some feds which had some planets in.

_________________
Image
My youtube channel


18 Jan 2008, 01:04
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
wolfe, I'm still having problems with your latest demo (reproduced on two separate machines). Something in the Irrlicht library is constantly spitting out first-chance access violation exceptions whenever the game receives any input events, and double-clicking causes one of those exceptions to go uncaught and crash the game. I've also made it crash with a number parsing bug that I suspect is occurring because the game is attempting to parse some of the XML data before it's fully loaded (probably not reproducable unless you have a really fast machine). If you can zip up your solution folder and send it to me, I can hook it up to a debugger this weekend and take a look at it for you. You'll need to use 7z or RAR, as GMail won't let you send Zip attachments with any DLLs or EXEs included. mike d0tz0rs strobel atz0rs gmail d0tz0rs com (l0lz0rs, parse that, spammers).

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


18 Jan 2008, 02:55
Profile WWW
Lieutenant Junior Grade
Lieutenant Junior Grade
User avatar

Joined: 11 Nov 2007, 02:55
Posts: 264
Location: UK
Sorry I've been kinda quiet lately, especially about work on the turn based combat system, truth is I had a sudden urge to have a huge gaming session so I went and bought the Orange Box and I've been playing Half Life 2, Portal near non-stop. And the last few days I've been hooked on Team Fortress 2. I've burned out now after playing TF2 for about ~50 hours straight :mischief: I think I got whatever it was out of my system.

First I just need to say I don't agree that wolfe's demo is less "complete" than mine, mine does not even protray turn based combat between ships, it is more like a basic space shooter. So wolfe has actually made more progress than I have in making a complete combat system.

Anyway I'll be getting back to work on the turn based combat system, during my gaming break I came upon a cool idea that I think can be and should be adopted. It will be a change to how combat was done in the original BOTF, but it has a lot of positives that will make the combat more fun without over complicating it (and risk making battles too lengthy). The main selling point is that the player will have more chances to influence the course of battle. I'm still working out the kinks but I will reveal all once the idea is properly examined and confirmed as really workable. Don't worry, it'll still be turn based with pre-set commands given out to groups of ships, to keep it simple and brief.


18 Jan 2008, 05:35
Profile
Fleet Admiral
Fleet Admiral
User avatar

Joined: 13 Nov 2006, 01:00
Posts: 2111
Location: Germany
jig, victoria, poser? I'm not much familiar with the terms, but which pic do you mean? I'll remove it asap or contact the author about it if there's a way to still use them..


18 Jan 2008, 09:58
Profile WWW
Jig of the Puff
Jig of the Puff
User avatar

Joined: 10 Sep 2004, 01:00
Posts: 1305
Location: I wish i knew
pic 8 mate, victoria is a very very famous model :waah: you get it with poser but i just remembered, is is the 3d stuff you can`t use it any other program, renders and cutscenes are allowed, sorry :mischief:

_________________
ImageImage


18 Jan 2008, 11:42
Profile
Fleet Admiral
Fleet Admiral
User avatar

Joined: 13 Nov 2006, 01:00
Posts: 2111
Location: Germany
jig wrote:
victoria is a very very famous model
I can certainly see why that is.. :).

then she'll stay in. btw. congrats to your "promotion" in commercial ranks. What I've seen from the various artists while I searched their portfolio is that nearly everyone of them yearns for a regular job and no freelance thing, and only a few of them actually are in the luck of having one, so double :bigthumb: here ;).


18 Jan 2008, 14:12
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 403 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 14  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.