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.

Search found 1513 matches

by Gurt
Tue Mar 23, 2021 8:38 pm
Forum: Superfighters Deluxe ScriptAPI
Topic: Be able to insert the script text into a '*.sfdm' file from command line
Replies: 8
Views: 5802
Gender:

Re: Be able to insert the script text into a '*.sfdm' file from command line

Yes, it is a length prefixed string. https://docs.microsoft.com/en-us/dotnet/api/system.io.binarywriter.write?view=netframework-4.0#System_IO_BinaryWriter_Write_System_String_ Here some demo code in C# (if you're using another language you will have to figure out the implementation details in a Bina...
by Gurt
Sat Mar 20, 2021 11:15 pm
Forum: Superfighters Deluxe ScriptAPI
Topic: Be able to insert the script text into a '*.sfdm' file from command line
Replies: 8
Views: 5802
Gender:

Re: Be able to insert the script text into a '*.sfdm' file from command line

The script is encoded in base64 utf8. You can easily decode and encode back and forth to utf8 base64.
by Gurt
Thu Mar 18, 2021 6:45 pm
Forum: Superfighters Deluxe ScriptAPI
Topic: Player outfit problem
Replies: 1
Views: 2205
Gender:

Re: Player outfit problem

Female items are often named with the suffix "_fem". You can see this in the Data/Items folder within the game's content.
by Gurt
Thu Mar 18, 2021 6:42 pm
Forum: Superfighters Deluxe Problems and Bugs
Topic: invisible block and rug sound
Replies: 1
Views: 2202
Gender:

Re: invisible block and rug sound

The 'none' sound is a sound not suppose to exist. It should be a blank string actually or 'none' should not be logged - either way.
by Gurt
Thu Mar 18, 2021 6:40 pm
Forum: Superfighters Deluxe Problems and Bugs
Topic: Unbearable dedicated lag for ~15 seconds after loading map
Replies: 1
Views: 1908
Gender:

Re: Unbearable dedicated lag for ~15 seconds after loading map

Is it FPS lag or network lag? If it's FPS I have no idea what's causing it. If it's network lag it sounds like you're being throttled for some time after loading has occured. Maybe you can try to create a map with basically only 1 tile as a solid floor and see if it's equally laggy as loading, let's...
by Gurt
Thu Mar 18, 2021 6:38 pm
Forum: Superfighters Deluxe ScriptAPI
Topic: about musictrigger
Replies: 2
Views: 2393
Gender:

Re: about musictrigger

If I get inspiration again to work on SFD I might just get around that /* TODO: Implement. */ in the MusicTrigger to complete it some day. If you're making a custom map you can always prepare all the music triggers manually in the editor you need and then trigger them through the map script code.
by Gurt
Thu Mar 18, 2021 6:32 pm
Forum: Superfighters Deluxe
Topic: Reload Animations
Replies: 2
Views: 2702
Gender:

Re: Reload Animations

All animations are in a proprietary binary format. You can't easily change it. Changing some animation timings will cause the loading to fail. You will most likely get animation artifacts if you play online as your changes are not what the server expects.
by Gurt
Thu Mar 18, 2021 6:30 pm
Forum: Superfighters Deluxe ScriptAPI
Topic: Be able to insert the script text into a '*.sfdm' file from command line
Replies: 8
Views: 5802
Gender:

Re: Be able to insert the script text into a '*.sfdm' file from command line

The .sfdm file is a binary file. But at some section there is the script part of each map. If you're working with a versus map it should be fine to find that section and overwrite that (as long as you also keep the null-terminator intact). If you make your own program to insert the text then it shou...
by Gurt
Thu Mar 18, 2021 6:27 pm
Forum: Superfighters Deluxe ScriptAPI
Topic: Custom Bot Target AI Script (How?)
Replies: 2
Views: 2542
Gender:

Re: Custom Bot Target AI Script (How?)

SetTargetAI SetTargetAIEnabled on objects allows bots to > attack < that target. SetForcedBotTarget on a player will force it to attack the specified target. If you want the bot to move to a specific spot you must do something similar like we did in the Joker bossfight where the boss runs to a doorw...
by Gurt
Thu Mar 18, 2021 6:18 pm
Forum: ScriptAPI suggestions
Topic: Be able to emulate or debug a server-restart
Replies: 2
Views: 2421
Gender:

Re: Be able to emulate or debug a server-restart

Hmm a script is only active once a map boots up. If you set up the server to restart once a day it will first start another little exe file that will automatically start Superfighters Deluxe.exe in server mode again after a delay (I think of 2 minutes). It should be the same as using "Exit" on the s...
by Gurt
Sat Jan 30, 2021 10:31 am
Forum: Superfighters Deluxe
Topic: Critique of Consumable Slow-Motion in SFD
Replies: 4
Views: 2782
Gender:

Re: Critique of Consumable Slow-Motion in SFD

We had a lot more ideas how the slow-motion would work differently from SF to give you various benifits. But we just kept encounter technical difficulties so it kinda ended up as a cinematic slow-motion like in SF. One of the few things that actually works is your own bullets traveling somewhat fast...
by Gurt
Sat Jan 30, 2021 10:23 am
Forum: Superfighters Deluxe Map Editor
Topic: SFD world size.
Replies: 5
Views: 3713
Gender:

Re: SFD world size.

You will probably reach a lot of other practical problems and other out-of-memory exceptions before you reach the limit of (I think) 2 GB file-size for maps in SFD. But you wouldn't want such big files anyway.
by Gurt
Fri Jan 22, 2021 5:09 pm
Forum: Superfighters Deluxe ScriptAPI
Topic: Why does PlaySound have a worldPosition argument?
Replies: 3
Views: 2644
Gender:

Re: Why does PlaySound have a worldPosition argument?

In case we ever wanted to implement pan for sounds from outside the camera. We never did so that's just a left over. It doesn't really do anything.
by Gurt
Thu Jan 21, 2021 11:07 pm
Forum: Other Games
Topic: Barbarian Onslaught: The Secret of Steel download and source files released!
Replies: 3
Views: 3479
Gender:

Re: Barbarian Onslaught: The Secret of Steel download and source files released!

"- NonCommercial — You may not use the material for commercial purposes." You may not earn money from the game by placing ads inside the game or placing it behind a paywall (like a Patreon-only post locked behind a subscription fee) or show forced ads before the game has finished loading or in-app p...
by Gurt
Tue Jan 19, 2021 12:13 pm
Forum: Superfighters Deluxe Map Editor
Topic: How do i make a versus map with a challenge?
Replies: 2
Views: 2359
Gender:

Re: How do i make a versus map with a challenge?

Make a copy of your versus map and then change the victory condition in the map properties to challenge.

Then you will have to use a victory trigger or custom code when the challenge is completed.
by Gurt
Sun Jan 17, 2021 11:06 pm
Forum: Superfighters Deluxe ScriptAPI
Topic: how to get a player gender?
Replies: 3
Views: 3584
Gender:

Re: how to get a player gender?

Or use the Gender property:
if (ply.GetProfile().Gender == Gender.Female)
{
// Female
} else {
// Male
}
by Gurt
Thu Jan 14, 2021 5:38 pm
Forum: Answered Technical Topics
Topic: Game shuts down after two matches
Replies: 8
Views: 7225
Gender:

Re: Game shuts down after two matches

If it randomly started again try to restore your windows to a date where you know SFD worked.
by Gurt
Thu Jan 14, 2021 5:36 pm
Forum: Superfighters Deluxe Tech Support
Topic: Want to know how to play with cpus and players together
Replies: 1
Views: 1752
Gender:

Re: Want to know how to play with cpus and players together

Create a game.
In the lobby, select in the drop down menu over the options "Closed/Open/Bot" for a slot and select Bot and its difficulty, Easy, Hard, etc...
by Gurt
Thu Jan 14, 2021 5:34 pm
Forum: Superfighters Deluxe Map Editor
Topic: SFD world size.
Replies: 5
Views: 3713
Gender:

Re: SFD world size.

Of course there's a practical limit on how big a world can be without consequences like fps drops. Try to limit it to about what our campaigns are in size and number of tiles. Go bigger if your computer allowes it.
by Gurt
Sun Dec 27, 2020 3:32 pm
Forum: Solved Bugs
Topic: Script Contain Errors. Script will be disable.
Replies: 1
Views: 2430
Gender:

Re: Script Contain Errors. Script will be disable.

The underlaying error is that a method name is not found in your script. The message you see is a wrongly used text ID within the error handling itself resulting in a text "?Error.mapscript.methodnotfound" or similar. We will fix this text ID for the next update to properly read "Can't find method w...