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've been playing around with a new concept lately, and came up with a bit of a dilemma. I am trying to create an outfit that when purchased, changes the status with the government to a positive standing. If you sell it, it should decrease your standing. I know you could give the outfit a fake ID modtype, but that still leaves out decreasing your status when selling the outfit.
Here is what I had set up before. The outfit calls a mission in the onpurchase field, which has a compreward value of 1000 (the starting status with the govt is -500). When the outfit is sold, it calls another auto-aborting mission that instead has a compreward of -1000, to restore the government to it's previous status.
I believe the problem is that the compgovt fields do not take effect when the mission auto aborts. Is this standard behavior, and if so, does anyone have any ideas of how to work around it?
Thanks, SpacePirate
------------------ Eat blazing electric death! (url="http://"http://www.evula.org/infernostudios/ept/")Unofficial EV and EVO Ports(/url): Betas 3 and 2
EVN Resource Bible:
Axxx - if mission ID xxx is currently active, abort it <snip> * The mďsn resource <snip> CompReward How much to increase your record with CompGovt (any value) Increase record by this much (note: if you have a CompGovt and reward defined and you fail the mission, that govt will take it personally and decrease your record by 1/2 the amount specified in CompReward. This is useful for making missions whose success is considered vital by a certain party <snip> Flags2 More flag bits 0x0001 Don't offer mission if the player doesn't have enough cargo space to hold the mission cargo (even if the mission cargo won't be picked up until later) 0x0002 Apply mission Pay on auto-abort
So when you auto-abort the misn, you have to have the 0x0002 flag set in Flags2 for it to work.
-Vaumnou
------------------ Did you know that 63.8% of quoted statistics are made up on the spot? "He's too late. SEE?!? THE CLIFFS OF INSANITY!!! Hurry up!" "You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. .... Radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat." - Albert Einstein
(This message has been edited by Vaumnou (edited 05-12-2003).)
Yep. It didn't change the status at all.
Quote
Originally posted by SpacePirate: Yep. It didn't change the status at all.
Before or after you set the flag I mentioned?
I've had the flag set the entire time. That was the first thing I tried.
Hrm... that stinks. Try changing the Axxx tag to a Fxxx tag (so it fails the mission), put a negative number in the CompReward field, and set the flag for 5x penalty on failure.
All righty. I'll try that.
Thanks Vamnou!
------------------ Eat blazing electric death! (url="http://"http://www.evula.org/infernostudios/ept/")Unofficial EV and EVO Ports(/url): FC1 and Beta 2
Perhaps a ränk?
------------------ Moderator- (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=9&SUBMIT;=Go&mrxak;=cool")EV Developer's Corner(/url) | (url="http://"http://forums.evula.com/viewforum.php?f=18")mrxak's Assorted Webspace Forum(/url) | (url="http://"http://forums.evula.com/viewforum.php?f=48")Starcraft Forum(/url) | | (url="http://"http://directory.perfectparadox.com/profile.php?id=00008")My Profile(/url) (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/search.cgi?action=intro")Search First(/url) | (url="http://"http://www.AmbrosiaSW.com/webboard/Forum9/HTML/003091.html")Need Testers?(/url) | (url="http://"http://www.AmbrosiaSW.com/webboard/Forum9/HTML/003196.html")Need Developers?(/url) | (url="http://"http://www.evula.com/survival_guide/")EV/O/N Survival Guide(/url) | (url="http://"http://www.AmbrosiaSW.com/games/evn/addons.html")Nova Addons(/url) | (url="http://"http://www.resexcellence.com/support_files/resedit.shtml")ResEdit(/url) | (url="http://"http://w00tware.ev-nova.net/")NovaTools(/url) | (url="http://"http://www.ambrosiasw.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=31&SUBMIT;=Go")Bomb's Plug-in Guide(/url) (url="http://"http://www.evula.org/mrxak/")mrxak's Assorted Webspace(/url) | (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/TheChallenge102.sea.bin?path=evn/plugins&file;=TheChallenge102.sea.bin")The Challenge v1.0.2(/url) | (url="http://"http://www.evula.org/mrxak/Haikus/haikuarchive.html")The Haiku Archive(/url) | (url="http://"http://www.evula.org/mrxak/EV/N/mbspt/mbspt.html")mrxak's Big Secret Plug-in/Tutorial(/url) | (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/postdisplay.cgi?forum=Forum10&topic;=007599-2&whichpost;=mrxak11-06-200203:22PM")mrxak?(/url) "The more you ask a pot if it's boiling yet, the longer it will take to boil." -mrxak
Hrm... That may work as well...
What I really need to do is find an easy way to get a spöb to stop shooting at you when you have the outfit, and always shoot at you otherwise.
I'll play with it more at home.
Thanks!
Flags field, in the ränk resource:
0x0100 Ships of the affiliated government will not automatically attack the player when he has this rank 0x0200 All planets of the affiliated government will let the player land when he has this rank, regardless of their MinStatus field
That might do it, SpacePirate. The 0x0200 flag also prevents the syst from turning red on the map, I believe.
Good deal.
Thanks for all the help.