PDA

View Full Version : [map]BubblesWars



MadeOfWood
01-13-2011, 05:06 PM
So i'm making a map thats a little different than valk and devourer wars

the point of this map is to get close to the enemy bubbles and use song of the sea to kill him
http://www.filedropper.com/bubbleswars

but the trick is bubbles has 3 shells that on impact silence and he can teleport to them individually.

i'd like help with this map i'm trying to figure out away to kill any hero that exits the arena, fix the tooltips, make it so that after "x" amounts of deaths the other team wins, and make it so that the only hero pick option is bubbles( i can't figure out how to put the ui folder in my map cause whenever i do it crashes)


any suggestions are welcome

http://sphotos.ak.fbcdn.net/hphotos-ak-snc6/hs054.snc6/168491_494081348903_716883903_5795786_7948606_n.jp g

update

yeah i'm pretty terrible at this lol
i have no clue what i'm doing and even with oloko's help i can't figure out how to make the gadget for the arena aura.
but i did get the kill count in thanks to oloko
i'm gonna keep trying but this its gonna be a real long time until this map is ready i feel like

If someone was willing to pick this map up fix it and make 10 times better faster than i ever could then that would be awesome, and I'd love you forever.

Oloko
01-13-2011, 07:44 PM
Put a gadget in the center of your arena. Put on him an aura with a range that would fit your arena.
In your hero.entity file, between the <hero ...>HERE</hero>, put the following code:


<onframe>
<condition test="not_hasstate State_Arena_Protection" target="this_entity">
<kill target="this_entity" />
</condition>
</onframe>Of course, State_Arena_Protection is the state that the aura will give. Change it to whatever you want.

To fix the tooltip, you will need to make a stringfile, the originals can be found in the stringtable folder of resources0.s2z. Create an empty one with the same name in your map and write what you want.

About the win condition, I gave all the needed scripts here:
http://forums.heroesofnewerth.com/showthread.php?t=197275

Of course that only works if its only two teams and not FFA. If its a FFA, you will need to create a gadget for each player that will do the same thing has I explained in the link with some modification.

MadeOfWood
01-14-2011, 12:26 AM
thanks oloko i'm gonna try to finish that up in the morning then post an improved version of the map

ScreenShotx
01-14-2011, 06:04 AM
Somehow ..this looks more fun then my map....i hate you :(

:P, Hehe good job , Will try it out when i get home :)

ScreenShotx
01-14-2011, 06:20 AM
Double post..sorry about that

Luke_Allstar
01-14-2011, 02:27 PM
only think missing now is a chipper wars, than we got all long ranged skillshots as the central point of a custom map ;)

good idea, but i wish that someday, all those maps get combined, a map where you can choose to play dev/valk/bubb/chip and maybe other heroes that would fit somehow like gauntlet(grapple)/bomb(sticky)/glad(pitfall&showdown)/andro(void rip)/tablet of command would be combined together to one skillshot pew pew map :D

but still, good idea, keep working on it, maybe you get some good ideas
btw, do you play that song of the sea is a insta kill?
and do you plan on adding new skills that somehow fit that type of gameplay? or is it already in the state where you just let it be like it is?


oh and to your question:


i'd like help with this map i'm trying to figure out away to kill any hero that exits the arena, fix the tooltips, make it so that after "x" amounts of deaths the other team wins, and make it so that the only hero pick option is bubbles( i can't figure out how to put the ui folder in my map cause whenever i do it crashes)


if you only want to be able to pick bubbles, best thing you can do is disable the lobby, and just spawn bubbles for each player, i think this should be possible
look at the tutorial, there is the nolobby option and also how they spawn the pyromancer

but i'm curious myself if it is possible to make only heroes available that you made
you would have to rewrite the whole hero_picker.package file, i mean not really the whole, but part of it, where a button for each hero is created, but atm it uses a list, and i think that list is hardcoded (in the way that it checks all folders that are in the /heroes folder and makes a button in the interface for it) because i found it nowhere else so far :(
i hope someone finds a good way to do that because that would be usefull on all maps which only use custom heroes :)

MadeOfWood
01-14-2011, 03:37 PM
yeah luke the song of the sea is supposed to instant kill
i wanted this map to feel like nonstop turtle shell juking until you hit them with the shell and can get a good song of the sea off (i decreased the range to about 150 so just out of melee range )

Klunker
02-17-2011, 05:09 PM
:balp::gaun::zeph::pand::mora:

Sheriff
02-17-2011, 06:20 PM
bubble wars even better

like table tennis, shoot shell use cover to bounce back

if your slow youll die if your good you can win

Chime
04-27-2011, 04:10 PM
niiiiiice! And btw, just for hint: Rename it to BubbleWars, without the s after Bubble, it sounds way smoother :D

bloodyfrog
05-20-2011, 12:16 AM
niiiiiice! And btw, just for hint: Rename it to BubbleWars, without the s after Bubble, it sounds way smoother :D

lol u watched too much movie buddy

Nytemair
05-27-2011, 11:38 PM
If you want to make it so the players can only pick Bubbles in the lobby, you have to copy the entire heroes folder into your map, then individually change each hero by removing their team.


<?xml version="1.0" encoding="UTF-8"?>
<hero
name="Hero_Aluna"

team="null"

Basically replace Legion and Hellbourne with a team that doesn't exist. I used null.

Schm0ftie
05-28-2011, 04:30 PM
Or you use this script and you can delete every other hero from the map files.

gadget.entity


<gadget
name="Gadget_Hero_Spawner"
model=""
canattack="false"
canrotate="false"
drawonmap="false"
hoveronmap="false"
icon=""
immunity="DefuseKitImmunity"
stealthtype="Unrevealable"
invulnerable="true"
isselectable="false"
>
<aura state="State_Hero_Spawner" radius="900" targetscheme="self" ignoreinvulnerable="true"/>

</gadget>


State.entity

<state
name="State_Hero_Spawner"

icon=""
>
<onspawn>
<foreachplayer>
<compare a="target_team" b="1" op="eq">
<setent0 name="Legion_Spawn" />
<spawnunit name="Hero_Valkyrie" source="target_entity" target="ent0" pushentity="true" team="1" proxy="target_entity" />
<setowner entity="stack_entity" player="target_entity" />
<sethero entity="target_entity" hero="stack_entity" />
</compare>
<else>
<setent0 name="Hellbourne_Spawn" />
<spawnunit name="Hero_Valkyrie" source="target_entity" target="ent0" pushentity="true" team="2" proxy="target_entity" />
<setowner entity="stack_entity" player="target_entity" />
<sethero entity="target_entity" hero="stack_entity" />
</else>
</foreachplayer>
</onspawn >

</state>


Of course you will have to modify it to match your map.
This script spawns on game start a valkyrie for each player ingame
at a location depending on their team. In addition you will have to add
the following to your game_info.entity

noheroselect="true"