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

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- 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 August 27th, 2007, 04:53 PM

lexicat lexicat is offline
Private
 
Join Date: Aug 2007
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
lexicat is on a distinguished road
Default Re: MOD Questions: haveitem and REMA

Wowie! what a bunch of answers. you have correctly guessed that I am leaving juicy details out.

Actually the code I posted works (I noticed that, for example, the Even Weirder Worlds mod is pretty strict about using popups for the ACTN command, but that the basic Weird World quests aren't necessarily.) When I test my mod, whether using popups or no popups, I only and always get the last PAGE. In fact an even simpler quest, in which I attempted to make a single PAGE event occur upon the single CONDITION for TYPE haveitem with STR0 ps_mukamb fails.

My STAR blocks are present, and there's no typo in my CONDITION blocks as you have so thoroughly and helpfully suggested. :}

I am beginning to conclude that haveitem does not in fact test for passengers.

But let me set it down for thisaways: can you make a working quest with a condition testing for a passenger using haveitem?

Lexicat
  #2  
Old August 27th, 2007, 05:36 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: MOD Questions: haveitem and REMA


Well, I'm not using the 1.22 patch (it makes my mac crash... Fingers and Ed are still trying to figure out why), so I might not be able to for reasons other than what you're facing.

Looking at the files from quests in the main game, i see that there are a few TYPE noitem conditions looking for the absence of ps_mukamb etc (ally_muk.ini for example).


So, you could reverse the order your PAGEs, set the new PAGE0 to trigger off TYPE noitem and TYPE explore, and make sure you include ACTN endquest in it. Then, in a later PAGE entry, you set up just a TYPE explore requirement. That should give the same net result, being that they'll only get that second page if they do have the ambassador.
__________________
WW:RTIS & modding: http://transitivegaming.blogspot.com...abel/WW%3ARTIS
Other gaming stuff: http://transitivegaming.blogspot.com
  #3  
Old August 27th, 2007, 05:40 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: MOD Questions: haveitem and REMA

...or, you could alter the quest that gives the Ambassador in the first place. Add to it a line of "SVAR mukamb yes" just above or below "ITEM ps_mukamb".
Then in the quest you're trying to make, set a CONDITION block with
"TYPE uvar
STR0 mukamb
STR1 yes"

So there's a couple different ways to work around it.
__________________
WW:RTIS & modding: http://transitivegaming.blogspot.com...abel/WW%3ARTIS
Other gaming stuff: http://transitivegaming.blogspot.com
  #4  
Old August 27th, 2007, 08:33 PM

lexicat lexicat is offline
Private
 
Join Date: Aug 2007
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
lexicat is on a distinguished road
Default Re: MOD Questions: haveitem and REMA

What a swell space alien!

Thank you!
Lexicat
  #5  
Old August 27th, 2007, 10:30 PM

lexicat lexicat is offline
Private
 
Join Date: Aug 2007
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
lexicat is on a distinguished road
Default Re: MOD Questions: haveitem and REMA

Ok, so noitem works with passenger items, but haveitem does not seem to.

On a more general note, I wonder if it is possible to add an operator to negate any condition. (or just to insure that every condition function has an inverse function)?

Thanks again, squidge!

Lexicat
  #6  
Old August 28th, 2007, 01:02 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: MOD Questions: haveitem and REMA

Lexicat, you can't negate a condition. YOu're just kind of stuck with what's already there.

and yeah, haveitem won't work with passengers. Even worse, it won't work with items you install!

-Jeremy
  #7  
Old August 28th, 2007, 12:14 PM

lexicat lexicat is offline
Private
 
Join Date: Aug 2007
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
lexicat is on a distinguished road
Default Re: MOD Questions: haveitem and REMA

Well boo!

But thanks for the feedback, Phlagm. So on further exploration it seems that noitem is likewise insensitive to passengers. I guess going the user variable is the way to go.

Lexicat
  #8  
Old August 29th, 2007, 07:18 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: MOD Questions: haveitem and REMA

Weird that noitem ignores passengers.

It's used in ally_muk and ally_zorg in the main game, clearly intending it specifically to detect passengers or the lack thereof.

I guess that's officially a bug then, heh?
__________________
WW:RTIS & modding: http://transitivegaming.blogspot.com...abel/WW%3ARTIS
Other gaming stuff: http://transitivegaming.blogspot.com
 

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 03:47 AM.


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