Dreamball:Creating a Jump Powerup: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (.)
 
m (→‎top: Unicodifying, replaced: [[Image: → [[File:)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
This page discusses how to simply enable a 'Jump Powerup' with the [[db powerup ability jump]] entity. If you'd like to use the jump changer we used in the official maps, place the "SDK_content/prefabs/gameplay/powerup_ability_jump.vmf" prefab in your map and it's ready to go.
This page discusses how to simply enable a 'Jump Powerup' with the [[db powerup ability jump]] entity. If you'd like to use the jump changer we used in the official maps, place the "SDK_content/prefabs/gameplay/powerup_ability_jump.vmf" prefab in your map and it's ready to go.


For those who want to make their own for any reasons, the elements that enable a jump powerup are as follows:
For those who want to make their own for any reasons, the elements that make a jump powerup are as follows:


*A [[trigger]] brush - used for enabling the jump ability (you can use anything else that can fire outputs also).
*A [[trigger]] brush - used for enabling the jump ability (you can use anything else that can fire outputs also).
Line 9: Line 9:


Now create a trigger brush for where we'll trigger the enable jump powerup event. In this trigger add this output:
Now create a trigger brush for where we'll trigger the enable jump powerup event. In this trigger add this output:
(or in any other entity that can add outputs)
:(or in any other entity that can add outputs)


::{| class=standard-table
::{| class=standard-table
!  || My Output || Target Entity || Target Input || Parameter || Delay || Only Once
!  || My Output || Target Entity || Target Input || Parameter || Delay || Only Once
|-
|-
| [[Image:Io11.png]] || OnStartTouch || my_jump_powerup || Enable || 0 || 0.00 || No
| [[File:Io11.png]] || OnStartTouch || my_jump_powerup || Enable || 0 || 0.00 || No
|-
|-
|}
|}
Line 22: Line 22:
==See also==
==See also==


*"Dreamball SDK/SDK_content/prefabs/gameplay/powerup_ability_jump.vmf" - a ready made model switcher
*"Dreamball Dev Kit/SDK_content/prefabs/gameplay/powerup_ability_jump.vmf" - a ready made model switcher
*"Dreamball SDK/SDK_content/mapsrc/sdk_jump_powerup.vmf" - an example map of enabling the jump powerup
*"Dreamball Dev Kit/SDK_content/mapsrc/sdk_jump_powerup.vmf" - an example map of enabling the jump powerup
*[[db powerup modelchanger]]
*[[db powerup ability storer]]
*[[db powerup ability remover]]
*[[Dreamball Level Creation]]


[[Category:Dreamball]]
[[Category:Dreamball]]

Latest revision as of 00:19, 7 January 2024

This page discusses how to simply enable a 'Jump Powerup' with the db powerup ability jump entity. If you'd like to use the jump changer we used in the official maps, place the "SDK_content/prefabs/gameplay/powerup_ability_jump.vmf" prefab in your map and it's ready to go.

For those who want to make their own for any reasons, the elements that make a jump powerup are as follows:

  • A trigger brush - used for enabling the jump ability (you can use anything else that can fire outputs also).
  • The db powerup ability jump entity - for enabling the powerup via input.

To make our jump powerup now, place a db powerup ability jump entity in your map. (this is a point entity) Now name it my_jump_powerup.

Now create a trigger brush for where we'll trigger the enable jump powerup event. In this trigger add this output:

(or in any other entity that can add outputs)
My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnStartTouch my_jump_powerup Enable 0 0.00 No

Now the player will equip the jump powerup on trigger.

See also