Home | Webstore
Latest News: OOTP 27 Buy Now - FHM 12 Available - OOTP Go! 27 Available

Out of the Park Baseball 27 Buy Now!

  

Go Back   OOTP Developments Forums > Prior Versions of Our Games > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Mods

 
 
Thread Tools
Old 08-16-2003, 10:21 AM   #1
cooper_gd
All Star Starter
 
cooper_gd's Avatar
 
Join Date: Apr 2003
Location: PopBunker.net
Posts: 1,011
When editing injury.txt

I've read most of the threads on mod'ing the injury.txt file, but I need to claify one thing.... how do you determine how many commas go at the end of a string?

The injuries at the top have 7 commas, the ones at the bottom have 4... and there are sections with all numbers in between. What does this affect and how do you determine where an injury I add would fall?

ex.
Quote:
Bruised Cheekbone,20,15,25,1,4,5,10,,,,,,, (7 commas)

Viral Infection,20,5,20,9,,,, (4 commas)
Oh, is it dependant on the amout of varibles used? I think I see.

So if I wanted to add "Banned for betting on baseball", then I would:

Gambling Ban,0,254,254,9,,,,

Is that correct? For a career ending "injury" that occurs outside the field?
__________________
cooper_gd is offline  
Old 08-17-2003, 08:23 PM   #2
Rasmuth
All Star Starter
 
Rasmuth's Avatar
 
Join Date: Jul 2002
Location: Upstate Western NY
Posts: 1,760
bump....any clarification on the commas?
Rasmuth is offline  
Old 08-18-2003, 09:26 AM   #3
andjbock
Hall Of Famer
 
andjbock's Avatar
 
Join Date: Jul 2003
Location: Somerville, MA, USA Bats: Right Throws: Left
Posts: 3,640
http://www.ootpdevelopments.com/boar...=commas+injury

The extra commas are the spaces where you would enter additional ways to suffer the injury.
andjbock is offline  
Old 08-19-2003, 04:50 AM   #4
cooper_gd
All Star Starter
 
cooper_gd's Avatar
 
Join Date: Apr 2003
Location: PopBunker.net
Posts: 1,011
I saw that thread - so I hope I am not being dense I know it is where extra varibles go, I am just not sure how many should be used to close out a string. My theory above does not hold true for all of the injuries that are stock with the game.

So, does it matter if I put four or seven commas as long as my other varibles are correct?
__________________
cooper_gd is offline  
Old 08-19-2003, 06:45 AM   #5
Henry
Hall of Fame
 
Join Date: Dec 2001
Posts: 6,498
cooper,

There are 14 maximum variables (that's if you use all the ways in which an injury could occur. I would believe that when the program reads the line, it needs to see 14 variables... in other words, if it randomly chooses position 14 and finds a blank, it would have to try again(?).

To play it safe, I would make sure there are at least 13 commas (for 14 variables) and you should be ok... although some in the game have less, so it might not make any difference at all.
Henry is offline  
Old 08-19-2003, 07:58 AM   #6
cooper_gd
All Star Starter
 
cooper_gd's Avatar
 
Join Date: Apr 2003
Location: PopBunker.net
Posts: 1,011
Thanks Henry... that makes sense. I'll just add commas to make 13 on all the lines I added. I've seen a few on mine show up (doctored ball suspension for the rule changes of the 1920's), but not any of the major ones.

Thanks again.
__________________
cooper_gd is offline  
Old 08-22-2003, 10:13 AM   #7
Dxgarnett The 2nd
Bat Boy
 
Join Date: Aug 2003
Posts: 4
Hey, cooper. Is there anyway you could send me over a list of your injury file with the suspensions and other things. I'd be really interested to see how that works. My email address is Dxgarnett@yahoo.com if you ever get the chance. Thanks a lot.
Dxgarnett The 2nd is offline  
Old 08-23-2003, 05:29 PM   #8
cooper_gd
All Star Starter
 
cooper_gd's Avatar
 
Join Date: Apr 2003
Location: PopBunker.net
Posts: 1,011
yah, I can do that.
__________________
cooper_gd is offline  
Old 08-25-2003, 05:23 AM   #9
cooper_gd
All Star Starter
 
cooper_gd's Avatar
 
Join Date: Apr 2003
Location: PopBunker.net
Posts: 1,011
sent
__________________
cooper_gd is offline  
 

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 Off

Forum Jump


All times are GMT -4. The time now is 01:51 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments