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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Digital Eel > Weird Worlds: Return to Infinite Space > Scenarios and Mods

 
 
Thread Tools Display Modes
  #1  
Old August 8th, 2007, 10:38 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 Re: Request: some randomness


Psientist and Phlagm,

Any luck with the "random number generator" kludge you'd discussed? Does it work?

I tried something similar to make random items generate at the start of the game for you to trade for at Glory. The ITMS command doesn't seem to work at Glory - just the more specific ITEM command does. So I made a bunch of quests with a "havenstuff" key.

If I set the quests with an "always" flag, it would generate the first quest on the list alphabetically every time you played.

If I set the quests with an "event" flag, it'd only generate items at all about 50% of the time, and when it did there'd be one less place/esmeralda/nova/jumboshrimp etc in the universe that game. It kinda worked, but it made the universe less interesting when it did.

So now I'm left considering a third option... I could take every existing ally and event quest, and add a section near the beginning with
STAR #
FLAG existing
PLNT hope
ITEM itemname
END STAR

Pros: A different random selection of equipment would be available every game.

Cons: After playing the mod enough times a person could come to figure out "If Haven has a proton matrix, that means I'm going to be sabotaged. If Haven has a gatling laser, that means a star is going to go nova." etc.

That Con kinda bugged me, so I chose to use method #2 (events that do nothing but generate starting stuff) for my Teeming With Life mod.

But the reason I mention this is that if you're using it to generate hidden variables, this third method would work great for you.
You could have the haven quest (or brass or pirate quests) initialize the variables, and then have each (or some portion) of ally and event quests increment them by various numbers.
It'd all be invisible to those playing the mod - unlike my starting equip idea, there'd be nothing for them to reference at the start of a game and deduce what events were destined.
__________________
WW:RTIS & modding: http://transitivegaming.blogspot.com...abel/WW%3ARTIS
Other gaming stuff: http://transitivegaming.blogspot.com
  #2  
Old November 9th, 2007, 10:33 PM

mantari mantari is offline
Private
 
Join Date: May 2007
Posts: 38
Thanks: 0
Thanked 1 Time in 1 Post
mantari is on a distinguished road
Default Re: Request: some randomness

I realize that significant patches for this game are probably dead, but I'd handle the problem by (the developers) creating a few new variables. I dunno. Say...

rand5
rand10
rand50
rand100

These would be converted into a constant that would remain the same random number throughout the game.

Not the greatest for modders, but it would be likely be a whole lot easier for the devs to plug into the game engine.
 

Bookmarks

Thread Tools
Display Modes

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:43 PM.


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