Go to Cafe Tropico Cafe Tropico
Go to the Blue Parrot Inn
Search:     Advanced search
05/25/13 at 09:55 PM
Welcome, Guest. Please login or register.

Login with username, password and session length
207390 Posts in 10531 Topics by 2074 Members
Latest Member: cpmoneymakertutorials
   Home   Help Search Calendar Login Register  
Cafe Tropico  |  Tropico 2: Pirate Cove  |  Pirate Cove Editor/Scripting Help (Moderator: CafeDave)  |  Topic: Attention Pirates
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: Attention Pirates  (Read 674 times)
0 Members and 1 Guest are viewing this topic.
Terminator
Tourist
*
Offline Offline

Gender: Male
Posts: 5


I hate Bugs......Gotcha!muhahahaha


« on: 10/13/03 at 08:41 AM »

Allrighty.This is for those who are having problems with sunken ships inspite of having four Galleons, frigs, whatever and ppl who have problems getting captives:



rule invincible_pirates
{
conditions
{
 always_true;
}
actions
{
action enable_game_data_override { }
action assert_int { name: "/data/game/crui/dpou"; value: 0; }
action assert_int { name: "/data/game/crui/dhar"; value: 0; }
action assert_int { name: "/data/game/crui/dboa"; value: 0; }
action assert_int { name: "/data/ship/gall/spee"; value: 35; }
action assert_int { name: "/data/game/crui/cpou"; value: 0; }
action assert_int { name: "/data/game/crui/char"; value: 0; }
action assert_int { name: "/data/game/crui/cboa"; value: 0; }
}
}


However, I warn you that it will spoil the Game Entirely.This was just for testing purposes.I just want to make various difficulty levels, as an experiment, and this is just a start.With the above code, I found that no matter how strong your pirates are, if you raid a military settlement, THERE WILL BE CASUALTIES.

For those who want a more tougher game,
here:

rule tough_game
{
conditions
{
 always_true;
}
actions
{
action enable_game_data_override { }
action assert_int { name: "/data/game/crui/dpou"; value: 10; }
action assert_int { name: "/data/game/crui/dhar"; value: 2; }
action assert_int { name: "/data/game/crui/dboa"; value: 17; }
}
}

Pirates who board are most vulnerable, and harrassing means less casualties, since melee is avoided.Pounding is gunnery, so cannons are bound to do damage against your ships also.Even then results may differ.Your sloop has no chance against a frigate, even with the best trained pirates, and the above_easy code.

I want to define middle levels of difficulty, but the values are ridiculous.And I want to define the levels through the interface.I dunno how.The above code worked fine in both single games as well  sandbox, and campaign.

The research continues...
« Last Edit: 10/13/03 at 08:57 AM by Terminator » Report to moderator   Logged

Heavy_Cruiser.The name says it all.
Michaelis
Tourist
*
Offline Offline

Posts: 17


I'm a pirate!


« Reply #1 on: 10/14/03 at 01:19 AM »

Yeah, a few tweaks in this area wouldn't be bad. I had one of my snows (commanded by Kidd) defeat a military frigate. Ridiculous.

I also wish captains could die in sea battle, not just as a result of mutiny, and that they could be fired and hired at will. Do you have an idea if it's possible at all?
Report to moderator   Logged
Pages: [1]   Go Up
  Send this topic  |  Print  
Cafe Tropico  |  Tropico 2: Pirate Cove  |  Pirate Cove Editor/Scripting Help (Moderator: CafeDave)  |  Topic: Attention Pirates
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!