.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 > Digital Eel > Weird Worlds: Return to Infinite Space > Scenarios and Mods

 
 
Thread Tools Display Modes
  #1  
Old August 27th, 2007, 03:29 PM

sgqwonkian sgqwonkian is offline
Sergeant
 
Join Date: Aug 2007
Location: Seattle
Posts: 231
Thanks: 3
Thanked 13 Times in 10 Posts
sgqwonkian is on a distinguished road
Default What happens if I exceed 4 passengers?

According to the Engine Limitations at the Modmakers Guide to the Galaxy...

"WORLD_MAX_PASSENGERS 4 - maximum number of passengers that can be carried"

What happens if I exceed that number?
Will it make/allow me to dump some passenger on a planet?
Will it fail to generate the passenger?
Will it crash painfully to the desktop on picking up the 5th passenger?
Will it crash on universe creation when it loads the quest that could potentially generate a 5th passenger?

The reason I ask is that I've added a passenger or two to several mods I've posted or am working on currently, and I want to know if there's a danger that someone randomly getting calamb, mukamb, zorgamb, esmeralda and my one passenger is going to hang my mod.

If my new mod has 3 new passengers in it should I:
a) gut some original files to zap ps_takeyourpick
b) add a complicated web of KEYS to stop it at 4 passengers
or
c) just not worry about it because the game itself will stop the 5th one from generating, and do so without a crash
__________________
WW:RTIS & modding: http://transitivegaming.blogspot.com...abel/WW%3ARTIS
Other gaming stuff: http://transitivegaming.blogspot.com
  #2  
Old August 28th, 2007, 10:37 AM

Phlagm Phlagm is offline
Corporal
 
Join Date: Jan 2007
Location: Austin, TX
Posts: 151
Thanks: 0
Thanked 0 Times in 0 Posts
Phlagm is on a distinguished road
Default Re: What happens if I exceed 4 passengers?

I think it probably just unceremoniously fails at some point. Some overflows are handled gracefully, but some aren't. Generally, they just cause crashes....often at a point when you can't tell what the hell happened

My future solution to the above problem would be to do the complicated KEYS thing, but just make it complicated enough to break the predictability (oh I got passenger X, that must mean I'll get totally unrelated quest Y) but maybe not so much as to completely randomize the thing. There are only 255 keywords allowed, after all.

It's a somewhat obnoxious challenge, because unless you do something with the Zorg or Muktians, those two passengers need always to be there. That leaves you two spots to play with.
  #3  
Old August 28th, 2007, 12:02 PM

Mafaa Mafaa is offline
Private
 
Join Date: Jun 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Mafaa is on a distinguished road
Default Re: What happens if I exceed 4 passengers?

Wow, I sure am excited for the next mod you put out, sgqwonkian. It sounds like it will be good.
 

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 07:25 PM.


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