| Author |
Message |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
|
| 10 May 2007, 01:44 |
|
 |
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
| 10 May 2007, 01:51 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
|
| 10 May 2007, 03:50 |
|
 |
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
| 10 May 2007, 04:58 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
|
| 10 May 2007, 06:32 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
ok ... what on earth is NCName referencing ... i cant figure this out....
Also ... even with maxOccurs="unbounded" it wont let me have multiple items being validated in the same sequence ... is there a trick to do this?
|
| 10 May 2007, 09:34 |
|
 |
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
An NCName is a non-colonized name. It's basically a string with no spaces or colons. It's a good type to use for a key. It will probably only validate up until it reaches the first invalid item in the sequence and then stop.
CodeProject is also a great C# resource.
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
| 10 May 2007, 14:23 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
|
| 10 May 2007, 21:51 |
|
 |
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
| 11 May 2007, 00:51 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
|
| 11 May 2007, 09:33 |
|
 |
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
| 11 May 2007, 15:28 |
|
 |
|
Matress_of_evil
Evil Romulan Overlord of Evil - Now 100% Faster!
Joined: 02 Dec 2004, 01:00 Posts: 7392 Location: Returned to the previous place.
|
|
| 11 May 2007, 20:23 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
|
| 11 May 2007, 23:30 |
|
 |
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
| 12 May 2007, 00:02 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
|
| 12 May 2007, 00:47 |
|
 |
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
| 12 May 2007, 01:17 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
|
| 12 May 2007, 01:29 |
|
 |
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
| 12 May 2007, 01:34 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
|
| 12 May 2007, 02:04 |
|
 |
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
| 12 May 2007, 06:13 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
|
| 12 May 2007, 08:02 |
|
 |
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
Unfortunately, I don't think keys can be referenced across documents, but I'd love to be proven wrong on this, so please post the solution if you figure it out  .
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
| 12 May 2007, 18:13 |
|
 |
|
cdrwolfe
Combat Engineer
Joined: 18 Jul 2005, 01:00 Posts: 1001
|
On a similar note,. I've dabbled at some C# this weekend, and besides trudging through and slowly converting some of my C++ work into C#, i've been thinking i might give the apps a go, maybe get a simple program to display X,Y coordinates on a grid when prompted with input data etc.
Do either of you know of some good tutorial sites for the apps part of C#?
Regards Wolfe
|
| 12 May 2007, 20:41 |
|
 |
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
, ... I don't really feel the need to go anywhere else. Also, I can recommend --it's an excellent guide to both the C# language and overall .NET development.
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
| 12 May 2007, 21:28 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
hmm ... i will have to check it out ... I have a copy of .net game programming in c# by Alexandre Lobao and its a pretty good guide where DX is concerned, and general game development, but its bad in regards to learning C#(to be expected) and of course I have the C# Primer from O'Riely ... great book, taught me a lot about C# and programming in general.
One thing that came to mind while putting together a rough draft of turn calculations(eg when the turn button is pressed) and something i never really thought about when playing BOTF or numerous other games ... how do you decide who gets to colonize a system when there is more than one colony ship attempting to colonize said system?
I thought of a number of different solutions, im just not sure whats best. First would be who got to the system first(kinda stupid IMO)
who has the highest tech level(overall weighting kinda thing)
or a surface struggle between colonies(I kinda like this idea, the two fledging colonies battle it out for the resources, strongest prevails.)
|
| 13 May 2007, 02:22 |
|
 |
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
If the colony ships have armaments, it would be a non-issue, because they would fight, and the survivor would get to colonize the system. Otherwise, I would just do first-come, first-served.
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
| 13 May 2007, 05:22 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
well i kinda like the armaments idea ... protect your colony ships or arm them, just in case muhaha
|
| 13 May 2007, 11:49 |
|
 |
|
Matress_of_evil
Evil Romulan Overlord of Evil - Now 100% Faster!
Joined: 02 Dec 2004, 01:00 Posts: 7392 Location: Returned to the previous place.
|
In BOTF2, the early Colony ships won't be armed - but the later ships - such as the Federation Quebec Class Colony Ship III - will be lightly armed. Obviously there are exceptions to this rule such as the Klingon non-combats and some of the minor race ships as well.
This is a point that will need to be considered in BOTF2 though. How will "combat" be handled if neither ship is armed and neither ship is escorted? Will the ships have to flee, ram each other into oblivion, or will they simply stare at each other until their fuel runs out? 
|
| 13 May 2007, 12:51 |
|
 |
|
cdrwolfe
Combat Engineer
Joined: 18 Jul 2005, 01:00 Posts: 1001
|
MOO2 had the simple, two colony ships meant no colonization, so one of you had to quickly get a ship there to scare the other off.
|
| 13 May 2007, 13:24 |
|
 |
|
ventrion
Cadet
Joined: 29 Apr 2007, 01:00 Posts: 56
|
|
| 15 May 2007, 00:14 |
|
 |
|