Random Assassination Contracts
Moderators: winston, another_commander
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
- 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.
The pulse laser is working quite well. And it is in keeping with the nasty nature of the Dictatorship. They don't care about their crews, just churn out hundreds of small cheap ships!
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.
- 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.
I've got an AI for the Defence ships working. They attack anything that is not an "imperial". This gives the effect I want as they will attack both the player and the rebels. To stop them wandering off and attacking a Trade ship or any of the ships the game normally adds, i used the SendShipsAway command, which is meant to cause all ships in the system to hyperspace out. I put this command in my script before the script adds the Deathburger, rebels and imperials. So I should have an empty system.
In the script I've put:-
{
conditions = (
"galaxy_number equal 6",
"mission_assassins equal assassins_STAGE11b",
"planet_number equal 13",
"status_string equal STATUS_EXITING_WITCHSPACE"
);
do = ( "checkForShips: victim9",
{ conditions = ( "shipsFound_number equal 0" );
do = ("sendAllShipsAway");
},
);
},
The condition of not finding a victim9 is true, as this is before victim9 is added. When I jumped in there was nothing on my scanner except the Defence ships. But a minute into the battle a Mosquito Trader appeared and some of the Defence ships went off to attack it.
Have I gone wrong somewhere?
In the script I've put:-
{
conditions = (
"galaxy_number equal 6",
"mission_assassins equal assassins_STAGE11b",
"planet_number equal 13",
"status_string equal STATUS_EXITING_WITCHSPACE"
);
do = ( "checkForShips: victim9",
{ conditions = ( "shipsFound_number equal 0" );
do = ("sendAllShipsAway");
},
);
},
The condition of not finding a victim9 is true, as this is before victim9 is added. When I jumped in there was nothing on my scanner except the Defence ships. But a minute into the battle a Mosquito Trader appeared and some of the Defence ships went off to attack it.
Have I gone wrong somewhere?
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.
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
no this is normal behaviour. Ships are added continuously to replace those lost to piracy, hypering out etcetera.
you could add an interdiction warning to a buoyAI to explain the excessive aggression.
UPDATE = (
"sendCommsMessage: WARNING! THIS SYSTEM IS UNDER BLOCKADE",
"pauseAI: 5.0",
"sendCommsMessage: By the command of the Baron,
all ships not compliant with Baronial transponder codes will be deemed hostile and attacked on sight.",
"pauseAI: 10.0",
"sendCommsMessage: LEAVE NOW!",
"pauseAI: 15.0"
);
you could add an interdiction warning to a buoyAI to explain the excessive aggression.
UPDATE = (
"sendCommsMessage: WARNING! THIS SYSTEM IS UNDER BLOCKADE",
"pauseAI: 5.0",
"sendCommsMessage: By the command of the Baron,
all ships not compliant with Baronial transponder codes will be deemed hostile and attacked on sight.",
"pauseAI: 10.0",
"sendCommsMessage: LEAVE NOW!",
"pauseAI: 15.0"
);
Riding the Rocket!
- 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.
Like it!
To get the AIs working proberly I've had to give the Dictatorship ships Thargoid ScanClass and the Rebels Police Scan Class. This isn't exactly what I wanted, but I can explain it in plot terms by the GalCop Union of Worlds voting to expell Esausve from the Union of Worlds for violating the treaty against Weapons of Mass Destruction and recognising the rebels as the offical Govenment.
Will do a beacon!
To get the AIs working proberly I've had to give the Dictatorship ships Thargoid ScanClass and the Rebels Police Scan Class. This isn't exactly what I wanted, but I can explain it in plot terms by the GalCop Union of Worlds voting to expell Esausve from the Union of Worlds for violating the treaty against Weapons of Mass Destruction and recognising the rebels as the offical Govenment.
Will do a beacon!
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.
-
- ---- E L I T E ----
- Posts: 452
- Joined: Mon Mar 13, 2006 5:46 pm
- Location: St Petersburg, Russia
- Contact:
Randomly appearing thargoids will ally with Dictatorship then, doesn't it look strange?LittleBear wrote:Like it!
To get the AIs working proberly I've had to give the Dictatorship ships Thargoid ScanClass and the Rebels Police Scan Class. This isn't exactly what I wanted, but I can explain it in plot terms by the GalCop Union of Worlds voting to expell Esausve from the Union of Worlds for violating the treaty against Weapons of Mass Destruction and recognising the rebels as the offical Govenment.
Will do a beacon!
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
Alternatively you could have bounties on the Esausians and none on the Rebels. (as they are gal-coop fugitives).
Then checkForLegalStatus.
(does require the player to be clean though, but galcoop can expunge your criminalrecord easilly)
Why does scanForShipsWithRole: rebel/loyalist not work then?
Then checkForLegalStatus.
(does require the player to be clean though, but galcoop can expunge your criminalrecord easilly)
Why does scanForShipsWithRole: rebel/loyalist not work then?
Riding the Rocket!
- 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.
Cos I didn't include role. Having another go with that!
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.
- 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.
I took ThargoidAI and replaced the "scanforNonThargoid" bit
with
scanForShipsWithRole:erebel,
The rebels have the role erebel, but the ships just tumble (I've put 4 erebel ships within 100m of the Dictatorship craft). They will attack the player if he attacks them.
Any ideas?
with
scanForShipsWithRole:erebel,
The rebels have the role erebel, but the ships just tumble (I've put 4 erebel ships within 100m of the Dictatorship craft). They will attack the player if he attacks them.
Any ideas?
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.
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
first: put a space between erebel and the method.
I'll have to look at ThargoidAI....yes, SHOULD work.
check your spelling, looks like a mismatch of roles.
and investigate the stvderr (forWin) debug output file whether the AI crashes.
Ships launched from the station in defence can have interceptAI.plist
Ships meant for guarding, should have something more like the planetPatrollAI.
You could script station to populate space around it with a minimum of interceptors, like thus (I hope)
I'll have to look at ThargoidAI....yes, SHOULD work.
check your spelling, looks like a mismatch of roles.
and investigate the stvderr (forWin) debug output file whether the AI crashes.
Ships launched from the station in defence can have interceptAI.plist
Ships meant for guarding, should have something more like the planetPatrollAI.
You could script station to populate space around it with a minimum of interceptors, like thus (I hope)
Code: Select all
<key>UPDATE</key>
<array>
<string>checkForShips: Edefender</string>
<dict>
<key>Conditions</key>
<array>
<string>shipFound_number lessThan 12</string>
</array>
<key>Do</key>
<array>
<string>launchDefenceShip</string>
<string>pauseAI: 10</string>
<string>launchDefenceShip</string>
<string>pauseAI: 10</string>
</array>
</dict>
<array>
Riding the Rocket!
- 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.
I might come back to this, but I'm reasonabley happy with the use of the scanclass. At least it works and has the rebels attcking the Imperials and the imperials attcking both the rebels and the player.
The only side-effect is that a Thargoid appearing would only go for the rebels, player and any normal ships. On the other hand this won't look too bad as Thargoids do normally attack all these ships. I'll set the players legal status to zero when the mission starts (fair enough if he is helping in an attack on a rough state), so the rebels won't go for him. By putting bounties of 100 on the Moogose ships and the Deathburger the rebels will go for them as well. (I'll just award less credits for completing the mission to balance the money earnt out).
Doing this way does have some advantages:-
1) Player can tell friend from foe on the scanner.
2) If the player does use a q-mine or e-bomb and causes collateral damage, then the rebels will turn on him. (fair enough, be more carefull).
Dictership Mongoose Fighters battleing Rebel Cobras:-
The only side-effect is that a Thargoid appearing would only go for the rebels, player and any normal ships. On the other hand this won't look too bad as Thargoids do normally attack all these ships. I'll set the players legal status to zero when the mission starts (fair enough if he is helping in an attack on a rough state), so the rebels won't go for him. By putting bounties of 100 on the Moogose ships and the Deathburger the rebels will go for them as well. (I'll just award less credits for completing the mission to balance the money earnt out).
Doing this way does have some advantages:-
1) Player can tell friend from foe on the scanner.
2) If the player does use a q-mine or e-bomb and causes collateral damage, then the rebels will turn on him. (fair enough, be more carefull).
Dictership Mongoose Fighters battleing Rebel Cobras:-
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.
- lex_talionis
- Deadly
- Posts: 160
- Joined: Thu Nov 10, 2005 3:46 pm
- Location: Inverness, Scotland
- 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.
I just followed your tip to upload to PhotoBucket. How do I make 'em bigger?
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.
- lex_talionis
- Deadly
- Posts: 160
- Joined: Thu Nov 10, 2005 3:46 pm
- Location: Inverness, Scotland
damn, does photobucket automatically resize? hrm. might be useful re-saving em as a jpg which will take up less memory (i think) which'll allow you to have em bigger. photobucket has... 250KB upload limit?
unless of course you play oolite that size, in which case make your play window bigger for bigger pics!
unless of course you play oolite that size, in which case make your play window bigger for bigger pics!
edible poet? onna stick?
- 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.
Getting there. But this battle has been a bitch to script!!
Currently have over 100 Mongoose Fighters in the system and about 20 rebels, with another 30 Mongoose Fighters guarding the Deathburger.
Currently using 30 odd script commands to add the ships in partrols, batteling groups and player inctercepters. Still need to do a lot on makling the battle invole the player more. At the moment the Mongoose Fighters are mainly going for the Cobras and the player can sail through!
But at least their AIs work!
Rebel Cobras engaged by Mongoose Fighters:
Close up of Mongoose Fighter:
These pics big enough!
Currently have over 100 Mongoose Fighters in the system and about 20 rebels, with another 30 Mongoose Fighters guarding the Deathburger.
Currently using 30 odd script commands to add the ships in partrols, batteling groups and player inctercepters. Still need to do a lot on makling the battle invole the player more. At the moment the Mongoose Fighters are mainly going for the Cobras and the player can sail through!
But at least their AIs work!
Rebel Cobras engaged by Mongoose Fighters:
Close up of Mongoose Fighter:
These pics big enough!
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.