So I use pretty much all of his scripts, but I noticed that the Bounty Hunter scripts spawns the least amount of bbs missions, is there away to easily change its priority?
I'm not much of coder more of a modeller so easy is key lol.
Cycrows's scripts
Outlaw_no1

Fightguey (6)
Fightguey (6)
Posted 14 years ago.
Roguey

Trueguey (22)
Trueguey (22)
Posted 14 years ago.
hi there,
Well I dont personally know the script your talking about, so I can only give a rough idea how the BBS system works.
There are two values that can be adjusted in BBS scripts: prio and quantity. The prio is set in the BBS script itself. This sets how often the script is on the BBS is shown. ie. the chance of it getting picked on the BBS.
The other is quantity, which is in a setup. script (usually). This gives X3 an idea of how many stations may display the mission in the current sector. So 1 would make it rare, while 10 or 20 should make it fairly common if the sector, if the prio is high enough.
Well I dont personally know the script your talking about, so I can only give a rough idea how the BBS system works.
There are two values that can be adjusted in BBS scripts: prio and quantity. The prio is set in the BBS script itself. This sets how often the script is on the BBS is shown. ie. the chance of it getting picked on the BBS.
The other is quantity, which is in a setup. script (usually). This gives X3 an idea of how many stations may display the mission in the current sector. So 1 would make it rare, while 10 or 20 should make it fairly common if the sector, if the prio is high enough.
Outlaw_no1

Fightguey (6)
Fightguey (6)
Posted 14 years ago.
I guess I should be clearer, I am using all of cycrow's mission scripts and guilds. When I start a new game the BH guild is the first to kick in. I will beable to do 3 or 4 missions and then they stop spawning. This happens even if I am only running just the BH script.
I modified the prio to be the max the game will let me still not showing up at all.
Under the main file all the missions for the Bounty hunter script instance is set to 20, in his other scripts like assasins guild or racer guild it is set to 5 and the prio is set at 100 and they show up more.
I don't know if it is an issue with the prio and instance or if its failing a check somewhere to give me the missions.
Under the prio section there is this little check system
**Caled when first viewing BBS in a station, returns the priority
When I read this I read it as only give the mission that prio of 100 if the base is a Bounty Hunter station. However I only Bounty hunter missions if I am docked at a trade dock as they tend to have the most BBS postings.
Under the Assassin mission
The missions are given that prio based on type of station I am docked at.
So I'm not sure what is going on here. I am using the x-unverse plugin manager to install and manage the plug ins.
[Roguey] Added code tags to make the post easier to read.
I modified the prio to be the max the game will let me still not showing up at all.
Under the main file all the missions for the Bounty hunter script instance is set to 20, in his other scripts like assasins guild or racer guild it is set to 5 and the prio is set at 100 and they show up more.
I don't know if it is an issue with the prio and instance or if its failing a check somewhere to give me the missions.
Under the prio section there is this little check system
**Caled when first viewing BBS in a station, returns the priority
else if $Event == 'prio'
|$Array.Guild = get global variable: name='plugin.bountyhunt.guild'
|if not $Array.Guild[0]
||return 0
|else if $Station -> get local variable: name='plugin.bountyhunt.station'
||return 100 ** I changed this to read 999999
|else if $OwnerRace == Friendly Race OR $OwnerRace == Neutral Race OR $OwnerRace == Enemy Race
||return 0
|else if $OwnerRace == Race 1 OR $OwnerRace == Race 2 OR $OwnerRace == Sohnen
||return 0
|else
||return 100 ** 9999999
|end
|$Array.Guild = get global variable: name='plugin.bountyhunt.guild'
|if not $Array.Guild[0]
||return 0
|else if $Station -> get local variable: name='plugin.bountyhunt.station'
||return 100 ** I changed this to read 999999
|else if $OwnerRace == Friendly Race OR $OwnerRace == Neutral Race OR $OwnerRace == Enemy Race
||return 0
|else if $OwnerRace == Race 1 OR $OwnerRace == Race 2 OR $OwnerRace == Sohnen
||return 0
|else
||return 100 ** 9999999
|end
When I read this I read it as only give the mission that prio of 100 if the base is a Bounty Hunter station. However I only Bounty hunter missions if I am docked at a trade dock as they tend to have the most BBS postings.
Under the Assassin mission
else if $Event == 'prio'
021 |$Station = $PlayerShip -> get environment
022 |$Station.Race = $Station -> get owner race
023 |$Station.Name = sprintf: fmt='%s', $Station, null, null, null, null
024 |$Station.Pos = find position of pattern 'TerraCorp' in $Station.Name
025 |if not $Array.Guild[0]
026 ||return 0
027 |else if $Station -> get local variable: name='plugin.assassin.outpost'
028 ||return 100
029 |else if not $normal
030 ||return 0
031 |else if $Station -> is of class Trade Dock
032 ||return 100
033 |else if $Station -> is of class Pirate Dock
034 ||return 100
035 |else if $Station -> is of class Goner Dock
036 ||return 100
037 |else if ( $Station.Pos >= 0 ) OR ( $Station.Race == Goner )
038 ||return 100
039 |else
040 ||return 20
041 |end
021 |$Station = $PlayerShip -> get environment
022 |$Station.Race = $Station -> get owner race
023 |$Station.Name = sprintf: fmt='%s', $Station, null, null, null, null
024 |$Station.Pos = find position of pattern 'TerraCorp' in $Station.Name
025 |if not $Array.Guild[0]
026 ||return 0
027 |else if $Station -> get local variable: name='plugin.assassin.outpost'
028 ||return 100
029 |else if not $normal
030 ||return 0
031 |else if $Station -> is of class Trade Dock
032 ||return 100
033 |else if $Station -> is of class Pirate Dock
034 ||return 100
035 |else if $Station -> is of class Goner Dock
036 ||return 100
037 |else if ( $Station.Pos >= 0 ) OR ( $Station.Race == Goner )
038 ||return 100
039 |else
040 ||return 20
041 |end
The missions are given that prio based on type of station I am docked at.
So I'm not sure what is going on here. I am using the x-unverse plugin manager to install and manage the plug ins.
[Roguey] Added code tags to make the post easier to read.
Outlaw_no1

Fightguey (6)
Fightguey (6)
Posted 14 years ago.
I think it has to do with the timer to reset the spawning script. After 4 stations are made they stop making new stations, and offering missions about 2 hours of game play. If I go into AI settings turn it off, fly to a new system save, restart them and then save relaod the script starts working again.
Roguey

Trueguey (22)
Trueguey (22)
Posted 14 years ago.
I hope you dont mind I changed you post to use the code tags to make it easier to read.
Well its hard to know what someone else is doing in their script, however I could suggest you delete some of the if statements and return line under them. The prio section could simply have return 9999. Although this will show at any station.
Also remmeber if the script has been compressed ie. roguey.bbs.rocksale.pck, then when you edit the script you will create a xml version of the script. However X3 will still see the pck first, so your changes wont seem to work. You will need to exit the game and delete the .pck version of the script. Then your changes will work. X3 is fine with .xml scripts, but you can compress them using modmanger for public release.
Well its hard to know what someone else is doing in their script, however I could suggest you delete some of the if statements and return line under them. The prio section could simply have return 9999. Although this will show at any station.
Also remmeber if the script has been compressed ie. roguey.bbs.rocksale.pck, then when you edit the script you will create a xml version of the script. However X3 will still see the pck first, so your changes wont seem to work. You will need to exit the game and delete the .pck version of the script. Then your changes will work. X3 is fine with .xml scripts, but you can compress them using modmanger for public release.
Outlaw_no1

Fightguey (6)
Fightguey (6)
Posted 14 years ago.
I did not know that about the script.pck issue I will give the a try before moving forward. Thanks
Outlaw_no1

Fightguey (6)
Fightguey (6)
Posted 14 years ago.
Did as you said, I made the missions spawn at trade docs and BH stations set instances 30 and bbs to 5000. I am getting them more often but I still have to rely on the load save method where as the the assasan and racer script it is always there and they are set to 20 instances and 100 for guild stations and $normal for nonguild stations is 25. What is $normal command?
Roguey

Trueguey (22)
Trueguey (22)
Posted 14 years ago.
$normal isnt a command but a variable. Although im glad you can get the mission appear more often. You have to remember even with increased odds, the missions are supposed to be random.
Outlaw_no1

Fightguey (6)
Fightguey (6)
Posted 14 years ago.
Yes I understand the random factor. However it just felt like it never spawned them after 2 hours or so of play. Yet other scripts with the same instance and proi number would be available all the time. I don't get why. Started a new game about 2 hours in and still getting missions. Its after that magic 2 hour mark it stopped spawning. If I load up an older game, shut of the script then reengage it, stations spawn but no missions for BH even with the higher instance and prio rate. Maybe its all in my head and its not pulling those bbs but when you save reload for 20+minutes you start thinking somethings not right.
Roguey

Trueguey (22)
Trueguey (22)
Posted 14 years ago.
Well ideally it would be better to contact the script writer who made it, as im only guessing at how it was done. They made of wrote the script to scale down on purpose.
Outlaw_no1

Fightguey (6)
Fightguey (6)
Posted 14 years ago.
I have tried but have not gotten a response back from him.
rhohltjr

Fightguey (6)
Fightguey (6)
Posted 13 years ago.
Has anyone asked Cycrow if he has been given insight into what the Rebirth developers are doing to get a jump on having his script installer/manager ready for Rebirth?
X-Rebirth is released and there was much rejoicing. Obamacare website developers point and proclaim "Yes, the website and UCA sucks, but we're not the worst,...no, not the worst anymore."
Roguey

Trueguey (22)
Trueguey (22)
Posted 13 years ago.
Well if he knows, egosoft would have swan him to secrecy. We only know about such things when its released.
1
You need to log-in to post here.
Cookie settings
Privacy policy.
Login / Register