New to the forum? Say hello in this topic! Make sure to read the rules.
RULE NR 3 UPDATED: Don't hurt, harass or provoke other forum members or people.

Projectile names?

Share questions and tutorials related to the map editor. Share you maps in the Superfighters Deluxe Custom Maps section.
Forum rules
By using the forum you agree to the following rules.
Post Reply
User avatar
Scraper
Fighter
Fighter
Posts: 22
Joined: Tue Nov 01, 2016 9:06 am
SFD Account: Scrapper
SFD Alias: Scrapper
Started SFD: PreAlpha 1.7.1
Gender:

Projectile names?

Post by Scraper » Mon Jun 19, 2017 1:44 pm

I am working on a map that is FULL of scripting, and ofc, it contains a shooting script. Now,the problem starts.
I know the name of most projectiles, but is there a list of projectile names?
I am having trouble finding projectile names for GRENADE LAUNCHER, FLAREGUN, and SAWEDOFFSHOTGUN.
Does somebody here know the names of these projectiles, or (if possible) ALL projectiles?
0 x

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 812
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 27

Post by Gurt » Mon Jun 19, 2017 8:43 pm

You can find that information in the ScriptAPI.

Replace the ".." below with your local windows path to your SFD installation folder in your windows explorer and you will find information about ProjectileItem.
../Superfighters Deluxe/Content/Data/misc/ScriptAPI/html/namespace_s_f_d_game_script_interface.html#ad39ce04976533a6d2a3027722a759298
0 x
Gurt

User avatar
UnluckyNinja
Meatbag
Posts: 7
Joined: Sun Aug 07, 2016 11:30 am
Gender:

Post by UnluckyNinja » Sun Jul 02, 2017 2:00 pm

Make an area trigger. Write all incoming object's name to console. Run the map. Shoot.

Or just go to API document:
Image
http://i.imgur.com/W6dqs22.jpg
0 x

User avatar
JakSparro98
Superfighter
Superfighter
Posts: 207
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 19

Post by JakSparro98 » Sun Jul 02, 2017 2:31 pm

UnluckyNinja wrote:
Sun Jul 02, 2017 2:00 pm
Make an area trigger. Write all incoming object's name to console. Run the map. Shoot.
Projectiles cannot be recognized by triggers yet.
Gurt wrote:
Mon Jul 25, 2016 9:55 am
Projectiles are not ordinary objects in SFD. They can not be registered, read or manipulated through the ScriptAPI today.
0 x

User avatar
UnluckyNinja
Meatbag
Posts: 7
Joined: Sun Aug 07, 2016 11:30 am
Gender:

Post by UnluckyNinja » Sun Jul 02, 2017 3:03 pm

JakSparro98 wrote:
Sun Jul 02, 2017 2:31 pm
UnluckyNinja wrote:
Sun Jul 02, 2017 2:00 pm
Make an area trigger. Write all incoming object's name to console. Run the map. Shoot.
Projectiles cannot be recognized by triggers yet.
Gurt wrote:
Mon Jul 25, 2016 9:55 am
Projectiles are not ordinary objects in SFD. They can not be registered, read or manipulated through the ScriptAPI today.
Oh my bad. I mistook projectile with throwings, only throwings are IObjects and can be recognized.
0 x

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest