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.

Neverending rocketride

Give us your input on how we may improve the ScriptAPI in the game in future versions.
Forum rules
By using the forum you agree to the following rules.
Post Reply
User avatar
Shock
Superfighter
Superfighter
Posts: 143
Joined: Sun Mar 20, 2016 7:17 am
Title: Metallioneer
SFD Account: Shock
SFD Alias: (#MH):Shock
Started SFD: Pre-Alpha 1.2.0.
Location: Metalion
Gender:
Age: 19
Contact:

Neverending rocketride

Post by Shock » Thu Aug 17, 2017 7:41 pm

First of all... Is this possible?
1.So... I need a script , when someone shoots bazooka at any player - he can fly infinitely, until he crash.
Please... Can you help bros?
0 x
-Minigamer
Pewds : skrattar du förlorar du!

Don't click!

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

Post by Gurt » Thu Aug 17, 2017 7:58 pm

You can't reset the timer for the rocket.
1 x
Gurt

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

Post by JakSparro98 » Thu Aug 17, 2017 8:44 pm

Gurt wrote:
Thu Aug 17, 2017 7:58 pm
You can't reset the timer for the rocket.
At least, not today...
Can I ask brutal question rather than create a new topic talking of the same script feature? The question was: is weapon/bullet handling planned for the next update? or some way to record them through triggers?
1 x

User avatar
Motto73
Superfighter
Superfighter
Posts: 278
Joined: Mon May 09, 2016 7:35 am
Title: Superfighter Royale
SFD Account: Motto73
SFD Alias: Motto73, Pack-Man!
Started SFD: Multiplayer Test Demo
Location: Sunny City
Gender:
Age: 19

Post by Motto73 » Fri Aug 18, 2017 7:28 am

Make a script shooting a new bazooka rocket to him so that he can fly forever.
1 x
Image

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

Post by JakSparro98 » Fri Aug 18, 2017 1:58 pm

Motto73 wrote:
Fri Aug 18, 2017 7:28 am
Make a script shooting a new bazooka rocket to him so that he can fly forever.
The problem is that every time the rocket need to be replaced the old one cannot be destroyed, another but insignificant is that when the rocket is replaced there is a velocity reset and seems it cannot be altered by script.

As I said in another thread we also need a boolean to check if the player is riding a bazooka, as simple as we haven't got it yet.
0 x

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

Post by Gurt » Sun Aug 20, 2017 12:21 pm

The whole projectile/bullet handling in SFD was developed long before the ScriptAPI even was planned. For a map-maker to be able to manipulate the projectiles, velocity, damage and other stuff we would need to rewrite the whole projectile system which we will not. With some effort it could be possible to remove projectiles and read their positions but it's a limited featureset.
I'm adding a IsRocketRiding property for the next update though.
1 x
Gurt

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

Post by JakSparro98 » Sun Aug 20, 2017 1:43 pm

Gurt wrote:
Sun Aug 20, 2017 12:21 pm
The whole projectile/bullet handling in SFD was developed long before the ScriptAPI even was planned. For a map-maker to be able to manipulate the projectiles, velocity, damage and other stuff we would need to rewrite the whole projectile system which we will not. With some effort it could be possible to remove projectiles and read their positions but it's a limited featureset.
I'm adding a IsRocketRiding property for the next update though.
The only thing that really matters for projectiles is the possibility to make AreaTriggers to recognize projectile presence and only read their main attributes (and of course the only method to remove it), I think (and hope) there will never be the need of a fully handling.

I'm glad to read that the IsRocketRiding property is coming.
0 x

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest