
Kal_El
Joined: Feb 4, 2015
|
Posted: Jul 15, 2020 12:01 PM
Msg. 1 of 7
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Jul 15, 2020 12:52 PM
Msg. 2 of 7
Scripts are just text, using keywords that the system understands as commands. What issues are you having when you try to use one of the scripts? Remember to save the text file with the extension .hsc
|
|
|

Kal_El
Joined: Feb 4, 2015
|
Posted: Jul 15, 2020 03:21 PM
Msg. 3 of 7
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Jul 16, 2020 03:42 AM
Msg. 4 of 7
All scripts having types I assume is part of it directly parsing what it sees (since static and stubs can have types, it would store all of them with types) Not sure why the global variable changed; I'd definitely call that a bug. Other than that, the rest is equivilent. hsc can have strings with quotes or not, true and false are just 1 and 0. While I dislike the unneeded begin's where they aren't needed, I do assume its that the game natrually does actually add them for structures sake.
You keep saying formatting; do you mean indentation? of course it won't keep indentation, thats presentation, the compiled script wouldn't know a thing about that. There are indeed issues, that boolean became bool, and it forcing datatypes, but it does seem quite minor to fix.
|
|
|

Kal_El
Joined: Feb 4, 2015
|
Posted: Jul 16, 2020 12:28 PM
Msg. 5 of 7
Quote: --- Original message by: kirby_422 All scripts having types I assume is part of it directly parsing what it sees (since static and stubs can have types, it would store all of them with types) Not sure why the global variable changed; I'd definitely call that a bug. Other than that, the rest is equivilent. hsc can have strings with quotes or not, true and false are just 1 and 0. While I dislike the unneeded begin's where they aren't needed, I do assume its that the game natrually does actually add them for structures sake.
You keep saying formatting; do you mean indentation? of course it won't keep indentation, thats presentation, the compiled script wouldn't know a thing about that. There are indeed issues, that boolean became bool, and it forcing datatypes, but it does seem quite minor to fix. yes it was the "indentation" that I was questioning. I try to load script back in and it is not accepted by mapfile
|
|
|

MosesofEgypt
Joined: Apr 3, 2013
|
Posted: Jul 17, 2020 09:16 PM
Msg. 6 of 7
Just use refinery for extracting scripts. It doesn't screw up anything. It's part of the MEK.
|
|
|

Kal_El
Joined: Feb 4, 2015
|
Posted: Jul 17, 2020 11:45 PM
Msg. 7 of 7
Quote: --- Original message by: MosesofEgypt Just use refinery for extracting scripts. It doesn't screw up anything. It's part of the MEK. I do use refinery & MEK! So when I extract using refinery; it does extract everyting ok; it's when I try to "edit" the scripts I need a program that can pull the scripts w/o messing them up so that I can place them back into map. Edited by Kal_El on Jul 17, 2020 at 11:48 PM
|
|
|