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

by The_JOKER
Mon Jul 02, 2018 1:42 am
Forum: Answered ScriptAPI Topics
Topic: Need Help Moving Cars with Script
Replies: 6
Views: 4023
Gender:

Re: Need Help Moving Cars with Script

can you upload some screenshot of the map so people can understand better?
by The_JOKER
Mon Jul 02, 2018 1:37 am
Forum: Superfighters Deluxe ScriptAPI
Topic: need a script to make npc activate trigger when player is insight
Replies: 4
Views: 3966
Gender:

need a script to make npc activate trigger when player is insight

I'm making a payday map and I need a script to make npc activate certain trigger when player is insight -it shouldn't work when player is BEHIND the npc -it shouldn't work when player insight is npc -it shouldn't applied to all npcs but only certain npcs -there must be a custom range that npc can sp...
by The_JOKER
Sat Aug 19, 2017 1:10 pm
Forum: Answered ScriptAPI Topics
Topic: delete corpses & gibs after few seconds
Replies: 10
Views: 5956
Gender:

Re: delete corpses & gibs after few seconds

JakSparro98 wrote:
Fri Aug 18, 2017 3:58 pm
Then keep the timer that activates the method but make it to repeat after 0 seconds interval (istantly).
You can modify the time to clean with CleanInterval.
Working good, Thanks
by The_JOKER
Fri Aug 18, 2017 2:10 pm
Forum: Answered ScriptAPI Topics
Topic: delete corpses & gibs after few seconds
Replies: 10
Views: 5956
Gender:

Re: delete corpses & gibs after few seconds

JakSparro98 wrote:
Fri Aug 18, 2017 1:04 pm
Maybe you expected that corpses and gibs are destroyed in x second from the moment they are created? If you like this other way of disposing objects I can change that, you decide.
yes please
by The_JOKER
Fri Aug 18, 2017 2:39 am
Forum: Answered ScriptAPI Topics
Topic: Disable Friendly Fire
Replies: 1
Views: 1921
Gender:

Disable Friendly Fire

On D-Day map, they keep shooting teammates, lots of players dying by same team.

I'm not sure if it is possible with scripts, but It would be great if it is possible
by The_JOKER
Fri Aug 18, 2017 2:20 am
Forum: Answered ScriptAPI Topics
Topic: delete corpses & gibs after few seconds
Replies: 10
Views: 5956
Gender:

Re: delete corpses & gibs after few seconds

You only need to add this piece of code at bottom of the script page: public void CleanCorpses(TriggerArgs arg) { foreach(IPlayer pl in Game.GetPlayers()) { if (pl.IsDead && pl.IsBot) pl.Remove(); } string[] IDs={"giblet00","giblet01","giblet02","giblet03","giblet04"}; foreach(IObject ToRemove in G...
by The_JOKER
Thu Aug 17, 2017 2:32 pm
Forum: Answered ScriptAPI Topics
Topic: delete corpses & gibs after few seconds
Replies: 10
Views: 5956
Gender:

Re: delete corpses & gibs after few seconds

since corpses and gibs are making the map buggy, is it able to delete after few seconds with script? Let me guess, the previous script you requested to me doesn't remove corpses? I knew that gibbed parts aren't removed, I can include some script to your current respawn system to fix this. no, It do...
by The_JOKER
Thu Aug 17, 2017 11:26 am
Forum: Answered ScriptAPI Topics
Topic: delete corpses & gibs after few seconds
Replies: 10
Views: 5956
Gender:

delete corpses & gibs after few seconds

since corpses and gibs are making the map buggy,
is it able to delete after few seconds with script?
by The_JOKER
Wed Aug 16, 2017 2:35 am
Forum: Answered ScriptAPI Topics
Topic: need a script to respawn
Replies: 4
Views: 3543
Gender:

Re: need a script to respawn

can u separate team1 and team2 spawn point? Updated the download above with team 1 and team 2 different spaw npoint, now you have to also add an ID to the ScriptTrigger ( Team1SpawnPoint or Team2SpawnPoint ) to set spawn point for team 1 or team 2. Looks like working great! Thank you for the help!
by The_JOKER
Wed Aug 16, 2017 2:15 am
Forum: Superfighters Deluxe Custom Maps
Topic: Joker's Maps : Season 2
Replies: 1
Views: 2807
Gender:

Joker's Maps : Season 2

As I started playing SFD again, The Scripts was changed, some of my maps made before was BROKE! And Now, I'm Trying to make my maps look better! and It's start of Joker's Maps : Season 2! From now on, The maps made by me will be uploaded here. With better Visuals! ex) Counter Terrorists before: http...
by The_JOKER
Tue Aug 15, 2017 11:23 am
Forum: Answered ScriptAPI Topics
Topic: need a script to respawn
Replies: 4
Views: 3543
Gender:

Re: need a script to respawn

This will respawn only players, not bots. You can easily move the spawn point just executing a ScriptTrigger with SetSpawnPoint as method, you will get the spawn point in the same position of the trigger. Note that if the ScriptTrigger will be dynamic the spawn point will be set In the location whe...
by The_JOKER
Mon Aug 14, 2017 8:52 am
Forum: Answered ScriptAPI Topics
Topic: need a script to respawn
Replies: 4
Views: 3543
Gender:

need a script to respawn

I need a script to respawn in 15 second. * I Only need script that respawn! don't give me death counter or any other gamemodes!* I'm trying to make objective map that end a game with script. so its not death match. and I need to move respawn point later so make it able to spawn on player spawn point...
by The_JOKER
Mon Jun 05, 2017 4:09 pm
Forum: Answered ScriptAPI Topics
Topic: Script Request: end the game when team 2(Bot) is eliminated
Replies: 4
Views: 3010
Gender:

Re: Script Request: end the game when team 2(Bot) is eliminated

Replace the code with this one: int ActivateOnce=0; public void CheckStatus(TriggerArgs arg){ bool PlayerAlive=false; bool BotsAlive=false; foreach(IPlayer temp in Game.GetPlayers()) { if(temp.IsBot && !temp.IsDead) BotsAlive=true; else if(!temp.IsDead) PlayerAlive=true; } //when bots are eliminate...
by The_JOKER
Mon Jun 05, 2017 4:45 am
Forum: Answered ScriptAPI Topics
Topic: Script Request: end the game when team 2(Bot) is eliminated
Replies: 4
Views: 3010
Gender:

Re: Script Request: end the game when team 2(Bot) is eliminated

public void CheckStatus(TriggerArgs arg){ bool PlayerAlive=false; bool BotsAlive=false; foreach(IPlayer temp in Game.GetPlayers()) { if(temp.IsBot && !temp.IsDead) BotsAlive=true; else if(!temp.IsDead) PlayerAlive=true; } //when bots are eliminated if(!BotsAlive) { Game.SetGameOver("bots dead"); } ...
by The_JOKER
Sun Jun 04, 2017 3:22 am
Forum: Answered ScriptAPI Topics
Topic: Script Request: end the game when team 2(Bot) is eliminated
Replies: 4
Views: 3010
Gender:

Script Request: end the game when team 2(Bot) is eliminated

I need a full script that check if team 2(or Bot) is eliminated and end the game, when triggered by script trigger or area trigger

need that script to make wave surviving game

Also, I need script that end the game when all players dead(except bot)
by The_JOKER
Sat Jun 03, 2017 12:07 pm
Forum: Answered ScriptAPI Topics
Topic: Creating intelligent bots
Replies: 10
Views: 6812
Gender:

Re: Creating intelligent bots

Actually there is a script to make CPU intelligent, they shoot, they change weapon, they punch, they block, they dodge, they grab players and throw. They don't climb up ladders, but they are pretty smart. They Actually not THINKING, but can make it look like intelligent with LOTS OF SCRIPTS I found ...
by The_JOKER
Sat Oct 08, 2016 2:14 am
Forum: Answered Technical Topics
Topic: need script to disable gibs
Replies: 10
Views: 6294
Gender:

Re: need script to disable gibs

string[] gibNames = { "Giblet00", "Giblet01", "Giblet02", "Giblet03", "Giblet04" };
public void Update(TriggerArgs args){
for (int i = 0; i <= 4; i++) {
foreach (IObject giblet in Game.GetObjectsByName(gibNames))
giblet.Remove ();
}
}


Yes, anyway thank you everyone
by The_JOKER
Fri Oct 07, 2016 11:48 am
Forum: Answered Technical Topics
Topic: need script to disable gibs
Replies: 10
Views: 6294
Gender:

Re: need script to disable gibs

oh, I think this is right one string[] gibNames = { "Giblet00", "Giblet01", "Giblet02", "Giblet03", "Giblet04" }; public void Update ( TriggerArgs args ){ for (int i = 0; i < 5 ; i++) { foreach (IObject giblet in Game.GetObjectsByName(gibNames )) giblet.Remove (); } } Now all gibs are removed. Thank...
by The_JOKER
Fri Oct 07, 2016 10:18 am
Forum: Answered Technical Topics
Topic: need script to disable gibs
Replies: 10
Views: 6294
Gender:

Re: need script to disable gibs

If I understood correctly, you want to remove the giblets when they are spawned. This script removes all giblets spawned as fast as possible: string[] gibNames = { "Giblet00", "Giblet01", "Giblet02", "Giblet03", "Giblet04" }; public void Update(){ for (int i = 0; i < 4; i++) { foreach (IObject gibl...
by The_JOKER
Fri Oct 07, 2016 1:11 am
Forum: Answered Technical Topics
Topic: need script to disable gibs
Replies: 10
Views: 6294
Gender:

Re: need script to disable gibs

gwendalaze wrote:You can remove them on spawn, but I don't think it'll fix any performance issue.
some players are squashed by blocks, and some gib is not squashed and remain between block.
it doesn't make bad performance, but in visual...