|
Self working Star Wars battle
#131160
05/22/07 16:46
05/22/07 16:46
|
Joined: Jul 2002
Posts: 2,002 Europe
ShoreVietam
OP
Expert
|
OP
Expert
Joined: Jul 2002
Posts: 2,002
Europe
|
Within the last 2 days I took some time to work with GS again (has been a long break). Well but I wanted to do something that is completed fast, so it's nothing about Dragonrise or the MP stuff. I made this Star Wars battle sceene that works totally automatical. The ships hunt and destroy each other, search for targets and sometimes try to evade them.  ok I admin I didn't put too much time into effects programming, however it is nice to watch the battle going on!  Here's a screen of the "game" (show fits better). To switch the ship you're watching just klick the left mouse button. StarWars.exe - Self extracting WinRAR archive (~3.9 MB) 
Last edited by ShoreVietam; 05/22/07 17:24.
|
|
|
Re: Self working Star Wars battle
[Re: jigalypuff]
#131162
05/22/07 17:56
05/22/07 17:56
|
Joined: Nov 2002
Posts: 913 Berlin, Germany
SchokoKeks
User
|
User
Joined: Nov 2002
Posts: 913
Berlin, Germany
|
I really liked it  but why are those x-wings shooting at each other sometimes ^^ they should be killing those imperial bastards!! great AI programming! may I use the models for my own project? I know they are intellectual property of george lucas, but couldn't i use it just for fun?
|
|
|
Re: Self working Star Wars battle
[Re: ulf]
#131164
05/22/07 18:13
05/22/07 18:13
|
Joined: Nov 2005
Posts: 1,007
jigalypuff
Serious User
|
Serious User
Joined: Nov 2005
Posts: 1,007
|
i am looking at the laser beam code you have, iv`e been after such an effect for a while, can you tell me what YOUR._Groesse == 1 means? is it for a bounding box or something?
Why does everyone like dolphins?
Never trust a species which smiles all the time!
|
|
|
Re: Self working Star Wars battle
[Re: jigalypuff]
#131165
05/22/07 18:26
05/22/07 18:26
|
Joined: Jul 2002
Posts: 2,002 Europe
ShoreVietam
OP
Expert
|
OP
Expert
Joined: Jul 2002
Posts: 2,002
Europe
|
Thanks guys! @jigalypuff "Groesse" means "size", the Ties and X-Wings have "size" 1 and the mother-ships have "size" 2. "Size" 1 ships get shot more accurate than "size" 2 ships (that's why the random range is different). @SchokoKeks The X-Wings are not really shooting each other, they just don't recognize if a friend is between them and their enemy...  The ship models are from "Yeda Kight II" and from somewhere else, thus they're not mine at all.  @ulf Sometimes the ships just don't recognize each other, but there's a "physical" problem if a TieFighter and a X-Wing are flying and firing at each other: The Ties Lasers pass the X-Wing through the open Wings and the X-Wings lasers pass the Ties all around, thus they can't hit each other and finally don't have enough space left to evade if they're too close. In normal combat the evasion range is enough, but not if the targets are moving towards each other. 
|
|
|
Re: Self working Star Wars battle
[Re: ShoreVietam]
#131166
05/22/07 19:14
05/22/07 19:14
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
Expert
|
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
Indeed amazing work ShoreVietam, in just to days really nice work  I think some people can't even finish the models in two days ^^ But on the otherhand, you're a skilled 3dsg user, looking at the game it's quite obvious and even when the effets aren't that nice looking at a relative way it still looks great  Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
Re: Self working Star Wars battle
[Re: ShoreVietam]
#131167
05/22/07 19:14
05/22/07 19:14
|
Joined: Aug 2006
Posts: 652 Netherlands
bstudio
User
|
User
Joined: Aug 2006
Posts: 652
Netherlands
|
Hmmmm for some reason the star destroyers look really dark on my laptop. Cool demo btw
BASIC programmers never die, they GOSUB and don't RETURN.
|
|
|
Re: Self working Star Wars battle
[Re: Nems]
#131169
05/22/07 20:06
05/22/07 20:06
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
Expert
|
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
Man... exactly what I'm working on ... (AI for my game) You're good. You're really good. Very nice work!!
How do you choose which ship to target next? Just distance... or angles as well? (looks like the latter)
I could look at the code, I guess, but then i run the risk of taking some of your ideas on accident... and I don't really want to^^
Last edited by Germanunkol; 05/22/07 20:07.
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
|