Jump to content
  • 0
Sign in to follow this  
SantaCZ

718 adding GwD Bosses (No nex)

Question

-done- Edited by SantaCZ

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
NPCSpawning.java and make sure u include them in World.java for the respawn timer.

Share this post


Link to post
Share on other sites
  • 0
I tried to code them into NPC spawning but it didnt work :/....
I got the spawning of GWD bosses/minions at World.java ... but in NPCSpawning.java I got only unattackable NPCs... I tried to find all attackable NPCs and I found them all in "unpackedSpawnslist.txt" There are all attackable NPCs with location and all of them working... But only GWD bosses and Minions dont work and they are in this .txt too. please help me :/ ...
Here is my World.java maybe something is incorrect here:
[QUOTE]n = new GodwarsZammorakFaction(id, tile, mapAreaNameHash, canBeAttackFromOutOfArea, spawned);
else if (id == 6254 && id == 6259)
n = new GodwarsSaradominFaction(id, tile, mapAreaNameHash, canBeAttackFromOutOfArea, spawned);
else if (id == 6246 || id == 6236 || id == 6232 || id == 6240 || id == 6241 || id == 6242 || id == 6235 || id == 6234 || id == 6243 || id == 6236 || id == 6244 || id == 6237 || id == 6246 || id == 6238 || id == 6239 || id == 6230)
n = new GodwarsArmadylFaction(id, tile, mapAreaNameHash, canBeAttackFromOutOfArea, spawned);
else if (id == 6281 || id == 6282 || id == 6275 || id == 6279|| id == 9184 || id == 6268 || id == 6270 || id == 6274 || id == 6277 || id == 6276 || id == 6278)
n = new GodwarsBandosFaction(id, tile, mapAreaNameHash, canBeAttackFromOutOfArea, spawned);
else if (id == 6261 || id == 6263 || id == 6265)
n = GodWarsBosses.graardorMinions[(id - 6261) / 2] = new GodWarMinion(id, tile, mapAreaNameHash, canBeAttackFromOutOfArea, spawned);
else if (id == 6260)
n = new GeneralGraardor(id, tile, mapAreaNameHash, canBeAttackFromOutOfArea, spawned);
else if (id == 6222)
n = new KreeArra(id, tile, mapAreaNameHash, canBeAttackFromOutOfArea, spawned);
else if (id == 6223 || id == 6225 || id == 6227)
n = GodWarsBosses.armadylMinions[(id - 6223) / 2] = new GodWarMinion(
id, tile, mapAreaNameHash, canBeAttackFromOutOfArea,
spawned);
else if (id == 6203)
n = new KrilTstsaroth(id, tile, mapAreaNameHash,
canBeAttackFromOutOfArea, spawned);
else if (id == 6204 || id == 6206 || id == 6208)
n = GodWarsBosses.zamorakMinions[(id - 6204) / 2] = new GodWarMinion(
id, tile, mapAreaNameHash, canBeAttackFromOutOfArea,
spawned);
else if (id == 6248 || id == 6250 || id == 6252)
n = GodWarsBosses.commanderMinions[(id - 6248) / 2] = new GodWarMinion(
id, tile, mapAreaNameHash, canBeAttackFromOutOfArea,
spawned);
else if (id == 6247)
n = new CommanderZilyana(id, tile, mapAreaNameHash,
canBeAttackFromOutOfArea, spawned);[/QUOTE]

Share this post


Link to post
Share on other sites
  • 0
Now I tried to spawn that bosses and minions manually "::npc ID" and respawns worked great in gwd everything worked well... but they just wont spawn by their own first time... Please help ://

Share this post


Link to post
Share on other sites
  • 0
Already fixed :) just had bad spawn coords.... I had "X, Y, 0" and it works only with "X, Y, 2" ... stupid mistake :D thanks for helps though

Share this post


Link to post
Share on other sites
  • 0
when i spawn bandos, zamorak, armadyl, saradomin with this commande ::npc ID i can attack them but when i add them in the Npcspawning i can't attack them. Please help!!

Share this post


Link to post
Share on other sites
Sign in to follow this  

×