|
From: Cpt. B. <cpt...@te...> - 2004-02-23 14:27:06
|
I think this would be the best way to go...it clearly defines where the item
can be used, and is easily scalable if we need to add a new atmosphere.
Regarding Breunor's suggestion (1=air, 2=water, 3=vacuum, 4=air+water,
5=air+vacuum, 6=water+vacuum, 7=all), I don't think it's worth it on the
data end of things. On the code end I'd reccomend making the atmosphere
types an enum with bitwise values (ie: terrestrial=1, vacuum=2,
underwater=4, mars=8) so that the class itself could get away with only a
single 'Environment' property. The data loader simply adds up the contents
of the <environments> tag when it build the object.
-----Original Message-----
From: xen...@li...
[mailto:xen...@li...]On Behalf Of
Federico Andres Lois
Sent: Sunday, February 22, 2004 12:34 PM
To: xen...@li...
Subject: RE: [Xenocide-programming] XML facility-item data
I was going to say that by default the
<environments>
<atmosphere type="terrestrial" />
</<environments>
Should be allow terrestrial and vaccum (like laser, plasma, etc)... for only
terrestrial like pistols (I dont think you should be able to use them in
Mars) you put the enviroments tag...
For compound ones like those that can work in terrestrial, vaccum and
maritime (underwater) I propose something like this:
<environments>
<atmosphere type="terrestrial" />
<atmosphere type="vaccum" />
<atmosphere type="underwater" />
</<environments>
And if we need later, we can add modifiers to each one of them.
Greetings
Red Knight
-------Original Message-------
From: Mamutas Plaukotas
Date: 22/02/2004 15:42:36
To: 'breunor'; xen...@li...
Subject: RE: [Xenocide-programming] XML facility-item data
I agree with Breunor. It is a reasonable suggestion.
In my previous post I just wanted to point out, that there should be no
difference in terms of using weapon on Mars or Earth. Or am I missing
something?
As for all possible comibinations of atmosphere types, we can either go as
Breunor suggested or just have something like that (where atmosphere type
name is optional, but at least one must present):
<atmosphere type>
<vacuum/>
<air/>
</atmosphere type>
Here we can even specify how each atmosphere will effect the weapon, but it
is definitely V1+:
<atmosphere type>
<vacuum range="1000" accuracy="1"/>
<air range="500" accuracy=".5"/>
</atmosphere type>
Regards,
Mamutas
-----Original Message-----
From: xen...@li...
[mailto:xen...@li...] On Behalf Of
breunor
Sent: Saturday, February 21, 2004 11:50 AM
To: xen...@li...
Subject: [Xenocide-programming] XML facility-item data
Regarding the atmosphere type of air/water/vacuum, shouldn't that be put
on most items? If we expand the game later to include the TFTD missions, I
doubt we'd want the player using a pistol or incidiary rounds underwater
for example. But a harpoon gun could be used out of water IMO, so it
wouldn't be a "one or the other" type. Maybe you have 7 types: 1=air,
2=water, 3=vacuum, 4=air+water, 5=air+vacuum, 6=water+vacuum, 7=all. Then
when the player gets to the site, the arming screen would only let you
equip a soldier with items whose type matches the atmosphere. This point
also brings up one of the laboratory ideas of having "weapon load
templates", the member brought it up as using for a sniper vs. heavy
assault type of load, but here you could create an "aqua" load, and have
it switch weapons for you. It would be a hassle to have 24 soldiers loaded
for water and switch to a land loadout, only to switch back for the next
mission. But that is v1+ ideas, the point being that if you include this
atmosphere type of every item, then that functionality would be possible
later on.
Breunor
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Xenocide-programming mailing list
Xen...@li...
https://lists.sourceforge.net/lists/listinfo/xenocide-programming
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Xenocide-programming mailing list
Xen...@li...
https://lists.sourceforge.net/lists/listinfo/xenocide-programming
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Xenocide-programming mailing list
Xen...@li...
https://lists.sourceforge.net/lists/listinfo/xenocide-programming
|