final version of the wml code
Moderator: Forum Moderators
-
- Posts: 166
- Joined: June 4th, 2004, 8:18 pm
- Location: Atlanta, GA
- Contact:
final version of the wml code
this is the last thing im changing that ogre code to
however, it says it cannot find the end tags such as [/message] and says it finds [/unit] or [/multiplayer] instead
sometimes it even causes errors in other maps included in the game to pop up even though there is nothing wrong with them
because there is nothing wrong with the code, i need confirmation that this is a bug in the game
however, it says it cannot find the end tags such as [/message] and says it finds [/unit] or [/multiplayer] instead
sometimes it even causes errors in other maps included in the game to pop up even though there is nothing wrong with them
because there is nothing wrong with the code, i need confirmation that this is a bug in the game
Code: Select all
#define FINDOGRE xl yl ogrename ogreid
[event]
name=moveto
[filter]
 x={xl}
 y={yl}
[/filter]
[command]
[kill]
[filter]
x={xl}
y={yl}
[/filter]
[/kill]
[unit]
 type=Ogre
 description={ogrename}
 x={xl}
 y={yl}
 side=$side_number
 [modifications]
  [trait]
  id=strongandresilientandinvisible
  [effect]
   apply_to=hitpoints
   increase_total=12
   heal_full=yes
  [/effect]
  [effect]
   apply_to=attack
   range=short
   increase_damage=2
  [/effect]
  [effect]
   apply_to=status
   add=ambush,nightstalk
  [/effect]
  [/trait]
 [/modifications]
[/unit]
[message]
 id={ogreid}
 description={ogrename}
 message="Player $side_number has sacrificed a unit to enlist the aid of a temporarily invisible Ogre!"
[/message]
[/command]
[/event]
#enddef
{FINDOGRE 13 14 Thud ogre1}
{FINDOGRE 18 10 Crack ogre2}
{FINDOGRE 8 9 Smash ogre3}
{FINDOGRE 20 13 Slam ogre4}
{FINDOGRE 14 11 Boom ogre5}
Hard/Melodic Trance, other Electronica:
http://www.musicv2.com/artist/stosswelle
Play Blood Series Maps!
--- ~WAY~ We Are Yousnoth---
<Li`sar> he likes it when i stand up with the remote held high "I am the princess"
http://www.musicv2.com/artist/stosswelle
Play Blood Series Maps!
--- ~WAY~ We Are Yousnoth---
<Li`sar> he likes it when i stand up with the remote held high "I am the princess"
Re: final version of the wml code
BTW there is one bug in the code:
should be
Code: Select all
[kill]
[filter]
x={xl}
y={yl}
[/filter]
[/kill]
Code: Select all
[kill]
x={xl}
y={yl}
[/kill]
-
- Posts: 166
- Joined: June 4th, 2004, 8:18 pm
- Location: Atlanta, GA
- Contact:
code with dacyn fix
error message on loading multi attempt:
Code: Select all
#define FINDOGRE xl yl ogrename ogreid
[event]
name=moveto
[filter]
 x={xl}
 y={yl}
[/filter]
[command]
[kill]
x={xl}
y={yl}
[/kill]
[/command]
[unit]
 type=Ogre
 description={ogrename}
 x={xl}
 y={yl}
 side=$side_number
 [modifications]
  [trait]
  id=strongandresilientandinvisible
  [effect]
   apply_to=hitpoints
   increase_total=12
   heal_full=yes
  [/effect]
  [effect]
   apply_to=attack
   range=short
   increase_damage=2
  [/effect]
  [effect]
   apply_to=status
   add=ambush,nightstalk
  [/effect]
  [/trait]
 [/modifications]
[/unit]
[message]
 id={ogreid}
 description={ogrename}
 message="Player $side_number has sacrificed a unit to enlist the aid of a temporarily invisible Ogre!"
[/message]
[/event]
#enddef
{FINDOGRE 13 14 Thud ogre1}
{FINDOGRE 18 10 Crack ogre2}
{FINDOGRE 8 9 Smash ogre3}
{FINDOGRE 20 13 Slam ogre4}
{FINDOGRE 14 11 Boom ogre5}
about to report as bug in gameForestofFear.cfg 1: found illegal end tag '/multiplayer', at end of 'message'
Hard/Melodic Trance, other Electronica:
http://www.musicv2.com/artist/stosswelle
Play Blood Series Maps!
--- ~WAY~ We Are Yousnoth---
<Li`sar> he likes it when i stand up with the remote held high "I am the princess"
http://www.musicv2.com/artist/stosswelle
Play Blood Series Maps!
--- ~WAY~ We Are Yousnoth---
<Li`sar> he likes it when i stand up with the remote held high "I am the princess"
-
- Posts: 873
- Joined: July 4th, 2004, 9:14 pm
- Location: My imagination
- Contact:
Is increasing HP by 12 intentional? A normal strong and resilient unit would get 2 + 7 = 9 extra HP, not 12.
Play a Silver Mage in the Wesvoid campaign.