Saber still needs matter? (eric help pls)

Posts for SD2D Ideas, Discussion and Bugs!

Play it here https://www.gevanni.com:3000/

Saber still needs matter? (eric help pls)

Postby daft punk 777 » 22 March 2021, 07:43

I did my own swords, using new saber code. But i want em to not use matter like basic sword.
if ( this.class === sdGun.CLASS_SABER_BLUE )
{
return 0;
}

if ( this.class === sdGun.CLASS_SABER_RED )
{
return 0;
}

if ( this.class === sdGun.CLASS_SABER_GREEN )
{
return 0;
}

if ( this.class === sdGun.CLASS_SABER_BLACK )
{
return 0;
}

if ( this.class === sdGun.CLASS_SABER_WHITE )
{
return 0;
}

if ( this.class === sdGun.CLASS_SABER_YELLOW )
{
return 0;
}

if ( this.class === sdGun.CLASS_SABER_PURPLE )
{
return 0;
}
This is the code. Idk why it still needs matter! Help please
EDIT : SOLVED BY THIS WITH _is_sword
Last edited by daft punk 777 on 24 March 2021, 12:13, edited 1 time in total.
User avatar
daft punk 777
Falkok [250]
 
Posts: 295
Joined: 22 December 2016, 11:15

Re: Saber still needs matter? (eric help pls)

Postby broforce1 » 22 March 2021, 08:24

r u hacking??
[[hmmmmhmAYYUHhhhwassauupp] [/broo] [/ur a [gayr]
User avatar
broforce1
Proxy [700]
 
Posts: 729
Joined: 2 September 2019, 10:47
Location: Everywhere.

Re: Saber still needs matter? (eric help pls)

Postby daft punk 777 » 22 March 2021, 08:47

no, its mod. I wanted to make this swords with out matter need per shot. and i got big problems again....
User avatar
daft punk 777
Falkok [250]
 
Posts: 295
Joined: 22 December 2016, 11:15

Re: Saber still needs matter? (eric help pls)

Postby broforce1 » 22 March 2021, 12:11

daft punk 777 wrote:no, its mod. I wanted to make this swords with out matter need per shot. and i got big problems again....


ah said from that modding a game or making a mod that will be added into the game considers illegal and hacking but okay i apologize for being useless :c
[[hmmmmhmAYYUHhhhwassauupp] [/broo] [/ur a [gayr]
User avatar
broforce1
Proxy [700]
 
Posts: 729
Joined: 2 September 2019, 10:47
Location: Everywhere.

Re: Saber still needs matter? (eric help pls)

Postby nightmar » 22 March 2021, 17:17

broforce1 wrote:
daft punk 777 wrote:no, its mod. I wanted to make this swords with out matter need per shot. and i got big problems again....


ah said from that modding a game or making a mod that will be added into the game considers illegal and hacking but okay i apologize for being useless :c


Eric allows everyone to make changes in this game, or at least that's what I understood.
How many bugs does this game have anyway? jeez
User avatar
nightmar
Usurpation Destroyer [350]
 
Posts: 393
Joined: 2 September 2017, 19:36
Location: Inside your closet or under your bed

Re: Saber still needs matter? (eric help pls)

Postby Eric Gurt » 22 March 2021, 21:53

Right after these numbers goes array with gun classes.

These numbers must match offsets in that array (ID 0 = 1st item in that array, ID 1 = 2nd item, ID 2 = 3rd item etc.).

This could be a reason of it not working.
Work it harder
Make it better
Do it faster
Makes us stronger
More than ever hour
After our work is never over.
User avatar
Eric Gurt
PB2 Developer
 
Posts: 409
Joined: 14 July 2013, 16:46
Location: dn.ua


Return to Star Defenders

Who is online

Users browsing this forum: No registered users