English Stranded II Enhanced + (read last posts)

28 replies
Goto Page
To the start Previous 1 2 Next To the start
Up
ModJuicer
Super User
Offline Off
Refer to last posts
edited 5×, last 10.05.19 07:28:29 pm
Download SII Enhanced Here> IMG:https://www.mediafire.com/convkey/adb3/7cwx7c9bgnfmyfg6g.jpg
< Download SII Enhanced Here
03.04.19 08:15:32 pm
Up
Assassin moder
User
Offline Off
use
Code:
1
2
3
on:attack1 {
     skipevent;
}
03.04.19 08:18:58 pm
Up
ModJuicer
Super User
Offline Off
refer to last posts
edited 1×, last 10.05.19 07:28:48 pm
Download SII Enhanced Here> IMG:https://www.mediafire.com/convkey/adb3/7cwx7c9bgnfmyfg6g.jpg
< Download SII Enhanced Here
11.04.19 03:17:48 pm
Up
JasJack67
Super User
Offline Off
Code:
1
2
3
4
5
6
on:attack1 {
     if(lives("unit",1)==1){
          play "sound.wav";
          flash 255,255,255,0.8,1.3;
     }
}


Attach this script to player ID=1.
If the player is dead nothing will happen.
In play, the name of the file to play in the sounds folder.
In flash, the first 3 numbers are the color, then the other 2 numbers can be manipulated for length of time the flash exists and speed at which it fades out/in.
The Survivalist_11-11-19 is now available. DOWNLOAD HERE >The Survivalist 11-11-19 | Performance-In options keep Water Detail off
11.04.19 09:09:10 pm
Up
ModJuicer
Super User
Offline Off
refer to last posts
edited 1×, last 10.05.19 07:29:05 pm
Download SII Enhanced Here> IMG:https://www.mediafire.com/convkey/adb3/7cwx7c9bgnfmyfg6g.jpg
< Download SII Enhanced Here
12.04.19 04:00:08 am
Up
JasJack67
Super User
Offline Off
skipevent; simply nullifies the intended event...so basically when you click attack1 mouse button NOTHING happens because it skips the event to attack.

Same for where ever you put skipevent...if, for example,
you script on:changeday{ skipevent;} the day will
not change. That's all it does...it skips the original
intended event.

Just for the record: you can also add script before or after the skipevent; command and those scripts will still run...only the original event will be skipped.

so example time:
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
This script you will notice when hitting
attack button the player does not attack or hit
anything, or shoot or swing a weapon...but you
still get the sound and flash

on:attack1 {
     skipevent;
     if(lives("unit",1)==1){
          play "sound.wav";
          flash 255,255,255,0.8,1.3;
     }
}

in scripting though i found sometimes i had to move the
skipevent; below the script to make it do this. Like it
depends on where you use it.

on:attack1 {
     if(lives("unit",1)==1){
          play "sound.wav";
          flash 255,255,255,0.8,1.3;
     }
     skipevent;
}

one of these two will result in not attacking anything,
but still have sound n flash.
The Survivalist_11-11-19 is now available. DOWNLOAD HERE >The Survivalist 11-11-19 | Performance-In options keep Water Detail off
16.04.19 05:01:13 pm
Up
ModJuicer
Super User
Offline Off
refer to last posts
edited 2×, last 10.05.19 07:29:22 pm
Download SII Enhanced Here> IMG:https://www.mediafire.com/convkey/adb3/7cwx7c9bgnfmyfg6g.jpg
< Download SII Enhanced Here
17.04.19 08:18:11 am
Up
JasJack67
Super User
Offline Off
well, you can try editing the global script in the game.inf file maybe that will make it work.

Code:
1
2
3
4
5
6
7
on:keyhit03 {
     primary_attack;
}

on:keyhit04 {
     secondary_attack;
}


i didn't actually test so idk why it wouldn't work for ya...and idk if anyone edited the source code in the .exe your using.
The Survivalist_11-11-19 is now available. DOWNLOAD HERE >The Survivalist 11-11-19 | Performance-In options keep Water Detail off
17.04.19 05:56:43 pm
Up
ModJuicer
Super User
Offline Off
refer to last posts
edited 1×, last 10.05.19 07:29:39 pm
Download SII Enhanced Here> IMG:https://www.mediafire.com/convkey/adb3/7cwx7c9bgnfmyfg6g.jpg
< Download SII Enhanced Here
17.04.19 08:28:01 pm
Up
JasJack67
Super User
Offline Off
now your gettin it yes.

but you have a mistake in the first line use { not ; and use keyhit03 as that is the key you hit (mouse button) per options, setting, controls.
Code:
1
on:keyhit03 {


p.s. scripting is very strict. you need " around the sound file name like this:

play "sound.wav";

Code:
1
2
3
4
on:keyhit03 {
     flash 255,255,255;
     play "sound.wav";
}
edited 8×, last 17.04.19 08:58:03 pm
The Survivalist_11-11-19 is now available. DOWNLOAD HERE >The Survivalist 11-11-19 | Performance-In options keep Water Detail off
17.04.19 08:28:41 pm
Up
Assassin moder
User
Offline Off
@user ModJuicer: no.. There is a long road of scripting in front of you..
17.04.19 10:49:25 pm
Up
ModJuicer
Super User
Offline Off
refer to last posts
edited 1×, last 10.05.19 07:30:02 pm
Download SII Enhanced Here> IMG:https://www.mediafire.com/convkey/adb3/7cwx7c9bgnfmyfg6g.jpg
< Download SII Enhanced Here
18.04.19 12:21:04 am
Up
JasJack67
Super User
Offline Off
tower defense doesn't hit a button like the player. what i said above is accurate.
The Survivalist_11-11-19 is now available. DOWNLOAD HERE >The Survivalist 11-11-19 | Performance-In options keep Water Detail off
18.04.19 07:04:44 pm
Up
ModJuicer
Super User
Offline Off
refer to last posts
edited 2×, last 10.05.19 07:30:21 pm
Download SII Enhanced Here> IMG:https://www.mediafire.com/convkey/adb3/7cwx7c9bgnfmyfg6g.jpg
< Download SII Enhanced Here
20.04.19 03:06:45 pm
Up
JasJack67
Super User
Offline Off
you have been asked before to post your script so we can see what your doing, and if your doing something wrong. It is more productive this way...we can tell you what to correct. It also shows use your not just bullshitting us and wasting our time and we see your at least trying.

Just saying" it doesn't work" or "might be doing it wrong" is irrelevant if we can't see what your writing.

It won't work if you are missing a "."comma , or a ( or a { or " or something else.

p.s. I see no reason this would not work. copy n paste it to the player scripts ID=1. Make sure it is the ONLY on:attack1 command. If you have 2 of them post the other one so we can see it.
Code:
1
2
3
4
5
6
on:attack1 {
     if(lives("unit",1)==1){
          play "sound.wav";
          flash 255,255,255,0.8,1.3;
     }
}

Attach this script to player ID=1.
If the player is dead nothing will happen.
In play, the name of the file to play in the sounds folder.
In flash, the first 3 numbers are the color, then the other 2 numbers can be manipulated for length of time the flash exists and speed at which it fades out/in.
edited 2×, last 20.04.19 03:29:42 pm
The Survivalist_11-11-19 is now available. DOWNLOAD HERE >The Survivalist 11-11-19 | Performance-In options keep Water Detail off
23.04.19 10:50:15 pm
Up
ModJuicer
Super User
Offline Off
refer to last posts
edited 1×, last 10.05.19 07:30:40 pm
Download SII Enhanced Here> IMG:https://www.mediafire.com/convkey/adb3/7cwx7c9bgnfmyfg6g.jpg
< Download SII Enhanced Here
24.04.19 08:43:37 am
Up
JasJack67
Super User
Offline Off
yes...you may want to go ahead and change the 3 color numbers from 255 to the color you want for testing, as 255,255,255 might not show a color or would be white or clear im not sure...like 0,255,0 would be green color for sure.

be sure to attach it to the player ID=1 right under the SCRIPT=START section...and make sure you only have the one on:attack1 command. If you already see a on:attack1 command copy-n-paste it here so we can make ONE script together out of the two.

p.s.
that other GLOBAL script above on:keyhit03 didn't work because i didn't notice it is the ALTERNATE PRIMARY ATTACK assigned in OPTIONS when you hit key "O". Would only work if you hit that assigned "O" key. (assuming it was setup that way in your .exe, or you can also set the key to what ever you wanted to in options)
The Survivalist_11-11-19 is now available. DOWNLOAD HERE >The Survivalist 11-11-19 | Performance-In options keep Water Detail off
24.04.19 09:29:13 pm
Up
ModJuicer
Super User
Offline Off
refer to last posts
edited 2×, last 10.05.19 07:30:58 pm
Download SII Enhanced Here> IMG:https://www.mediafire.com/convkey/adb3/7cwx7c9bgnfmyfg6g.jpg
< Download SII Enhanced Here
25.04.19 03:39:28 am
Up
JasJack67
Super User
Offline Off
right...i said attach it to the player ID=1 (units.inf) not the global (game.inf)
Quote:
be sure to attach it to the player ID=1 right under the SCRIPT=START section


no i didn't test them...it's a simply script I just believe works. But you have to follow my instructions.

did you change the color like i said?
did you attach it to player 1 scripts?
is there only 1 attack1 command in the player 1 scripts?

if it does work after you put it in the right place, then the shame of it all is...this was solved 15 posts ago with my first answer.

P.S. (5 minutes later) ok i tested it...this one works ONLY WHEN YOU HIT SOMETHING not every click but only when clicking and hitting something.

Code:
1
2
3
4
5
6
on:attack1 {
    if(lives("unit",1)==1){
        play "dog_bark1.wav";
        flash 0,255,0,0.8,1.3;
     }
}


This one below works every click no matter what. I hear the dog bark and get a green flash every click.
Code:
1
2
3
4
5
6
7
on:attack1 {
    skipevent;
    if(lives("unit",1)==1){
        play "dog_bark1.wav";
        flash 0,255,0,0.8,1.3;
     }
}


would have been solved days ago if you listen to my instructions and post your script so we can see where you made a mistake.
edited 4×, last 25.04.19 04:03:17 am
The Survivalist_11-11-19 is now available. DOWNLOAD HERE >The Survivalist 11-11-19 | Performance-In options keep Water Detail off
25.04.19 07:10:35 pm
Up
ModJuicer
Super User
Offline Off
refer to last posts
edited 1×, last 10.05.19 07:31:15 pm
Download SII Enhanced Here> IMG:https://www.mediafire.com/convkey/adb3/7cwx7c9bgnfmyfg6g.jpg
< Download SII Enhanced Here
To the start Previous 1 2 Next To the start