Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum?
Say hello in this topic! Also make sure to read
the rules.
Give us your input on how we may improve the ScriptAPI in the game in future versions.
-
-
The official Discord channel
Replies: 3
by
Hjarpe » Mon Nov 23, 2020 7:42 pm » in
General
First post
Attention superfighters!
Step right up, come on in, and join the super-official MythoLogic Interactive Discord server!
There are topics for Superfighters Deluxe, map-making, bug reports and feedback, excellent memes, as well as upcoming games like Filcher and Barbarian Odyssey.
Link:
It's like...
Last post
Woah, very nice! So many people have been asking around for this and now it finally exists.
- 3 Replies
- 16238 Views
-
Last post by tilt56
Mon Nov 23, 2020 11:42 pm
-
-
Forum rules
by
admin » Sun Feb 28, 2016 2:08 pm » in
General
Posting in any part of the forum will require you to follow these rules.
Breaking any of these rules will get you a warning, which will be recorded, or get your account locked depending on the severity of the post.
1) Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening,...
- 0 Replies
- 28166 Views
-
Last post by admin
Sun Feb 28, 2016 2:08 pm
-
-
StartScript with additional parameters
Replies: 1
by
JakSparro98 » Fri Sep 29, 2017 12:35 am
First post
To quickly adjust some effects of scripts in runtime I would suggest adding the possibility to start a script as functions like StartScript Example( hello ,4) .
With a string parser could be possible do the trick, since, as I think, the command searches for a script name matching the string, once...
Last post
I'm sure some form of this would be implemented once Gurt adds chat reading.
- 1 Replies
- 1876 Views
-
Last post by Danger Ross
Fri Sep 29, 2017 2:48 pm
-
-
Be able to read player input
Replies: 1
by
android7 » Thu Sep 14, 2017 7:49 pm
First post
Is there a way in SFD to check for pressed keys? Like Keyboard.IsKeyDown(Key.LeftAlt) but works in script?
Last post
Nope. We have vague plans to introduce something like this in the future but these plans might be scrapped. Depends if we need it ourselves or not.
- 1 Replies
- 1855 Views
-
Last post by Gurt
Thu Sep 14, 2017 10:39 pm
-
-
Neverending rocketride
Replies: 6
by
Shock » Thu Aug 17, 2017 7:41 pm
First post
First of all... Is this possible?
1.So... I need a script , when someone shoots bazooka at any player - he can fly infinitely , until he crash.
Please... Can you help bros?
Last post
The only thing that really matters for projectiles is the possibility to make AreaTriggers to recognize projectile presence and only read their main attributes (and of course the only method to remove it), I think (and hope) there will never be the need of a fully handling.
I'm glad to read that...
- 6 Replies
- 3684 Views
-
Last post by JakSparro98
Sun Aug 20, 2017 1:43 pm
-
-
Flip objects through script
by
JakSparro98 » Fri Aug 18, 2017 6:16 pm
A simple command that allows to flip an IObject, this can be usefull for a whole group of objects (for instance a car to turn back) for inverting all their tiles rather than creating another version of the same object but manually flipped.
abstract void Flip ( FlipDirection direction )
enum...
- 0 Replies
- 1714 Views
-
Last post by JakSparro98
Fri Aug 18, 2017 6:16 pm
-
-
Be able to change object color
Replies: 7
by
Hoang Marcel » Wed May 18, 2016 11:37 am
First post
How do you create color object through scripting?
Game.CreateObject( BgWall00B ,Position);
Last post
You can't change the color of an object today. It's part of the planned ScriptAPI changes.
- 7 Replies
- 4897 Views
-
Last post by Gurt
Fri Mar 31, 2017 9:10 pm
-
-
More script player modifications
by
Lunatic » Mon Mar 06, 2017 9:57 pm
In 1.2.0, new ways to modify the player were added to the script API. Things like the ability to change how much damage is taken from explosives/fire/falls, change movement speed for both jogging and sprinting, the ability to change how much stamina you use and how fast it regenerates... These are...
- 0 Replies
- 1566 Views
-
Last post by Lunatic
Mon Mar 06, 2017 9:57 pm
-
-
a script to be able to create/ change a players control settings
Replies: 3
by
jamisco » Sun Feb 26, 2017 6:00 am
First post
create or change .... no preference really fyi
what i mean by control settings are,for example, for me my controls are, to shoot i press J, to block i press L, to kick i press K and i move with wasd keys... now, i checked the script api, i couldn't seem to find method or something that allowed me...
Last post
Perhaps one day you will be able to read pressed keys (like key GRAB or key JUMP) in the ScriptAPI but not today.
- 3 Replies
- 2500 Views
-
Last post by Gurt
Sun Feb 26, 2017 9:36 pm
-
-
Coroutines in Script API
Replies: 1
by
JakSparro98 » Thu Jan 12, 2017 6:41 pm
First post
I surrender at the idea we won't never see thread implementation in SFD and this brought me to reconsider to split long running functions (containing long loops or recursion) in one cycle per game update.
But the raw implementation could be complex in some cases, even if we don't want to rewrite...
Last post
Threading (using threads or tasks) will not be supported in SFD as it will cause racing conditions and runtime errors if any manipulation or reading on the state of the game is performed from a thread. The ScriptAPI just isn't build around threads :)
However, adding some sort of support around...
- 1 Replies
- 2084 Views
-
Last post by Gurt
Thu Jan 12, 2017 8:18 pm
-
-
Storing data in database/file
Replies: 3
by
MScull » Sat Dec 31, 2016 10:54 pm
First post
Hello,
I've seen a server storing player's data in a database. So your data wouldn't get lost when you rejoin.
I was wondering if it would be possible to store data in an external file/database. If so, an example would be really appreciated.
Thanks in advance.
-MScull
Last post
Thanks for posting a link to the original thread. I'm really happy that there will be a way to do it in the future.
- 3 Replies
- 3023 Views
-
Last post by MScull
Sun Jan 01, 2017 6:52 pm
-
-
Need a script to manipulate weapon's mag ammo.
Replies: 5
by
Dumby Eggy » Wed Dec 28, 2016 11:03 pm
First post
I was wondering if there could be a way to manipulate or change the mag ammo vaule throught the script_API.
I Want to change the mag ammo limit of the sniper rifle to make it only hold until 2 mags ( like 3 bullets/2 spare mags). If it's possible, to change the bullet limit too.
Thanks for any...
Last post
yep, but is not excluded in the future.
- 5 Replies
- 3567 Views
-
Last post by JakSparro98
Thu Dec 29, 2016 10:32 pm
-
-
SetStamina() ?
by
Danger Ross » Sat Dec 03, 2016 8:41 pm
This is probably one of the more important features that should be in the script API, but isn't.
I don't even know how this feature could be overlooked... There needs to be a a method that allows users to manipulate stamina the same way you would manipulate health.
With this I could, for example,...
- 0 Replies
- 1518 Views
-
Last post by Danger Ross
Sat Dec 03, 2016 8:41 pm
-
-
projectiles and area trigger
Replies: 2
by
JakSparro98 » Sat Jul 23, 2016 6:04 pm
First post
Why Projectiles aren't recognized by an area trigger, what kind of entity is? I want to know it, because whe a riding bazooka enters in an area trigger it isn't processed by the trigger, no player and no objects found.
Last post
But are you planning to make them avaible in the Script_Api?
This would be awesome, and it's the feature that I'm waiting for the second most, after the local multiplayer in one keyboard...
- 2 Replies
- 2694 Views
-
Last post by Motto73
Mon Sep 19, 2016 7:59 am
-
-
How to tell if an Object is a background object ?
Replies: 4
by
nerdist » Thu Aug 25, 2016 3:03 pm
First post
I am working on a script and I really need a fast way to tell if an object can collide with other object.
this method Game.GetObjectsByArea() returns all kinds of unnecessary tiles even far-background object.
I could make a string list of all the 809 Bg Tiles and 101 FarBG tiles but it's gonna...
Last post
For info:
How to tell if an Object is a background object ? We lack that feature in the ScriptAPI today. Meta data like this will most likely be available in later versions of the game.
You probably want something like obj.Name.ToUpper().StartsWith ( BG / FARBG ) or similar today.
- 4 Replies
- 3317 Views
-
Last post by Gurt
Fri Aug 26, 2016 8:05 pm
-
-
spawning grenade dud
Replies: 3
by
gwendalaze » Sun Jul 03, 2016 1:05 am
First post
So, I was wondering if it is possible
According to the API, SpawnWeaponItem( WpnGrenadesThrown ,...); will spawn a live grenade
Thank you in advance
Last post
Oh, sorry if I treated you like a newbie.
You said you want a grenade that not explode instead of this, right? As you said I don't think now we can control the internal timer of the grenades or disable it.
We need to tell this to gurt only to know if in a future we could edit weapons and objects...
- 3 Replies
- 3309 Views
-
Last post by JakSparro98
Tue Jul 19, 2016 10:45 pm
-
-
Small Script API things we are still waiting
Replies: 2
by
chelog » Sun Mar 20, 2016 11:18 am
First post
Hello there!
As far I couldn't find a topic for API suggestions, I'll create this one.
I've been asking this many times but I'll just remind you if you did forget these:
OnTextChat( IUser user, string text ) - event to receive chat texts through script, so it's called by the game. Maybe this...
Last post
Okay, good to know that. I'm really very interested in chat thingies, it's №1 priority for me :) . Will be patiently waiting for these.
- 2 Replies
- 2855 Views
-
Last post by chelog
Sun Mar 20, 2016 8:18 pm
Forum permissions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum