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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #301  
Old June 9th, 2005, 02:28 PM
Ragnarok-X's Avatar

Ragnarok-X Ragnarok-X is offline
Major General
 
Join Date: Jan 2004
Location: Germany / Bielefeld
Posts: 2,035
Thanks: 33
Thanked 18 Times in 12 Posts
Ragnarok-X is an unknown quantity at this point
Default Re: Devnull Mod Gold: updates and discussion

I think it is. If para only changed existing components, and didnt messed up the order of them within the game files, it will work. If he added new components and added them at the bottom, it will work as well. If he pasted them in between, it wont. Somehow SE4 is made up really weird, it remember the number of components instead of the name, for example if you had a ship with 5 lvl 5 anti-proton beams and those were component numbers 150, then SE4 will always call for number 150 component. Now if a new component was entered before the antiproton beam, its number will have changed to 151..
Reply With Quote
  #302  
Old June 9th, 2005, 03:00 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Devnull Mod Gold: updates and discussion

It does allow multiple components to exist with the same name though, such as different versions of a component based on the racial traits you possess. The game could store some sort of checksum of the data fields for each component and throw everything into a hash table, alleviating the need to store an array-type index. Unfortunately, this scheme would be broken by modifying the values of any item.

Anything other than an array-type (or hash table) data structure would probably lead to horribly slow access times. Imagine having to potentially scan through the entire list to load the pictures for each component shown in the ship design window. Or worse, the component display sections when viewing a ship design's details. You could reduce this by checking each item you need displayed for every item accessed in the list, but it still won't be pretty.

There could be a balance tree storing the components by names, allowing multiple items to exist with the same name. This would allow for far more rapid access times (on the order of the length of the longest component name), but it would be tricky to properly handle multiple components with the same name. How do you differentiate between them while still allowing the data fields (and the name itself) to be changed and maintain savegame compatibility? You could disallow name changes, which is probably ok. But if you allow other fields to be changed, you can't very well use them to differentiate between different components with the same name. Since the tree would have to be rebuilt after reloading the game, we are back to a scheme of ordering components with identical names by position in the file. They at least would have to be kept in the same order, with any new copies added after their position in the file.

You could have some fancy "array" that is indexed by component name, but you run into the same problem for components of the same name.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #303  
Old June 9th, 2005, 04:08 PM
Ragnarok-X's Avatar

Ragnarok-X Ragnarok-X is offline
Major General
 
Join Date: Jan 2004
Location: Germany / Bielefeld
Posts: 2,035
Thanks: 33
Thanked 18 Times in 12 Posts
Ragnarok-X is an unknown quantity at this point
Default Re: Devnull Mod Gold: updates and discussion

yeah, still i think the "apply number to component" idea is pretty much the worst, isnt it ?
Reply With Quote
  #304  
Old June 9th, 2005, 05:14 PM

parabolize parabolize is offline
Second Lieutenant
 
Join Date: Aug 2003
Posts: 412
Thanks: 0
Thanked 0 Times in 0 Posts
parabolize is on a distinguished road
Default Re: Devnull Mod Gold: updates and discussion

1.71 is now listed. Thank you PBW admin!
1.70 should upgrade to 1.71 though I have not tried it.
__________________
King of the Hill League
Reply With Quote
  #305  
Old June 13th, 2005, 04:11 AM

PTF PTF is offline
BANNED USER
 
Join Date: Feb 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
PTF is on a distinguished road
Default Re: Devnull Mod Gold: updates and discussion

Quote:
parabolize said:
1.71 is now listed. Thank you PBW admin!
1.70 should upgrade to 1.71 though I have not tried it.
Could anybody point me on that? Where is 1.71 listed?
Reply With Quote
  #306  
Old June 13th, 2005, 04:29 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Devnull Mod Gold: updates and discussion

It is a mod option when creating a new game.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #307  
Old June 13th, 2005, 04:41 AM

PTF PTF is offline
BANNED USER
 
Join Date: Feb 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
PTF is on a distinguished road
Default Re: Devnull Mod Gold: updates and discussion

I see, it is a PBW thing only.
Reply With Quote
  #308  
Old June 13th, 2005, 05:32 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Devnull Mod Gold: updates and discussion

I'm not sure what you mean. You can download it from PBW or from SEnet.

Quote:
parabolize said:
If there is to be a chance to get 1.71 on the SE4 deluxe CD I need to send it now. I tested everything and uploaded to pbw and se.net. I might make a 1.72 but I would like to see the Devnull Mod in good condition on the CD.

Download
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #309  
Old June 13th, 2005, 04:05 PM

PTF PTF is offline
BANNED USER
 
Join Date: Feb 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
PTF is on a distinguished road
Default Re: Devnull Mod Gold: updates and discussion

Thanks. I was just not aware of these download sources. I am still looking at malfador's mod page and there is still 1.70 listed.
Reply With Quote
  #310  
Old June 13th, 2005, 05:29 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Devnull Mod Gold: updates and discussion

That page is out of date.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
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 08:31 AM.


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