SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: Working on a Castle Fight map

Results 1 to 19 of 19
  1. #1

    Working on a Castle Fight map

    Hey,

    I started today with the map editor, and wanted to make Castle Fight (Also made in Warcraft 3)

    Since I got no experience with coding, I want to know how I can make a unit (a hero for example) make buildings and how to code it. Also the creeps should be attacking each other usually in the center of the lane (depends what time they are spawned) this also needs some coding but should be easy, since that is already used in Heroes of Newerth aswell.

    The game is actually pretty simple and very easy to make I think. You got 2 castles one on the left center of the map, and one on the right center of the map. If you make a building, creeps from that building start to spawn. (For example you make a ranged barracks, every 10 seconds it spawns an archer)

    You get gold for killing enemy creeps, so you can build more buildings which give the best battle advantage. Also there will be a rescue strike build in (When the enemy is on the edge of owning you, you can do the strike and all their units will be gone and you will get a gold boost)

    Each side can have up to 5 players, maybe it will be more but the map editor doesn't allow it yet. (I prefer 6 so you can have 3 players per lane)

    Also I hope I can get more factions in the game, but that is something for a later stadium. It will now probably just be Legion vs Hellbourne (Imagine how many varities of creeps you can have, since there are so many heroes =D)


    Anyway

    Help is appreciated =)


    Thanks in advance!

  2. #2

  3. #3
    Personally, I havn't messed with units creating buildings yet, but you could possibly have a skill that lays down a gadget (the gadget being the tower), with a 0 cooldown and infinite time for the gadget being there. You can set up each skill to have a tri-button, like Soulstealer's Demon Hands, which would allow for 12 tower "skills" per builder, allowing for 12 different towers.

    I'd check out Severon's Element TD here to see how he handles buildings, though..I havn't tried his map personally, but I'd imagine you could learn from it.
    Quote Originally Posted by Bendur View Post
    funny thing, all of my games are perfect, it's my team mates that make me lose
    Maps:
    Diablo II: Alpha coming soon

  4. #4
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Bulgaria
    Posts
    19
    i have alot of free time and can help you if you sent me PM whit skype or email or some messenger to talk and work togeter

  5. #5
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Czech Republic
    Posts
    136
    I love Castle Attack and i am really happy to know that someone is working on it.

    Anyway i wish you a good luck, i would love to help, but my coding skills are not so good, i only have some experience from creating/editing addons/mods which is really not enough to create something like this.


    Map design is pretty simple and shouldnt be a problem. However the building mechanics may be harder to implement.

    Most difficult thing is balance which shouldnt be problem either because you can just copy all the stats and attributes from original W3 map.

    And one more thing, have you thought about Armor Types and Damage Types? Because as far as i remember Castle Fight had like 8 Damage and Armor types.

  6. #6
    @Diablo: That is indeed true with the armor types, I still don't have any idea how to do that. Still working alot on the map design and I hope someone will be able to help me with the coding and such. I already got some help of the basics but the harder part is to make the buildings and stuff. I will look around at the tower defense game and maybe ask him aswell how he did it. I also waiting for a reaction on my PM at MantisBG

  7. #7
    Quote Originally Posted by Amuse View Post
    Personally, I havn't messed with units creating buildings yet, but you could possibly have a skill that lays down a gadget (the gadget being the tower), with a 0 cooldown and infinite time for the gadget being there. You can set up each skill to have a tri-button, like Soulstealer's Demon Hands, which would allow for 12 tower "skills" per builder, allowing for 12 different towers.

    I'd check out Severon's Element TD here to see how he handles buildings, though..I havn't tried his map personally, but I'd imagine you could learn from it.
    You can't have that many spells, you can only have one spell that is divided into 3. So you would have a maximum of 6 with the possibility of changing the attribute ability and the taunt.

    You could also use items for your building, since I guess they would cost you gold to build, and there is no real way of changing gold using scripts.

    Here is how to do the spawning:

    Create new items that when used, spawn a building.
    On that building, set an ability:
    inventory0="Ability_SpawnMelee"

    Create that ability:

    PHP Code:
    <ability
        name
    ="Ability_SpawnMelee"

        
    icon="icon.tga"

        
    baselevel="1"
        
    maxlevel="1"

        
    actiontype="passive"
    >
        <
    onspawn>
            <
    applystate name="State_SpawnMelee" target="source_entity" continuous="true" />
        </
    onspawn>
    </
    ability
    Now you create that new state:

    PHP Code:
    <state
        name
    ="State_SpawnMelee"

        
    icon="icon.tga"
        
        
    impactinterval="3000"
    >
        <
    onimpact>
            <
    spawnunit name="UNIT_TO_SPAWN" target="source_position" pushentity="true" />
            <
    order command="attack_follow" force="true" source="stack_entity" target="TARGET_TO_ATTACK" />
        </
    onimpact>
    </
    state
    This should work fine.
    Last edited by Oloko; 12-19-2010 at 05:56 PM.

  8. #8
    Quote Originally Posted by Oloko View Post
    You can't have that many spells, you can only have one spell that is divided into 3. So you would have a maximum of 6 with the possibility of changing the attribute ability and the taunt.
    Oh alright, good to know. I obviously didn't try it before I posted, but didn't see why they would limit it to only one ability that can be split into 3.

    Regardless, nice post Oloko, very helpful.
    Quote Originally Posted by Bendur View Post
    funny thing, all of my games are perfect, it's my team mates that make me lose
    Maps:
    Diablo II: Alpha coming soon

  9. #9
    Over all this wouldn't be to hard to do, though you are running into complications on buying buildings (if you want more than one race to play as, which I assume you do since WC3 has more than one) though that being said I bet you can just have the builder have access to x shop and buy items from there.

    The spawning is as easy as oloko stated, though I will admit I wouldn't have been able to just type it out for you from memory, truth be told I'm not very good with this stuff and everything I know is trial and error.

    Basically what your going to find is that your going to run into alot of file editing, over and over again, nothing to difficult for the most part, just time consuming

  10. #10
    GL with it.

    Dont expect it to be done in 2 weeks xD

    You will need to work alot on it to make it atleast playable
    My custom map -> Pacman HoN Style

  11. #11
    i want it!
    could you post some screenshots ?

  12. #12
    some one here check my thread of naruto map pls go check if u can make it that be great

  13. #13
    Offline
    Account Icon
    Join Date
    Sep 2009
    Location
    Duluth, MN, USA
    Posts
    2,530
    Please don't spam threads about what you said in a different thread.

  14. #14
    How is the state of your map?
    i want screenshots

  15. #15
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Newerth
    Posts
    137
    Whats the state now? I want play Castle fight again !!!

    I remember - in WC3 version there was a problem, when u fight for more about 30 mins... there are sooo many creeps on base, no ones Computer can handle it and we all had to quit -.- maybe make a Timelimit or Buildingslimit?
    Look at this: A Guide for

    You are Bored? - Free Browser Game: AFTERWIND

  16. #16
    CF is a legendary map from wc3, can't w8 u will finish ur map!

  17. #17
    CF holds a big part in my heart. Get this done!

  18. #18
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    2,075
    I put all my hope into you. I love castle fights, it's the nr.1 reason I go back to wc3 on a regular basis. Please do a fine job
    http://www.youtube.com/user/Ryodakun
    Quote Originally Posted by MrBigPlays View Post
    Free courier? Why not free wards? Why not free wingbow!?
    Quote Originally Posted by Death_Rattle View Post
    Free Tibet please.

  19. #19
    I really love Castle Fight in WC3, I would like to see in HoN but I think the OP gave up because the topic is kinda old ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •