Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I'm trying to make an outfit which does two things; grant another outfit and give a weapon. But it does not give the weapon, only the other outfit. The outfit is given with the Gxxx expression, the weapon with the function field 'Weaponxxx" Also, I added an expression to the availiability !B9999 and to the OnPurchase B9999 and I have it set to only display if the availiablity conditions are met. That is so it can only be purchased and seen once. But that doesn't seem to work. It seems that it grants the other outfit, but then it dissapears itself. I know how I could work around this problem, but it would be nice to know why this doesn't work. Thank you.
------------------ Support USA Patriot Act let real Americans take away our rights before those darn foreigners can try. Before you do what you are about to do, think about why you are about to do what you are about to do. All the problems of the world can be solved by good parents and good water.
Quote
Originally posted by Klepsacovic: **I'm trying to make an outfit which does two things; grant another outfit and give a weapon. But it does not give the weapon, only the other outfit. The outfit is given with the Gxxx expression, the weapon with the function field 'Weaponxxx" Also, I added an expression to the availiability !B9999 and to the OnPurchase B9999 and I have it set to only display if the availiablity conditions are met. That is so it can only be purchased and seen once. But that doesn't seem to work. It seems that it grants the other outfit, but then it dissapears itself. I know how I could work around this problem, but it would be nice to know why this doesn't work. Thank you.
**
What function field? Do you mean the modtype1/modval1 fields set to 1 and xxx to thus get weapon xxx? Dont use bits for availability of things that you only buy once - then, if you buy the item, and then sell the ship, you cant buy it in your next ship. Unless this is intentional, use the Oxxx opperator instead. As for the strange behavior, if you have checked the obvious, this sounds like a bug. Didnt Masa have a problem like this a while ago? -Az
------------------ It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url) Stuffit is a piece of .sit.
This sounds kind of like a problem I had not too long ago, but I'm having trouble following exactly how you set this up, and what you want to happen. Maybe, if you could be a little more clear, like:
Outfit A- RID Tech Level Mod Type/Mod Val Buy Random Availability On Purchase On Sell Require Bits? List any flags
Outfit B- RID Tech Level Mod Type/Mod Val Buy Random Availability On Purchase On Sell Require Bits? List any flags
------------------
The outfit stays with you when you trade ships. I'll post pictures of what I did in MissionComputer. Could it make the outfit not appear if it has no function (weapon, cargo expansion...)? It is set as a cargo expansion, but it adds no space. Could that be causing the problem?
(This message has been edited by Klepsacovic (edited 03-07-2004).)
Well, from what I see above, you have the 'remove after purchase' flag checked. So, yeah, the outfit will be deleted from the player just like a map outfit. If you want the item to be persistent, check the 'stays when trading ships' flag.
One more thing, it's not a great idea to use '&' symbols in set strings. It's not necessary. I'm not certain that it will cause a problem, but "gxxx gxxx !bxxxx" will get the job done.
Empty outfits, (that is, with no mod type/val), should not be a problem, as long as everything else is in proper range.
Originally posted by slouch: **Well, from what I see above, you have the 'remove after purchase' flag checked. So, yeah, the outfit will be deleted from the player just like a map outfit. If you want the item to be persistent, check the 'stays when trading ships' flag. **
The item is supposed to grant two other outfits when purchased. But then I want it to be removed and not be visible ever again. The idea is that a Dark Vell-os offers to teach a special power. So you learn it once and he never asks again. I could use a mission, but now I refuse to be defeated with this approach. The outfit you buy gives the other two outfits, then is removed and sets a bit to prevent it appearing again. Unfortunately it doesn't even show up in the outfitting area, even without the show only if... box is checked. If anyone feels really helpful and has too much time, I could e-mail the plug-in so you can figure out what I did wrong.
Here's a stupid question: What's the Buy Random field set to?
If you'd like, I can take a look at it. (url="http://"mailto:slouch@stonerrock.net")mailto:slouch@stonerrock.net(/url)slouch@stonerrock.net
Another thing: I think bit 9999 is used in the stock scenario. -Az
I haven't read the whole topic, so forgive me if I tread over tired ground. Basically, you are having one outfit Gxxx another outfit in it's onPurchase field, correct? And the other outfit is not appearing?
Assuming this is true, there are 2 things which could cause the problem. Gxxx ignores Availability bits, tech levels, randomness, etc, so that can't be the problem. The first problem may be that the outfit is numbered outside the possible range. There is a maximum of 512 outfits (I think the Bible says 700+, but I know from experience), so the ID has to be between 128 and 128+512=640, or it will just ignore the outfit.
the other problem you may be facing is a bug. Basically, iff a WEAPON (only) outfit uses Gxxx in the onPurchase field, it will delete itself as if the "remove on purchase" flag is set. It's totally bizarre, but fixable. Have the weapon Gxxx itself in the OnPurchase field.
Hope some of this helps!
------------------ ~Charlie Sephil Saga Homepage: (url="http://"http://www.cwssoftware.com")www.cwssoftware.com(/url)
You have it removing after purchase. So when you buy it, it goes away, just like a map.
------------------ Starfleet Adventures: A Star Trek TC for EVN (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=145") Discussion Board (/url) Starfleet Adventures (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=71")Progress Log(/url) denki's Starfleet Adventures (url="http://"http://www.geocities.com/starfleet_adventures/")FAQ page(/url) It is better to feed the goat than it is today.
Originally posted by Masamune: **Assuming this is true, there are 2 things which could cause the problem. Gxxx ignores Availability bits, tech levels, randomness, etc, so that can't be the problem. The first problem may be that the outfit is numbered outside the possible range. There is a maximum of 512 outfits (I think the Bible says 700+, but I know from experience), so the ID has to be between 128 and 128+512=640, or it will just ignore the outfit. **
That's it! The outfit ID is 650, gotta change that. Making progress. I guess the bit is used by Nova (9000). And I can buy the outfit, and it does dissapear after purchase, but it seems to only give one of the two outfits, maybe if I had one of the outfits give the other, as if one outfit can only give one other.
(This message has been edited by Klepsacovic (edited 03-08-2004).)
Originally posted by Masamune: ** the other problem you may be facing is a bug. Basically, iff a WEAPON (only) outfit uses Gxxx in the onPurchase field, it will delete itself as if the "remove on purchase" flag is set. It's totally bizarre, but fixable. Have the weapon Gxxx itself in the OnPurchase field. **
Cookie for Masa! Good going on the workaround. I saw this bug earlier and couldnt think of a workaround, however obvious it may seem. This is real good to know. -Az
Originally posted by Azratax2: **Cookie for Masa! Good going on the workaround. I saw this bug earlier and couldnt think of a workaround, however obvious it may seem. This is real good to know. -Az
Aha. That could help alot. Currently the first outfit grants the second which grants the third. As it would seem, the second oufit (the weapon) is the dissapearing one. Now if I could just find a bit that Nova doesn't use... Arg! It doesn't work! I have all three outfits granting the second, why doesn't it work!?! Stay weapon outfit, stay! Sorry. I have even tried to see if I made a similar mistake by making the weapon number too high, nope, unless even 350 is too high. And now MissionComputer hates me, refuses to save changes. Thank God for ResEdit, stupid Classic Startup. Sorry, I give up for now, homework to do, maybe I'll recieve an insight during one of many potential opportunities to be bored. I wish I could bring my mom's laptor to school. Thank you everyone, I hope someone else has learned something useful from this.
If you are still having problems, you could email it to me. If its not more than 3.0 megs. TravisB(AT)eternallightstudios(DOT)com Just take out the (AT) and replace it with the @ and the (dot) with the period. Stupid spam spiders.
The famous one, The Cheat
------------------ Links: (url="http://"http://forum.cjb.net:81/cgi-bin/forum.cgi?forum=unrealslair")Unreals Fourms(/url) (url="http://"http://www.unrealslair.cjb.net/")Unreals Lair(/url) (url="http://"mailto:unrealslair@unrealslair.cjb.net")mailto:unrealslair@unrealslair.cjb.net(/url)unrealslair@unrealslair.cjb.net
Actually, the credit for that workaround goes to our favorite counter-crazed friend, JB.
Ive taken a look at the plugin, and by the looks of it, all 3 outfits grant outfit 631. On the outfit Dark Rage: I havent found anything that would stop it from giving it to you other than the g631 flag. You really dont need that. Outfit: Self Healing: It is also giving the Dark Rage outfit. Again, you dont need it. Outfit: Talk to Vell-os You have the flag 'Remove after Purchase' checked. You dont need it checked. The map mod automatically takes it away. All the Outfits: You might want to set the Display Order to 0. Nova doesnt handle negitive (-) numbers well.
Tell me if that doesnt fix it.
Originally posted by The Cheat: **snip helpfulness snip **
snip It works perfectly. Thank you all. I have also learned that beams cannot damage your own ship, too bad, those would have given the perfect effect for the Dark Rage. Oh, does anyone know of a random bit that the Nova scenario and the more common plug-ins don't use. I'm not picky.
(This message has been edited by Klepsacovic (edited 03-09-2004).)