.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
  #1  
Old September 2nd, 2006, 12:54 PM
PraetorSpectre's Avatar

PraetorSpectre PraetorSpectre is offline
Private
 
Join Date: Aug 2002
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
PraetorSpectre is on a distinguished road
Default Can data files be changed between turns?

We are playing our own test game experimenting with engine tweaks. Of course, there are errors, like "Combat Movement" trying to be used ala "Standard Movement".
- I know the problems (especially one above)
- I got my fixes figured
- I know data files are "checked" (SEIV Mod 101)

Q. How implement changes to data files in current game?
- Any way to change the component.txt (or any data file), HOST the turn, then send updated data files to players? Or something similar??


Thank you!
Reply With Quote
  #2  
Old September 2nd, 2006, 01:04 PM

Renegade 13 Renegade 13 is offline
General
 
Join Date: Sep 2003
Posts: 3,205
Thanks: 0
Thanked 0 Times in 0 Posts
Renegade 13 is on a distinguished road
Default Re: Can data files be changed between turns?

As far as I know, data files are read when the game is first created, and then not read again during the game.

However, I might be wrong about this, you'll want someone else who knows more to confirm it.
__________________
Courage doesn't always roar. Sometimes courage is that little voice at the end of the day that says "I'll try again tomorrow".

Maturity is knowing you were an idiot in the past. Wisdom is knowing that you'll be an idiot in the future.

Download the Nosral Confederacy (a shipset based upon the Phong) and the Tyrellian Imperium, an organic looking shipset I created! (The Nosral are the better of the two [img]/threads/images/Graemlins/Grin.gif[/img] )
Reply With Quote
  #3  
Old September 2nd, 2006, 01:41 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Can data files be changed between turns?

You've got it.

1) Players play their turns using the old version of the mod.
2) Then you host using the new version.
3) Then the players play using the new version.

The one thing you must not do is reorder items, insert or delete them. You can edit parts of an item, but wholesale item move/add/delete will break savegames.

Items can be added to the end of the file without breaking the savegame, but it may look sub-optimal in game, and they may not hide obsolete items properly.
Reply With Quote
  #4  
Old September 2nd, 2006, 01:44 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: Can data files be changed between turns?

For referenge, in a single player game (that is using sequential movement), all you have to do is close SE4, then reopen it and reload your savegame and it will be updated.
__________________
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
  #5  
Old September 2nd, 2006, 05:09 PM
Urendi Maleldil's Avatar

Urendi Maleldil Urendi Maleldil is offline
Major
 
Join Date: Oct 2000
Location: New York, NY
Posts: 1,066
Thanks: 1
Thanked 1 Time in 1 Post
Urendi Maleldil is on a distinguished road
Default Re: Can data files be changed between turns?

The files in the Data folder are loaded when SE4 is launched. If you make changes to the data files during a game, you have to quit and re-start SE4 before you can see your changes.

The AI files are loaded when a turn is executed. You can make changes to the AI while the game is in-progress and the game will follow any changes you make when you hit the "End Turn" button.
__________________
Ken vs. The City

-Km :�
Reply With Quote
  #6  
Old September 3rd, 2006, 12:06 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Can data files be changed between turns?

That makes for an interesting chaotic brainfart.
So I could write a little basic program that randomizes the settings of some races. Just enough to provide fluctuation in their mood and responses.

Wait, better than that, who wants to create a race of insane beings? Every 10 turns they have a coup and completely redefine their empires policys.

Ohh ohh better yet a race of insane shape-changers. Not only do they redefine their policies but also randomly select their appearance and ship designs (Im guessing that already built ships would stay that way)

OK.. ok.. Im better now. I will go take more medicine.
The doctor says these episodes are getting much rarer.

Gandalf Parker
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #7  
Old September 3rd, 2006, 12:32 PM

scJazz scJazz is offline
Sergeant
 
Join Date: Jun 2005
Posts: 312
Thanks: 5
Thanked 8 Times in 7 Posts
scJazz is on a distinguished road
Default Re: Can data files be changed between turns?

No wait don't take the blue pill! I think your on to something here!
Reply With Quote
  #8  
Old September 4th, 2006, 04:57 AM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: Can data files be changed between turns?

Hey, with the SEV AI scripting, that could be done. Just make a random number generator, add in all the scripts. Every X number of turns, Y script package is randomly selected and run each turn.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #9  
Old September 4th, 2006, 10:53 AM
Strategia_In_Ultima's Avatar

Strategia_In_Ultima Strategia_In_Ultima is offline
Major General
 
Join Date: Jan 2005
Location: In your mind.
Posts: 2,241
Thanks: 0
Thanked 0 Times in 0 Posts
Strategia_In_Ultima is on a distinguished road
Default Re: Can data files be changed between turns?

"We propose a Partnership treaty."
"We accept."
"Your cities will burn with our vengeful fire!"

__________________
O'Neill: I have something I want to confess you. The name's not Kirk. It's Skywalker. Luke Skywalker.
-Stargate SG1
Reply With Quote
  #10  
Old September 4th, 2006, 01:24 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Can data files be changed between turns?

Ive always thought that random AI changes would be fun anyway. Maybe not mid-game but generating more variety than Ive seen. I can see some interesting results.

A) If you have ship in their space then they love you, but if you fight them and lose they hate you (disdain of weak nations?)

B) If you have planets in their space then they love you, but if there are enemy ships in their space they hate you (you have failed to proect our common interests)

C) if you turn down trades from them they love you but if you give them gifts they hate you (Id rather face a shrewd trader than a false friend)

Maybe I could make a program to scramble the neutral races. Or even add to them. If I toss in an ImageMagick file then I could even randomly alter a few colors on the BMP files to give each a unique flag. Maybe even a unique portrait altho the easiest thing would be to select one portait and decalre them all to be offshoots.
MUHAHAHahahaaa Ive always loved pogramming randoms
Gandalf Parker
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
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 05:59 PM.


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