NPC ships overheating and heat shielding
Moderators: winston, another_commander
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Here’s one I missed: max_missiles, i+, applies only to player, same as missiles by default.
Edit: I also missed several station keys:
port_radius and port_dimensions are not known to be useful, since the same information can be specified more easily by using a docking port model.
Edit: I also missed several station keys:
Code: Select all
port_radius f+
port_dimensions string
equivalent_tech_level i+
max_scavengers i+ 3
max_defense_ships i+ 3
max_police i+ 8
equipment_price_factor f+ 1
E-mail: [email protected]
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
I’ve found another one: conditions. This is a script couplet checked when generating a ship by role.
While hasShipyard is merely a single condition string, conditions is a full “couplet”, that is, a {conditions, do, else} dictionary. The ship will only be generated if the conditions pass; the do and else blocks will be executed as usual (with the player as target).
While hasShipyard is merely a single condition string, conditions is a full “couplet”, that is, a {conditions, do, else} dictionary. The ship will only be generated if the conditions pass; the do and else blocks will be executed as usual (with the player as target).
E-mail: [email protected]
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
E-mail: [email protected]
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Sunskimming
For a mission I have created a research station near a sun. Found out that he will eventually overheat if he is on a distance of 2 solar radii but stays save on 2.5 radii.
To have some action around the station I let some researchships dive into the plasma and return again. I use part of the sunskimmerAI script. But not between sun and planet but between sun and the orbital station.
At first I noticed that no ship ever came back. So I followed one. He overheated even before the SunSkimStartCoordinates are reached. So I tried to solve the problem to give ship a higher max speed of about 700. Now he reaches the sun skim start and end coordinates. As I follow him, my fuelscoops kick in on the lowest point. But on the way up the ships I follow overheat again.
Then I gave then fuel-injectors and set the speedfactor in the AI script at about 1.8 till 2.5 He dives into the sun, with full injectors. I can hardly follow him. He turns, and flies back again. This time he comes out alive and is abel to dock the station.
But only on a system with a small to medium sun. In a system with a big sun the trip through the plasma takes to long and he still overheats. I let it this way. It is a researchship and with such things thing can go wrong.
Now I read about heat_insulation. A nice thing, but not working in version 1.65. But I put it in anyway so it will work in future versions.
All this research made me wonder: has anyone ever seen a sunskimmer re-surface?? I had to tweek the script enormous to let my ships survive. On the other hand, I used small ships to dive in and the ships with sunskimmer role are all large.
To have some action around the station I let some researchships dive into the plasma and return again. I use part of the sunskimmerAI script. But not between sun and planet but between sun and the orbital station.
At first I noticed that no ship ever came back. So I followed one. He overheated even before the SunSkimStartCoordinates are reached. So I tried to solve the problem to give ship a higher max speed of about 700. Now he reaches the sun skim start and end coordinates. As I follow him, my fuelscoops kick in on the lowest point. But on the way up the ships I follow overheat again.
Then I gave then fuel-injectors and set the speedfactor in the AI script at about 1.8 till 2.5 He dives into the sun, with full injectors. I can hardly follow him. He turns, and flies back again. This time he comes out alive and is abel to dock the station.
But only on a system with a small to medium sun. In a system with a big sun the trip through the plasma takes to long and he still overheats. I let it this way. It is a researchship and with such things thing can go wrong.
Now I read about heat_insulation. A nice thing, but not working in version 1.65. But I put it in anyway so it will work in future versions.
All this research made me wonder: has anyone ever seen a sunskimmer re-surface?? I had to tweek the script enormous to let my ships survive. On the other hand, I used small ships to dive in and the ships with sunskimmer role are all large.
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
As I explored with the station, the energy nor recharge rate have any influence on the time till overheating. When the station gets overheated you see sparks getting out of the station. From this point on higher energy lenghten the time till explosion.@ Eric Walch: Another possibility: Give it lots and lots of energy and a big recharge rate.
I've done that with a solar research station in an OXP I am working on. But still it can explode during the mission, if the player doesn't arrive in-time with some much-needed spare parts.
Explosion is wanted in my case but the player must have time do dock and launch before explosion.
- LittleBear
- ---- E L I T E ----
- Posts: 2882
- Joined: Tue Apr 04, 2006 7:02 pm
- Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.
You might have already tried this Eric, but A wrote earlier:-
that might stop it blowing up. Trouble is you want to to blow up at somepoint. Perhaps playing about with the number would give a value that keeps the station alive for the amount of time you want?
If you turned this up in the shipdata entry for the special station to somthing silly like:-Non-player ships can’t have heat shielding as an equipment item. However, they can have a heat_insulation setting; the default is 1.0, heat shielding for the player raises it to 2.0. The downside to this is that it can’t be set as a fuzzy boolean (probability) as McLane suggested.
Code: Select all
<key>heat_insulation</key>
<integer>999999</integer>
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
- Cmdr Wyvern
- ---- E L I T E ----
- Posts: 1649
- Joined: Tue Apr 11, 2006 1:47 am
- Location: Somewhere in the great starry void
Allow me to disagree somewhat, Commander.Commander McLane wrote:In general I'd say that sunskimming is stupid unless there is a very good reason for it (no main station, trumbles...). The fuel costs are negligible, so economically there is no need for sunskimming IMHO.
I've gotten into the habit of sundiving to top off the tanks, then flying back to the witchpace beacon and heading insystem from there. It's not to save on fuel costs, but to insure a plentiful supply to feed the injectors when I find some pirate scum to kill.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Okay, that's a reason. On the other hand, I prefer to keep my jumps short, so I still have plenty of fuel on my way to the planet.Cmdr Wyvern wrote:Allow me to disagree somewhat, Commander.Commander McLane wrote:In general I'd say that sunskimming is stupid unless there is a very good reason for it (no main station, trumbles...). The fuel costs are negligible, so economically there is no need for sunskimming IMHO.
I've gotten into the habit of sundiving to top off the tanks, then flying back to the witchpace beacon and heading insystem from there. It's not to save on fuel costs, but to insure a plentiful supply to feed the injectors when I find some pirate scum to kill.
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Well, that depends entirely on the value you set it to. In Equilibrium.oxp (WIP) my Solar Research Station uses <key>max_energy</key><real>75000</real> and <key>energy_recharge_rate</key><real>400</real> and is placed very close to the sun (to be precise: exactly at the point where the player's height-bar turns red). This is sufficient for the player to (a) fly to the Solar Research Station from the main station (the Solar Research Station is spawned when he launches from the main station), (b) dock with it and get some instructions, (c) return to the main station and dock there, (d) return to the Solar Research Station with a delivery and (e) leave the system to get another delivery. He has to hurry with this, though, or the station will blow up, thus changing the course of the mission.Eric Walch wrote:As I explored with the station, the energy nor recharge rate have any influence on the time till overheating. When the station gets overheated you see sparks getting out of the station. From this point on higher energy lenghten the time till explosion.@ Eric Walch: Another possibility: Give it lots and lots of energy and a big recharge rate.
I've done that with a solar research station in an OXP I am working on. But still it can explode during the mission, if the player doesn't arrive in-time with some much-needed spare parts.
Explosion is wanted in my case but the player must have time do dock and launch before explosion.
- Cmdr Wyvern
- ---- E L I T E ----
- Posts: 1649
- Joined: Tue Apr 11, 2006 1:47 am
- Location: Somewhere in the great starry void
I prefer to load my Dragon's launcher with hardheads when I find them offered, and the occasional nuke. The external droptanks are available, but I don't bother; the droptanks are expensive when fuel is dirt cheap, and I'de rather pay to have a killing arsonal.TGHC wrote:I used the same technique a lot in assassins when I knew I had a major battle to participate in, but I didn't have any top up tanks, I filled up with hard hats.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor