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

This Month's Specials

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

   







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

 
 
Thread Tools Display Modes
  #1  
Old December 14th, 2009, 09:51 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: Variations in Friendliness

It would be tricky to have this swap from session to session, seeing as how there's the ambassador quests for it to conflict with. I suspect you don't want to try to trigger it at the start of the game, because their default settings may load after your quest. If multiple alliance-changing quests trigger, it's possible the game might only register the first or last one. I know sometimes it has trouble with that sort of thing.

Instead, you might try setting it up as a event triggered on a planet. (Those usually work more reliably.) Sort of a pandora's box thing, where some event happens that changes the alliances throughout the sector. Make several versions of the quest, all the with the same KEYS so only one can trigger per game.
__________________
WW:RTIS & modding: http://transitivegaming.blogspot.com...abel/WW%3ARTIS
Other gaming stuff: http://transitivegaming.blogspot.com
  #2  
Old January 8th, 2010, 02:07 AM

ExplorerBob ExplorerBob is offline
Corporal
 
Join Date: Nov 2006
Posts: 108
Thanks: 8
Thanked 2 Times in 2 Posts
ExplorerBob is on a distinguished road
Default Re: Variations in Friendliness

I've tried a number of things, and this just isn't working out.

Quote:
Originally Posted by lovezorg
FLAG always
KEYS zorg

STAR 0
FLAG existing
PLNT hope
END STAR

PAGE 0
ACTN endquest
FRND zorg
END PAGE
This code is similar to the other five code files, which make the player's relations with the Zorg/Muktians friendly, hostile, and do nothing (keeping it neutral).

I used an explore condition earlier, to be attributed to a random star, but the problem is that this just meant that a star, somewhere in the galaxy, would hypothetically change your relations; you might not bump into it until after you've already met one of the alien races, and it'd be pretty obvious upon reaching it that your relations just changed, since the event was mutually exclusive with other events on the star.

If this can't be resolved, then I guess I'll be forced to give up on the idea of varying existing races' relations, and fall on a backup idea of mine; make a bunch of races with very similar ships, but different personalities, graphics, etc. to existing ones, and have those serve as evil Muk/Zorg/etc. The only problem with that idea is that it requires graphics and sounds that I don't have, so.
  #3  
Old January 9th, 2010, 11:38 AM

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: Variations in Friendliness

I have an idea.

In Drives R Us, I used a Condition structure on Hope:
STAR 0
FLAG existing
PLNT hope
ITEM wp_2bbeamlasr
END STAR

CONDITION 0
TYPE homeworld
STR0 terran
END CONDITION

PAGE 0
REQ0 0
ACTN endquest
ITMS 2 tech
END PAGE
If I'm remembering my thought process from two years ago, I originally tried a simpler structure, more like what you wrote.

I found that without the CONDITION block and the REQ0 line, it wasn't triggering. Also, without some item being always placed at Hope, the random items wouldn't appear. It really puzzled me as to why the homeworld trigger would have to work that way, but IIRC, it did.

You might try putting in something similar, and seeing if it works then.

Another option is to fall back on having it trigger when some other random star is explored, but add an ITEM command to the STAR block so there's an object on the planet when you get there. If you gave each of the five quests a different totally normal object from the main game, the player wouldn't immediately know that anything else had been triggered.

If I think of anything else relevant, I'll let you know.
__________________
WW:RTIS & modding: http://transitivegaming.blogspot.com...abel/WW%3ARTIS
Other gaming stuff: http://transitivegaming.blogspot.com
  #4  
Old January 10th, 2010, 11:12 PM

ExplorerBob ExplorerBob is offline
Corporal
 
Join Date: Nov 2006
Posts: 108
Thanks: 8
Thanked 2 Times in 2 Posts
ExplorerBob is on a distinguished road
Default Re: Variations in Friendliness

Tell me what you think of this setup.

Quote:
Originally Posted by lovezorg
FLAG always
KEYS zorg

STAR 0
FLAG existing
PLNT hope
ITEM wp_projrail
END STAR

CONDITION 0
TYPE homeworld
STR0 terran
END CONDITION

PAGE 0
REQ0 0
ACTN endquest
FRND zorg
END PAGE
The railgun is added, but the Zorg are not affected, judging by the number of times I've encountered neutral Zorg.

Any idea what's going wrong?
  #5  
Old January 11th, 2010, 12:20 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: Variations in Friendliness

What's your regular routine when you start the game? Do you immediately grab the nearest planet to fly off to, or do you stop to look at the map? I've noticed just a tiny bit of wonkiness with the homeworld trigger. The random two items in my Drives'R'Us mod sometimes show up after a really short delay. It's less than two seconds, but it might help to wait just a heartbeat before leaving Glory.

That's not likely to be the problem, but it's easy to check and rule out. The rest of my ideas involve tweaking with the files to find a solution:

Quote:
FLAG always
KEYS zorg
Do you have other quests with KEYS Zorg? If so, it's only going to generate one of them. You probably already knew that, or else you wouldn't have included that KEYS line. But, it's worth double-checking your files to make sure you don't have any other quests that might be triggering and preventing it due to the KEYS. Just to be safe.

Did you make similar quests for the other races? If so, check them to see if you accidentally left one of those quests with KEYS zorg as a copy-and-paste error. If there was a Muktian Quest that accidentally had Zorg KEYS, it could be causing the trouble without you knowing it.

Also, regardless of whether or not you have any other quests with that KEYS, you should make sure you don't have any other quests that modify the zorg behavior. If you do, deactivate all of them, and launch the game again. It may be that some other quest is triggering before or after this one, and is muddling the results. I know, it's annoying, but it's the only way to be sure.

Are the other alliance-changing quests set to "FLAG always"? IIRC, when multiple quests have the same KEYS, and are set to FLAG always, the game doesn't randomize them, it just takes the first one on the "game.ini" list. I think the only way to get random quests is via the "event" and "mainquest" FLAGs. You only get a certain number of events per game (2 to 4 by map size, if you don't go into "distribution.ini" and change it), so you'll need to be aware that having these alliance-changing quests may reduce the number of events.



If those tests and alterations don't fix the problem, you might try changing "endquest" to "break", and at the start of each game leave Glory and then immediately return before setting out a second time. I don't think it'll come to that, though, as I suspect the problem involves the KEYS, or some similar quest duplication / overlap problem.
__________________
WW:RTIS & modding: http://transitivegaming.blogspot.com...abel/WW%3ARTIS
Other gaming stuff: http://transitivegaming.blogspot.com
The Following User Says Thank You to sgqwonkian For This Useful Post:
  #6  
Old January 11th, 2010, 12:46 PM

ExplorerBob ExplorerBob is offline
Corporal
 
Join Date: Nov 2006
Posts: 108
Thanks: 8
Thanked 2 Times in 2 Posts
ExplorerBob is on a distinguished road
Default Re: Variations in Friendliness

Quote:
Originally Posted by sgqwonkian View Post
Are the other alliance-changing quests set to "FLAG always"? IIRC, when multiple quests have the same KEYS, and are set to FLAG always, the game doesn't randomize them, it just takes the first one on the "game.ini" list. I think the only way to get random quests is via the "event" and "mainquest" FLAGs. You only get a certain number of events per game (2 to 4 by map size, if you don't go into "distribution.ini" and change it), so you'll need to be aware that having these alliance-changing quests may reduce the number of events.
Experimentation has revealed that this appears to be the problem; upon changing the layout in game.ini, I was able to make the Zorg automatically love the player, and the Muktians hate him.

The only alliance-changing quests are these, and the same ones that exist in standard Weird Worlds. The problem, anyway, appears to be the game.ini layout. I'll work on making these events, and boosting the distribution.ini file to account for their existence.

Thanks for the tip! I'll let you know how it works out.
 

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 04:11 AM.


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