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 455 matches

by JakSparro98
Sun Apr 05, 2020 6:51 pm
Forum: Solved Bugs
Topic: Cast issue on IObjectPlayerSpawnTrigger
Replies: 1
Views: 1270
Gender:

Cast issue on IObjectPlayerSpawnTrigger

When populating the melee item field with SetSpawnWeaponItemMelee() it will later throw a cast error when calling Trigger(). public void OnStartup() { IObjectPlayerSpawnTrigger spawn= (IObjectPlayerSpawnTrigger )Game.CreateObject("PlayerSpawnTrigger"); spawn.SetSpawnWeaponItemMelee(WeaponItem.NONE);...
by JakSparro98
Tue Mar 17, 2020 1:24 am
Forum: Implemented ScriptAPI suggestions
Topic: Add IPlayer.CrosshairCenter property
Replies: 5
Views: 969
Gender:

Re: Add IPlayer.CrosshairCenter property

I will be straight to the point, adding a getter for something it is purely visual and client side only won't never happen at this stage of the game, in 70% of the cases the script will run server-side and I assume the crosshair is never registered anywhere in net packets, in this case only the rota...
by JakSparro98
Mon Mar 16, 2020 7:15 pm
Forum: ScriptAPI suggestions
Topic: [SOLVED] Add ejecting case effect.
Replies: 2
Views: 597
Gender:

Re: Add ejecting case effect.

Bullet shells are handled like any normal object for spawning, but they aren't documented in any place, for knowing the name of most of the editor entities you can press the AltGr key while hovering the mouse on the entity.
by JakSparro98
Mon Mar 16, 2020 7:04 pm
Forum: Implemented ScriptAPI suggestions
Topic: Add IPlayer.CrosshairCenter property
Replies: 5
Views: 969
Gender:

Re: Add IPlayer.CrosshairCenter property

Sometimes all you really need is to think out of the box; with the help of the AimVector property, raycast and a little of patience for finding the center you can get the exact position of the crosshair even when it is "colliding" with obstacles In the video I can see you chose a wrong pivot center ...
by JakSparro98
Fri Mar 06, 2020 10:42 pm
Forum: Superfighters Deluxe Problems and Bugs
Topic: Cannot set "MZLED" effect direction
Replies: 7
Views: 1223
Gender:

Re: Cannot set "MZLED" effect direction

I mentioned the flip because I think it's pretty easy to implement and maybe the devs kind of forgot about it. [..] The ability to flip a tile is ALREADY implemented (IObject class) but only horizontally. It's unclear if you got the point, but for obtaining the same result of flipping vertically yo...
by JakSparro98
Fri Mar 06, 2020 9:29 pm
Forum: ScriptAPI suggestions
Topic: Add IObject.SetMaxHealth()
Replies: 5
Views: 944
Gender:

Re: Add IObject.SetMaxHealth()

Refactoring a game feature is not a trivial task, especially when talking about online multiplayer games, more than ever the devs are now focused on experimenting a new title and I assume they are far from altering the health system, honestly I would be very glad to be wrong but it appears to me to ...
by JakSparro98
Fri Mar 06, 2020 12:38 am
Forum: ScriptAPI suggestions
Topic: Is there any way to make CFTXT colorable?
Replies: 2
Views: 665
Gender:

Re: Is there any way to make CFTXT colorable?

For what I know, unfortunately, it is not feasible today, but seeing how the effect system is exposed throw the API (PlayEffect can accept any number of parameters after specifying the effect id and position) it should not be too problematic exposing a color property.
by JakSparro98
Fri Mar 06, 2020 12:30 am
Forum: ScriptAPI suggestions
Topic: Add IObject.SetMaxHealth()
Replies: 5
Views: 944
Gender:

Re: Add IObject.SetMaxHealth()

Changing players health is possible only by using modifiers, there is no such a similar system for simple objects (yet), the only workaround used so far consists in listening for health difference over time and applying some extra health to simulate some sort of extension for that latter.
by JakSparro98
Fri Mar 06, 2020 12:20 am
Forum: Superfighters Deluxe Problems and Bugs
Topic: Cannot set "MZLED" effect direction
Replies: 7
Views: 1223
Gender:

Re: Cannot set "MZLED" effect direction

[..] I cannot flip vertically in script. See this thread vertical flip can be achieved even with only horizontal flip, you need to add 180 degrees after the flip and you will get the same result as flipping vertically. flip suggestion was supposed be marked as implemented after all this time.
by JakSparro98
Tue Feb 25, 2020 8:17 pm
Forum: Answered ScriptAPI Topics
Topic: Access script methods throug other script
Replies: 4
Views: 996
Gender:

Re: Access script methods throug other script

Extension scripts live in their own ecosystem, they can access common data zones like game session and local storage but methods, declared types and variables are exclusive of the script that implemented it.
by JakSparro98
Sat Feb 22, 2020 12:01 pm
Forum: ScriptAPI suggestions
Topic: Various suggestions for IPlayer
Replies: 9
Views: 1496
Gender:

Re: Various suggestions for IPlayer

For executing delayed functions you can create a timer and assign it a method in the script method field but will not allow for additional parameters, for that you need to measure how much time has passed and if it is enough call a custom function, you will still need to use an update loop (UpdateCa...
by JakSparro98
Fri Feb 21, 2020 10:51 pm
Forum: Solved Bugs
Topic: Simple bug on HUD
Replies: 2
Views: 720
Gender:

Re: Simple bug on HUD

HUD team mismatch confirmed, here is the example map to test the issue.
by JakSparro98
Fri Feb 21, 2020 10:39 pm
Forum: ScriptAPI suggestions
Topic: Various suggestions for IPlayer
Replies: 9
Views: 1496
Gender:

Re: Various suggestions for IPlayer

For storing values between rounds/games/maps you need to use IGame.SessionStorage.SetItem (key,value) and IGame.SessionStorage.GetItem (key) Here there is a snippet that uses LocalStorage instead, but the concept behind is the same with the exception that LocalStorage is for storing persistent data ...
by JakSparro98
Fri Feb 21, 2020 10:27 pm
Forum: Superfighters Deluxe ScriptAPI
Topic: How does BotBehaviorSet.SearchItemRange work?
Replies: 5
Views: 1006
Gender:

Re: How does BotBehaviorSet.SearchItemRange work?

Mhn, yeah... I'm conducting some tests and It seems that it's ignoring the new range, that happens not only for item search but for all the others ranged properties, I'm pretty sure it was working as intended in the past, let's wait to @Gurt before saying the last word (that is bug).
by JakSparro98
Fri Feb 21, 2020 9:59 pm
Forum: Superfighters Deluxe Problems and Bugs
Topic: Copy-pasting from the script editor to ingame chat hangs the process for some seconds
Replies: 1
Views: 506
Gender:

Copy-pasting from the script editor to ingame chat hangs the process for some seconds

Trying to copy even a single character from the script editor into the game chat when testing the map will make the app hang for some seconds, after that the chat text field will show a couple of "v" letters in it.
by JakSparro98
Fri Feb 21, 2020 9:54 pm
Forum: Superfighters Deluxe Problems and Bugs
Topic: Game.MapRound does not return value "1"
Replies: 5
Views: 1075
Gender:

Re: Game.MapRound does not return value "1"

I don't think this has to do with a core game bug, more a problem with the script I suppose, you should provide an example map or at least the script itself.
by JakSparro98
Fri Feb 21, 2020 9:40 pm
Forum: Solved Bugs
Topic: ScriptAPI doc has added "My Project" name
Replies: 3
Views: 743
Gender:

Re: ScriptAPI doc has added "My Project" name

I assume the doc wasn't using any project name for the generated pages, but now I see it got an update and some of the layout changed, it's only a minor issue with Doxygen.
by JakSparro98
Fri Feb 21, 2020 9:18 pm
Forum: Superfighters Deluxe ScriptAPI
Topic: How does BotBehaviorSet.SearchItemRange work?
Replies: 5
Views: 1006
Gender:

Re: How does BotBehaviorSet.SearchItemRange work?

For debugging the search item range all you need to do is simply enable one of the already available debug features (F7) Keep in mind that every modification you do on a BotBehaviorSet needs to be reflected on the bot itself(since you are working on a cloned instance and not a reference), you need t...
by JakSparro98
Fri Feb 21, 2020 8:43 pm
Forum: ScriptAPI suggestions
Topic: Various suggestions for IPlayer
Replies: 9
Views: 1496
Gender:

Re: Various suggestions for IPlayer

[..] PlayerDeathCallback executes when player dies and executes again if player's corpse got gibbed or fall down the map bottom. We should have something to distinguish that [..] It is actually possible to "filter" died players and removed ones, according to this thread . [..] I think there isn't s...