| Star Trek Fan Games http://bote2.square7.ch/forum/ |
|
| @Mike/Matress/Zeleni - Key names for minor ships http://bote2.square7.ch/forum/viewtopic.php?f=13&t=2155 |
Page 1 of 3 |
| Author: | Strings [ 16 Dec 2007, 17:59 ] |
| Post subject: | @Mike/Matress/Zeleni - Key names for minor ships |
Right, in the Supremacy XML data files, I notice that every object in the game is given a key name, ie. a distinct and easy to understand name to refer to and gain access in programs. The major race ships already have a naming convention like: ROM_WARBIRD_II FED_EXPLORER_III I'm going to make sure I follow this in my data structures. But what about for the minor races and their ships? Is there a XML file done already? f there's already exists a minor_race_ships.xml with all the info filled out. That would be awesome. If there isn't, how about this: Okay I'm referring to a copy of the Minor Powers Ship Database.xls by Zeleni and Matress (oh, if there's an updated version please send me) and we key name them like this... Acamarian Raider 1 ACAMARIAN_RAIDER_I Acamarian Raider 2 ACAMARIAN_RAIDER_II Andorian Warcruiser 1 ANDORIAN_WARCRUISER_I Andorian Warcruiser 2 ANDORIAN_WARCRUISER_II ... etc ... As for names with apostrophes, just take out the apostrophe. B'omar Fighter BOMAR_FIGHTER T'Lani Heavy Cruiser 1 TLANI_HEAVY_CRUISER_I ... etc ... simply replacing space with underscore? Too long? I dont like shortening the race name, since ACA_ or AND_ is not informative enough, I also thought about shortening the reoccuring descriptive words like Heavy, Light to H, and L respectively - so they appear as H_CRUISER / L_CRUISER. But I decided against it since the majors' key names do not do this. |
|
| Author: | mstrobel [ 16 Dec 2007, 18:53 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
You seem to have it nailed. I usually spell out the minor race names because there's so many of them. The minor race and empire stuff all go in the same XML files. EDIT: And yes, all spans of whitespace get converted to a single underscore, and all characters except letters, numbers, and underscores ([_a-zA-Z0-9]) get dropped. By convention, all my keys are uppercase. |
|
| Author: | Zeleni [ 16 Dec 2007, 18:54 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
Sounds fine to me Minor database is updated but only with ship descriptions, but i think of adding 2 new tech levels (upgrades) to each ship for example bomar_fighter_I (tech 3) upgades to bomar_fighter_II (tech 7) when minor race reachs new tech level, in this case tech 7 and finally bomar_fighter_III (tech 10). Number of ships in the game will be always the same with one differnce, minor ships will upgrade automatically for keeping game balance and reality even in late stages of the game. This is another thing which waits Mike's approval. |
|
| Author: | cdrwolfe [ 16 Dec 2007, 19:52 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
I'd agree with the simple affixation of race + shiptype/Class, i.e cruiser, heavy cruiser, dreadnought etc. Fits with the general theme. Regards Wolfe |
|
| Author: | Strings [ 16 Dec 2007, 20:43 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
| Author: | cdrwolfe [ 16 Dec 2007, 21:25 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
Another joyful task someone may eventually have to do is assign both hitpoints and 'cannon' positions for each ship Oh what fun that tedious job may be, i nominate MOE Regards Wolfe |
|
| Author: | Matress_of_evil [ 16 Dec 2007, 21:55 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
| Author: | mstrobel [ 16 Dec 2007, 22:07 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
Just define the ship upgrades the way you normally would, and I'll implement the auto-upgrade logic myself. It's a simple matter of checking each minor race ship for possible upgrades on each turn and then upgrading them on the spot. |
|
| Author: | Matress_of_evil [ 16 Dec 2007, 23:11 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
Ok then Mike, will do. What about the weapon types? Would it be possible to increase the number of types? Currently there are only two types of energy weapon and 2 types of secondary weapon. Maybe i'm being overly pedantic, but some of the weapons that the minor races have don't perfectly match these types. If we could come up with some extra weapon types, I could fit them in better, and it would mean we could put more eye candy effects in the game too. It would also be nice if I could perhaps specify the weapon colour or something. If the weapons were objects then you would just need to add different colour textures and it would be a whole new weapon! For example, we could have: Energy Weapons Beam (Already implemented, constant stream of energy) Pulse (Already implemented, small, fast, multiple hits of energy) Bolt (As in Disruptors, a large, single, moderately fast hit of energy) Wave (Limited range, but an expanding wave of energy that may hit multiple ships or shields depending on how shields work. Like the from Starfleet Command 2) Matter Stream (Weapons that send streams of destructive particles at an enemy. The particles disperse over distances and so lose their effectiveness as the range increases. Like the from Starfleet Command 2. Early Vulcan and Andorians ships used these) Secondary Weapons Torpedo (Already implemented) Missile (Already implemented) Explosive Charge/Mine Could it be done? Obviously the above list is just possibilities, and people may decide to change/remove/add to it in future. |
|
| Author: | mstrobel [ 16 Dec 2007, 23:16 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
The weapon categories in the editor are only needed for the automated combat system, which only distinguishes between directed (beam) and undirected (projectile) type weapons. Any other details are only needed for the tactical combat system, so those will be Strings' responsibility |
|
| Author: | Kenneth_of_Borg [ 17 Dec 2007, 00:06 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
Should I convert the model file names to this format? Will an extension exclude conflict with other data files for the ships as outlined above? - Or just name the folder for the model in that way? |
|
| Author: | cdrwolfe [ 17 Dec 2007, 00:07 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
Anything is possible MOE, Some require probably texture changes and how often they get fired each weapon 'cycle', mines i don't think would be to hard either. Regards Wolfe |
|
| Author: | Matress_of_evil [ 17 Dec 2007, 00:23 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
I'm just trying to think of possibilities before anything is programmed - it's better to think of them now before some element of the programming accidentally prevents an idea from being implemented. |
|
| Author: | Strings [ 17 Dec 2007, 00:33 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
| Author: | cdrwolfe [ 17 Dec 2007, 01:05 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
You couldn't add a feature of triangle picking, on models which can return the position relative to the center of the model (0.0f, 0.0f, 0.0f). Regards Wolfe |
|
| Author: | Zeleni [ 17 Dec 2007, 01:07 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
This project is really going forward EDIT: What about combat math, are you going to use dafedz model of damage calculation for combat result? |
|
| Author: | Strings [ 17 Dec 2007, 01:08 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
| Author: | Matress_of_evil [ 17 Dec 2007, 01:23 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
Now lets make it more complicated! Matress wants to see planets and asteroids and comets and blackholes...um...well...we wouldn't actually see a blackhole, but you know what I mean...and dust clouds and asteroid belts and planetary rings and nebulae and it all has to be working with Newtonian physics and perfect representations of a planetary system... |
|
| Author: | Strings [ 17 Dec 2007, 01:57 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
Lol, one thing at a time, and all in good time |
|
| Author: | mstrobel [ 17 Dec 2007, 02:20 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
Wow, I can't tell you how glad I am to have you onboard, Strings |
|
| Author: | Kirktitude [ 17 Dec 2007, 04:58 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
| Author: | Strings [ 19 Dec 2007, 22:37 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
The Borg are not in the minor race ships list, are they in .. maybe random events? anyway, I'm applying the same naming system to them. so .. BORG_CUBE BORG_SPHERE etc Early screenshot of the editor: Yep that's a slowly rotating UFP emblem Update on progress: - Fixed an issue with the viewport crashing program when running on nVidia cards and/or under XP. - A missing info.xml no longer causes crash, but gracefully informs user of missing file. - Implemented the rotate by 90 degrees with buttons, via input box still needs work, so does saving changes to the .xml file. |
|
| Author: | Zeleni [ 19 Dec 2007, 23:40 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
It's nice to hear about "viewer" progress! Keep up good work Strings Ohhh Borg, i will add borg to shiplist as sphere and cube |
|
| Author: | mstrobel [ 20 Dec 2007, 00:05 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
...however, if you separate the model editor out from the rest of the form (as a user control, for example), and just set the unique key as a property, it could be embedded in the main Supremacy editor for individual ships |
|
| Author: | Strings [ 20 Dec 2007, 00:19 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
Yeah I've toyed with the idea too in my head |
|
| Author: | Matress_of_evil [ 20 Dec 2007, 00:48 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
The Borg are aready in on my shiplist, Zeleni, and i've got more designs in there than just the Cube and Sphere......although I haven't exactly updated the shiplist in months... ... Good work, Strings! Animated insignia, eh? Ooh that gives me an idea, Mike! Why don't you implement... *Idea hidden to maintain Mike's sanity* |
|
| Author: | Zeleni [ 20 Dec 2007, 00:53 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
More designs? it's ok by me. Yes indeed, Mike and Strings are doing great stuff. |
|
| Author: | Matress_of_evil [ 20 Dec 2007, 00:55 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
| Author: | Kenneth_of_Borg [ 20 Dec 2007, 01:58 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
These are the models we have so far |
|
| Author: | cdrwolfe [ 20 Dec 2007, 02:00 ] |
| Post subject: | Re: @Mike/Matress/Zeleni - Key names for minor ships |
Nice ships, though bottom one is a bit green Regards Wolfe |
|
| Page 1 of 3 | All times are UTC [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|