so i need to find out how to make the shovel reduce the terrain hight by 3 eachtime so it makes somthing like a trench
Forum
Stranded II Scripts I need help with scriptsI need help with scripts
6 replies 1
so i need to find out how to make the shovel reduce the terrain hight by 3 eachtime so it makes somthing like a trench
unfortunately this is one of the commands which has no english description, so best use google translator and try to understand it, even if the result of the translation might not be 100% perfect.
also dont switch the command reference page to english language because there are quite a lot commands, as I have noticed, which dont show some or all parameters in the english description unlike in the german one in which they are shown.
btw: yes, this is the right place to post such questions
well thiere is another script i need how would i get the american soldiers to shoot germans
having units attack each other is pretty complicated and there already have been several attempts from good scripters to write a script which could do this but as far as I know all of them weren't working more or less.
i think this mod will take a while so im going to see if anyone wants to help
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
on:attack2 { 		$tmp1=random(1,50); 		if ($tmp1==25){ 			terrain getx("self"), getz("self"), 2, -0.2; 			create "object",241,getx("self"),getz("self"); 			process "Uncovering Coal Deposit",10000; 			event "iskill_mining","global"; 			event "iskill_dig","global"; 			find 4997; 			find 21,(random(5,10)); 			jade 25; 		}else{ 			terrain getx("self"), getz("self"), 2, -0.1; 			jade 25; 			process "Lowering Land",10000; 			speech "positive"; 			event "iskill_dig","global"; 			find 4997; 			find 21,(random(5,10)); 		} 	}
Note: The ID 241 corresponds to a rare item mod. You can put another object in place of this.
The ID 4997 is an item that represents a lot of land that was taken from the ground.
Good Luck
RrR2010 has written
I have a mod that I downloaded from the Internet that has the script that you want. You can modify it according to your taste.
Note: The ID 241 corresponds to a rare item mod. You can put another object in place of this.
The ID 4997 is an item that represents a lot of land that was taken from the ground.
Good Luck
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
on:attack2 { 		$tmp1=random(1,50); 		if ($tmp1==25){ 			terrain getx("self"), getz("self"), 2, -0.2; 			create "object",241,getx("self"),getz("self"); 			process "Uncovering Coal Deposit",10000; 			event "iskill_mining","global"; 			event "iskill_dig","global"; 			find 4997; 			find 21,(random(5,10)); 			jade 25; 		}else{ 			terrain getx("self"), getz("self"), 2, -0.1; 			jade 25; 			process "Lowering Land",10000; 			speech "positive"; 			event "iskill_dig","global"; 			find 4997; 			find 21,(random(5,10)); 		} 	}
Note: The ID 241 corresponds to a rare item mod. You can put another object in place of this.
The ID 4997 is an item that represents a lot of land that was taken from the ground.
Good Luck
That script is from Massive Mod, isn't it?
and don't forget, in the original stranded you don't have "mining" skill.
1