Page 1 of 2

The Script Workshop

Posted: Sun Nov 05, 2017 10:31 pm
by _Batman_Shadow_
Im sure if you were around in the pre-alpha days,you remember that there were alot of cool and fun scripts to play with,specifically,the DBZ one made by Xhomie,with an abundance of others,including Extremely fun maps.My request is that can some one remake the DBZ script,it would be greatly appreciated,and im sure im not the only one who would want this.Thank you for your time.













Shinobi out.

Re: Remake/Remastered Script.

Posted: Mon Nov 06, 2017 1:03 am
by JakSparro98
_Batman_Shadow_ wrote:
Sun Nov 05, 2017 10:31 pm
Im sure if you were around in the pre-alpha days,you remember that there were alot of cool and fun scripts to play with,specifically,the DBZ one made by Xhomie,with an abundance of others,including Extremely fun maps.My request is that can some one remake the DBZ script,it would be greatly appreciated,and im sure im not the only one who would want this.Thank you for your time.













Shinobi out.
Dang! You were quicker than me :) , I was thinking about the same thing, to make a thread (that I would have called "The script workshop") where All the users can send old malfunctioning scripts (both standalone or maps related) to be fixed and the community of scripters could provide their fixes.

Re: Remake/Remastered Script.

Posted: Tue Nov 07, 2017 7:00 am
by Danger Ross
I actually had an idea like that myself, to make a post about old malfunctioning maps like zombie survivals and fix em up.
...
However, When I was discussing it with my friends I realized that you would need the author's confirmation to fix the originals.

I had made a DBZ script a long time ago and I could possibly finish it for you and post it on sfd maps. It'll be slightly different but better in my opinion.
Expect it by the end of this week.

Re: Remake/Remastered Script.

Posted: Tue Nov 07, 2017 12:13 pm
by SAURABH
I made a Dbz Script when XHomie's scripts stopped working.
Here : Download Link

Re: Remake/Remastered Script.

Posted: Wed Nov 08, 2017 1:08 am
by _Batman_Shadow_
Thanks,i'd advise you to upload this to SFD.Maps.UA,and maybe name it DBZ Remastered or sumthing,so others notice it. Also,may you please add confings if you know how to disable the Up+attack rockets? Would be appreciated greatly.

Re: Remake/Remastered Script.

Posted: Wed Nov 08, 2017 9:54 am
by Motto73
Maybe we should create a shared account in sfdmaps and then upload all kinds of fixed maps and scripts? It would be a mess if everyone uploaded everything multiple times on their own accounts.

Re: Remake/Remastered Script.

Posted: Wed Nov 08, 2017 12:47 pm
by Lunatic
Hopefully when the game gets a full release on steam, it'll have workshop support and people can put their scripts/maps together for the game through it. Until then I wouldn't mind seeing you guys throw some old scripts back together - I personally loved wizards, even if it was a broken mess.

Re: Remake/Remastered Script.

Posted: Sat Nov 18, 2017 10:04 am
by SAURABH
Motto73 wrote:
Wed Nov 08, 2017 9:54 am
Maybe we should create a shared account in sfdmaps and then upload all kinds of fixed maps and scripts? It would be a mess if everyone uploaded everything multiple times on their own accounts.
I agree with that idea,
I made many maps and some scripts but haven't uploaded on website yet.
If any lead to this idea PM me :D

Re: Remake/Remastered Script.

Posted: Sat Nov 18, 2017 7:16 pm
by _Batman_Shadow_
Danger Ross wrote:
Tue Nov 07, 2017 7:00 am
I actually had an idea like that myself, to make a post about old malfunctioning maps like zombie survivals and fix em up.
...
However, When I was discussing it with my friends I realized that you would need the author's confirmation to fix the originals.

I had made a DBZ script a long time ago and I could possibly finish it for you and post it on sfd maps. It'll be slightly different but better in my opinion.
Expect it by the end of this week.
Umm...I think the end of the week is over lol.But if u have it,feel free to post it.Also,i would like to propose another script to be fixed.

WIZARDS/Tales of an Invoker. Favorite scripts in Pre-A.

Re: Remake/Remastered Script.

Posted: Sun Nov 19, 2017 2:05 pm
by JakSparro98
_Batman_Shadow_ wrote:
Sat Nov 18, 2017 7:16 pm
Danger Ross wrote:
Tue Nov 07, 2017 7:00 am
I actually had an idea like that myself, to make a post about old malfunctioning maps like zombie survivals and fix em up.
...
However, When I was discussing it with my friends I realized that you would need the author's confirmation to fix the originals.

I had made a DBZ script a long time ago and I could possibly finish it for you and post it on sfd maps. It'll be slightly different but better in my opinion.
Expect it by the end of this week.
Umm...I think the end of the week is over lol.But if u have it,feel free to post it.Also,i would like to propose another script to be fixed.

WIZARDS/Tales of an Invoker. Favorite scripts in Pre-A.
Another thing to specify is that the applicant need to provide a link for the download of the map/ script to be fixed, so to focus the attention to this thread avoiding from dispersing fixes on other discussions.

Re: Remake/Remastered Script.

Posted: Sun Nov 19, 2017 4:05 pm
by SAURABH
Here Download Link for wizards script
I just fixed some bugs in this script.
Tell me if any more bugs found while using.
*Script by #Octothorp Team*
( i just edited it)

P.S. give me link for "Tales of Invoker script", I'll try to fix it.

Re: Remake/Remastered Script.

Posted: Sun Dec 03, 2017 11:07 am
by Kawabanga
I would hug Tales of Invoker script if anyone could fix it.

Re: Remake/Remastered Script.

Posted: Mon Dec 04, 2017 12:44 am
by _Batman_Shadow_
Kawabanga wrote:
Sun Dec 03, 2017 11:07 am
I would hug Tales of Invoker script if anyone could fix it.
I saw someone playing with it,dont know how they got it but i have their discord so ima ask them.And u still play?lol

Re: Remake/Remastered Script.

Posted: Mon Dec 04, 2017 1:18 am
by JakSparro98
_Batman_Shadow_ wrote:
Mon Dec 04, 2017 12:44 am
Kawabanga wrote:
Sun Dec 03, 2017 11:07 am
I would hug Tales of Invoker script if anyone could fix it.
I saw someone playing with it,dont know how they got it but i have their discord so ima ask them.And u still play?lol
I don't know if someone already fixed the map but since I saw the Kawabanga post I'm taking care of that map, I will post the download once I will finish to manually replace all the camera areas with the new camera trigger, because the previous solution adopted by Gwendalaze is completely messed up.

I tried to programmatically replace the previous system with an hybrid one using the camera trigger but the aspect ratio of the latter makes things harder, or in some particular situations, impossible if not placed manually (note that with the camera trigger you cannot resize the viewport more than it was possible with camera areas).

By the way Kawabanga, Do you have some of your map to fix? I remember of a pirate boss battle that used scripts in some quantity...

Re: Remake/Remastered Script.

Posted: Mon Dec 04, 2017 2:01 pm
by Kawabanga
_Batman_Shadow_ wrote:
Mon Dec 04, 2017 12:44 am
(...)And u still play?lol
I occasionally play some other games but once I'm finished with them, I should be back to SFD.
JakSparro98 wrote:
Mon Dec 04, 2017 1:18 am

(...)By the way Kawabanga, Do you have some of your map to fix? I remember of a pirate boss battle that used scripts in some quantity...
Yes, in Dec. I'm going to have more time and I want to fix my maps. Haven't yet checked the complexity of the work, however. Also, don't take it as granted, but got thoughts hanging arround and figers warm to make new map.

Re: Remake/Remastered Script.

Posted: Fri Dec 15, 2017 6:36 pm
by JakSparro98
Tales of an Invoker is now ported on Beta 1.0.2b
Download
Let me know if there are problems with the new camera views (missing camera scenes, borders cutted or too large,etc...).

Re: Remake/Remastered Script.

Posted: Mon Mar 12, 2018 1:44 am
by Teh Doge
How about a remaster of the Demon King script?

Re: Remake/Remastered Script.

Posted: Mon Mar 12, 2018 5:51 pm
by SAURABH
Teh Doge wrote:
Mon Mar 12, 2018 1:44 am
How about a remaster of the Demon King script?
Here fixed this script
Download Link
Hope it's working fine now.
"Demon Lord Mode" Originally by MrAnyone
(just edited it a bit so it works now)

@Teh Doge

Re: Remake/Remastered Script.

Posted: Mon Mar 12, 2018 10:13 pm
by Teh Doge
Thank you for the edit!

Re: The Script Workshop

Posted: Thu Mar 15, 2018 7:09 am
by Motto73
Most old scripts are broken either because of
1. The new AI system (BotBehaviour, instead of BotType) or
2. The new camera system.

Quick fix that might really help in most cases:

1.1 Write this in top of the script:

Code: Select all

BotBehavior Fix_Behavior = new BotBehavior(true, PredefinedAIType.TutorialMeleeA);
1.2 Replace all instances of

Code: Select all

SetBotType(BotType.TutorialA);
with

Code: Select all

SetBotBehavior(Fix_Behavior);
2.1 The new camera can't be set on IObjects anymore (which was a handy feature). So, if you find something like

Code: Select all

Game.SetCameraArea([some text/letters WITHOUT GetAABB()]);
then you can replace it with

Code: Select all

Game.SetCameraArea([same text].GetAABB(););
2.2 Example:

Code: Select all

//Was previously:
Game.SetCameraArea(obj);
//Fix it to
Game.SetCameraArea(obj.GetAABB());
Not guaranteed to fix everything but give it a try. These are just the most common fixes that need to be made.