.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #11  
Old March 19th, 2001, 05:32 AM
ColdSteel's Avatar

ColdSteel ColdSteel is offline
Sergeant
 
Join Date: Dec 2000
Posts: 248
Thanks: 0
Thanked 0 Times in 0 Posts
ColdSteel is on a distinguished road
Default Re: New weapons help document & HTML template

raynor, after I posted the two Messages below here, I realized that the original weapon template was missing a very important piece of information. That information being the Weapon Reload Rate. I also found two small HTML errors in the original template toward the end where the range and damage tables are displayed (in the very Last two tables). This is a copy and paste error. The error sections look like this:

</TABLE>
</TABLE><TABLE BORDER=1 CELLPADDING=5 CELLSPACING=1 BORDERCOLOR="#545A8C">

There is a repeated "</TABLE>" entry on the second line that doesn't belong. The lines should look like this instead:

</TABLE>
TABLE BORDER=1 CELLPADDING=5 CELLSPACING=1 BORDERCOLOR="#545A8C">

Posted here is an updated Version of the template that adds the Weapon Reload Rate entry and corrects these two errors.

The Main Index Page HTML template is available in my previous post this evening.

Thanks and mucho sorry for the changes.
__________________
The difference between genius and stupidity is that genius has its limits.
Reply With Quote
  #12  
Old March 19th, 2001, 06:00 AM
Will's Avatar

Will Will is offline
Lieutenant Colonel
 
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
Will is on a distinguished road
Default Re: New weapons help document & HTML template

Not a problem on the Manual, raynor... I ran into some trouble myself, this lab report took longer than I thought, I only have a little done on it myself

We can just incorperate these programs into it
__________________
GEEK CODE V.3.12: GCS/E d-- s: a-- C++ US+ P+ L++ E--- W+++ N+ !o? K- w-- !O M++ V? PS+ PE Y+ PGP t- 5++ X R !tv-- b+++ DI++ D+ G+ e+++ h !r*-- y?
SE4 CODE: A-- Se+++* GdY $?/++ Fr! C++* Css Sf Ai Au- M+ MpN S Ss- RV Pw- Fq-- Nd Rp+ G- Mm++ Bb@ Tcp- L+
Reply With Quote
  #13  
Old March 19th, 2001, 07:54 AM
raynor's Avatar

raynor raynor is offline
Captain
 
Join Date: Jan 2001
Location: Texas
Posts: 830
Thanks: 0
Thanked 0 Times in 0 Posts
raynor is on a distinguished road
Default Re: New weapons help document & HTML template

Over in the Mod Forum, I posted a new Version that also generates an 'index.html' file. I fixed the Weapon Family problem, added the Weapon Reload Rate and, I think, got the HTML right. I went ahead and alphabetized them. Let me know if you think it would be better to put them in Weapon Family order.

I think adding the Version number is a good idea but I didn't have time for it tonite. Do you think it would also be a good idea to let folks type in their own comment that will appear in the index page if not at the bottom of every page? That way they could include a comment like: Dave's Mod.

It's a good idea to put the HTML files in a different directory from the HTML files. That should make it much easier to find the index file. It is something to think about for a later Version.

It's pretty cool when we can both have fun working on a project like this that might be useful to others. If we get some more positive feedback, I think it would be fun to expand this program to include all the components.

Oh! BTW, do you know any way to alter the HTML for the table so that the single, double and triple digit damage types all line up? I think probably it is just a matter of specifying absolute pixel widths for each table cell? Thanks!

[This message has been edited by raynor (edited 19 March 2001).]
Reply With Quote
  #14  
Old March 19th, 2001, 04:28 PM
ColdSteel's Avatar

ColdSteel ColdSteel is offline
Sergeant
 
Join Date: Dec 2000
Posts: 248
Thanks: 0
Thanked 0 Times in 0 Posts
ColdSteel is on a distinguished road
Default Re: New weapons help document & HTML template

raynor, thanks for the fixes, tweaks, enhancements. I agree that it's totally cool that we can do this together and hopefully we can expand on it.

I do think it's a good idea to allow a comment to identify a specific mod otherwise people might get confused as to what they're really looking it. Might be good to have a default comment of "Standard SE4 data files" or something like that in there that they could change with the comment.

Yes, I noticed the cell alignment problem too and it's bugging me. I'll work on finding a solution for that.

There's a lot of other parts of the SE4 game that could also be documented this same way. One quick example would be races. You could have a HTML document generated for each race that shows their race picture, all their ships and units and all their major AI setting in an organized fashion. Would be really cool, I think. Especially for the user created races and shipsets.
This stuff is fun!

Thanks again.
__________________
The difference between genius and stupidity is that genius has its limits.
Reply With Quote
  #15  
Old March 19th, 2001, 06:58 PM

Jourin Jourin is offline
Corporal
 
Join Date: Dec 2000
Location: Sherman, TX, USA
Posts: 122
Thanks: 0
Thanked 0 Times in 0 Posts
Jourin is on a distinguished road
Default Re: New weapons help document & HTML template

I am getting an access violation when I try to use it. I am using one of the modes that has the Sprint Ship Missile and the Heavy Bombardment Missile. It works for the sprint missile but fails at Heavy Bombardment Missile or immediately prior to Meson. Attached is screen shot of error.

I think this is really great!
Reply With Quote
  #16  
Old March 19th, 2001, 07:18 PM
raynor's Avatar

raynor raynor is offline
Captain
 
Join Date: Jan 2001
Location: Texas
Posts: 830
Thanks: 0
Thanked 0 Times in 0 Posts
raynor is on a distinguished road
Default Re: New weapons help document & HTML template

Thanks for trying it out on your mod'd components.txt, Jourin!

Could you please email me your components.txt file so I can run the program on it and see what happens? (I included my email address in the readme file with the program.) Thanks.
Reply With Quote
  #17  
Old March 19th, 2001, 07:22 PM

Bluecher Bluecher is offline
Private
 
Join Date: Dec 2000
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Bluecher is on a distinguished road
Default Re: New weapons help document & HTML template

Hi raynor and coldsteel,

this is really good work. And an Index is a good idea.

Very nice ...
Reply With Quote
  #18  
Old March 19th, 2001, 07:45 PM
ColdSteel's Avatar

ColdSteel ColdSteel is offline
Sergeant
 
Join Date: Dec 2000
Posts: 248
Thanks: 0
Thanked 0 Times in 0 Posts
ColdSteel is on a distinguished road
Default Re: New weapons help document & HTML template

raynor, I just sent you some email with the fix to the "Range and Damage" inconsistent cell size problem. Other info and comments in there as well. Let me know if I can do anything else to help.
__________________
The difference between genius and stupidity is that genius has its limits.
Reply With Quote
  #19  
Old March 19th, 2001, 07:55 PM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Default Re: New weapons help document & HTML template

Hello ColdSteel !

Just tried out CompHTML and had some minor quibbles about it
- there are some errors and "not-so-nices" in the HMTL code (I promised to look through it and send raynor some "sample pages" this weekend)
- and I would suggest moving all format/layout info into a seperate .css file, so it would be easier (or possible at all) to adjust colours and font size for personal preference.

What do you think about that ?!

Arralen
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
Reply With Quote
  #20  
Old March 19th, 2001, 08:29 PM
ColdSteel's Avatar

ColdSteel ColdSteel is offline
Sergeant
 
Join Date: Dec 2000
Posts: 248
Thanks: 0
Thanked 0 Times in 0 Posts
ColdSteel is on a distinguished road
Default Re: New weapons help document & HTML template

Hi Arralen,

I too found some errors Last night in the first template and sent the corrections to raynor. My HTML editor error checker now say everything is fine.

I'm not sure how to move the formatting out into another file as you suggest. This is my "learn HTML" project and I've never played with it before so I'll freely admit that I'm a rank beginner when it comes to this stuff.

Here is the latest updated SE4Weapons HTML template that I just sent to raynor. It fixes a problem with cell sizes for the Range and Damage Tables. The latest SE4index HTML template is available in an earlier message under this topic. If you want to play with them and make suggestions or improvements, please feel free to do so. Bear in mind that raynor has to replicate everything in the templates in his code within the program so some reformatting when he does that is probably inevitable.

Thanks for the input.
__________________
The difference between genius and stupidity is that genius has its limits.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:54 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.