+- +-

+-User

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

+-Stats

Members
Total Members: 139
Latest: Lex Luthor
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 77
Total Topics: 43
Most Online Today: 4
Most Online Ever: 1888
(December 24, 2023, 12:48:40 am)
Users Online
Members: 0
Guests: 4
Total: 4

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - zwclose7

Pages: 1 [2] 3
16
Battle for Wesnoth / Weapon special: curse (with example unit)
« on: March 05, 2017, 12:51:25 am »
Description: This attack reduces an enemy's HP by half on its next turn.

https://www.youtube.com/watch?v=qxqdd31PXIc

Code

Code: [Select]
#define WEAPON_SPECIAL_CURSE
[dummy]
id=curse
name="curse"
description="This attack reduces an enemy's HP by half on its next turn."
[/dummy]

[/specials]
[/attack]

[event]
name=attacker hits
first_time_only=no

[filter_attack]
special=curse
[/filter_attack]

[filter_second]
[not]
[filter_wml]
[status]
cursed=yes
[/status]
[/filter_wml]
[/not]
[/filter_second]

{VARIABLE second_unit.status.cursed yes}

[unstore_unit]
variable=second_unit
text="cursed"
{COLOR_HARM}
[/unstore_unit]

[unit_overlay]
x=$x2
y=$y2
image=curse.png
[/unit_overlay]
[/event]

[event]
name=defender hits
first_time_only=no

[filter_second_attack]
special=curse
[/filter_second_attack]

[filter]
[not]
[filter_wml]
[status]
cursed=yes
[/status]
[/filter_wml]
[/not]
[/filter]

{VARIABLE unit.status.cursed yes}

[unstore_unit]
variable=unit
text="cursed"
{COLOR_HARM}
[/unstore_unit]

[unit_overlay]
x=$x1
y=$y1
image=curse.png
[/unit_overlay]
[/event]

[event]
name=side turn
first_time_only=no

[store_unit]
[filter]
side=$side_number

[filter_wml]
[status]
cursed=yes
[/status]
[/filter_wml]
[/filter]

variable=cursed_units
[/store_unit]

{FOREACH cursed_units i}
{VARIABLE_OP cursed_units[$i].hitpoints divide 2}
{CLEAR_VARIABLE cursed_units[$i].status.cursed}

[scroll_to_unit]
x=$cursed_units[$i].x
y=$cursed_units[$i].y
[/scroll_to_unit]

[unstore_unit]
variable=cursed_units[$i]
text="curse"
{COLOR_HARM}
[/unstore_unit]

[remove_unit_overlay]
x=$cursed_units[$i].x
y=$cursed_units[$i].y
image=curse.png
[/remove_unit_overlay]

[sound]
name=wail-sml.wav
[/sound]

[delay]
time=300
[/delay]
{NEXT i}

{CLEAR_VARIABLE cursed_units}
[/event]

[+attack]
[+specials]
#enddef

#define SPECIAL_NOTES_CURSE
" This unit is able to curse its enemies, reducing their HP by half on their next turn."#enddef

Example unit

Code: [Select]
[unit_type]
[base_unit]
id=Saurian Oracle
[/base_unit]

id=Saurian Shaman
name="Saurian Shaman"
level=3
experience=150
hitpoints=48
cost=54
usage=mixed fighter
description="Saurian Shamans are the leaders of the Saurian race. They can curse the enemies to drain their health. This can quickly kill the even strongest enemy."+{SPECIAL_NOTES}+{SPECIAL_NOTES_LEADERSHIP}+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_HEALS}+{SPECIAL_NOTES_CURSE}

#Saurian Shaman have higher resistance to fire and cold damage due to their magical powers

[resistance]
fire=100
cold=100
[/resistance]

[abilities]
{ABILITY_LEADERSHIP_LEVEL_3}
[/abilities]

[attack]
damage=8
number=3
[/attack]

[attack]
damage=10
number=5

[specials]
{WEAPON_SPECIAL_CURSE}
[/specials]
[/attack]
[/unit_type]

17
Anime / Anime download sites
« on: February 19, 2017, 12:36:59 pm »
Here are some websites for downloading anime.

http://haruhichan.com/
https://www.nyaa.se/

You will need a torrent software to download anime. I recommend uTorrent because it's easy to use.
http://www.utorrent.com/

Most anime are in .mkv format. You can use VLC media player to play them.
http://www.videolan.org/vlc/

18
Battle for Wesnoth / Random map generator (Snow)
« on: February 05, 2017, 05:16:46 pm »
Description: Random map filled with frozen terrains

Code: [Select]
[multiplayer]
id=Random_Snow
name="Random map (Snow)"
description="Random map filled with frozen terrains"
map_generation=default

[generator]
[scenario]
id=Random_Snow
name="Random map (Snow)"

{WINTER_SCHEDULE}
{DEFAULT_MUSIC_PLAYLIST}

[event]
name=prestart

[terrain]
[and]
terrain=Ch
[/and]

terrain=Cha
[/terrain]

[terrain]
[and]
terrain=Kh
[/and]

terrain=Kha
[/terrain]
[/event]
[/scenario]

name=default
map_width=60
map_height=60
iterations=5000
hill_size=6
max_lakes=50
villages=32
players=4
castle_size=7
min_lake_height=450
lake_size=400
river_frequency=60
default_flatland=Aa

temperature_iterations=5000
temperature_size=6

[height]
height=800
terrain=Ms^Xm
[/height]

[height]
height=500
terrain=Ms
[/height]

[height]
height=300
terrain=Ha
[/height]

[height]
height=100
terrain=Aa
[/height]

[height]
height=10
terrain=Ww
[/height]

[height]
height=0
terrain=Wo
[/height]

[convert]
min_temperature=500
from=Aa
to=Aa^Fma
[/convert]

[convert]
min_temperature=500
from=Ha
to=Ha^Fpa
[/convert]

[convert]
max_temperature=400
min_height=20
from=Ww,Wo
to=Ai
[/convert]

[village]
terrain=Aa
convert_to=Aa^Vha
adjacent_liked=Aa,Aa,Aa,Aa,Ww,Ww,Ha
rating=10
[/village]

[village]
terrain=Aa^Fma
convert_to=Aa^Vea
adjacent_liked=Aa,Aa,Aa,Aa^Fma,Aa^Fma,Ww
rating=8
[/village]

[village]
terrain=Ww
convert_to=Ww^Vm
adjacent_liked=Ww,Ww,Wo,Ai,Ai,Ai,Ai,Aa,Aa,Aa,Aa
rating=5
[/village]

[village]
terrain=Aa
convert_to=Aa^Vaa
adjacent_liked=Aa,Aa,Aa,Aa,Ww,Ww,Ai
rating=5
[/village]

[village]
terrain=Ai
convert_to=Ai^Vaa
adjacent_liked=Aa,Aa,Aa,Aa,Ww,Ww,Ai,Ai
rating=5
[/village]

[castle]
valid_terrain=Aa,Aa^Fma,Ha
min_distance=10
[/castle]
[/generator]
[/multiplayer]

Screenshots




19
Battle for Wesnoth / Ability: fallback
« on: February 04, 2017, 09:41:14 pm »
Description: This unit regains its movement after attacking, but can't attack again.

Code: [Select]
#define ABILITY_FALLBACK
[dummy]
id=fallback
name="fallback"
description="This unit regains its movement after attacking, but can't attack again."
[/dummy]

[/abilities]

[event]
name=attack end
first_time_only=no

[modify_unit]
[filter]
ability=fallback
x=$x1
y=$y1
[/filter]

moves=$this_unit.max_moves

[status]
uncovered=no
[/status]
[/modify_unit]
[/event]

[+abilities]
#enddef

#define SPECIAL_NOTES_FALLBACK
" This unit's fallback ability allows it to retreat after attacking."#enddef

21
Battle for Wesnoth / Ability: immortal
« on: January 30, 2017, 08:33:51 pm »
Description: Units with this ability can only be killed by arcane attacks.

Code: [Select]
#define ABILITY_IMMORTAL
[dummy]
id=immortal
name="immortal"
description="Units with this ability can only be killed by arcane attacks."
[/dummy]

[/abilities]

[event]
name=last breath
first_time_only=no

[filter]
ability=immortal
[/filter]

[filter_second_attack]
[not]
type=arcane
[/not]
[/filter_second_attack]

{VARIABLE unit.hitpoints 1}

[unstore_unit]
variable=unit
text="resist"
{COLOR_HEAL}
[/unstore_unit]
[/event]

[+abilities]
#enddef

#define SPECIAL_NOTES_IMMORTAL
" This unit can only be killed by arcane attacks."#enddef

22
Battle for Wesnoth / Weapon special: death sting (with example unit)
« on: January 22, 2017, 09:48:02 pm »
Description: When this attack hits a poisoned unit, the unit is instantly killed. Death event are triggered.

Code: [Select]
#define WEAPON_SPECIAL_DEATH_STING
[dummy]
id=death_sting
name="death sting"
description="When this attack hits a poisoned unit, the unit is instantly killed. Death event are triggered."
[/dummy]

[/specials]
[/attack]

[event]
name=attacker hits
first_time_only=no

[filter_attack]
special=death_sting
[/filter_attack]

[filter_second]
[filter_wml]
[status]
poisoned=yes
[/status]
[/filter_wml]
[/filter_second]

[unstore_unit]
variable=second_unit
text="instant death"
{COLOR_HARM}
[/unstore_unit]

[kill]
x=$x2
y=$y2
animate=yes
fire_event=yes
[/kill]
[/event]

[event]
name=defender hits
first_time_only=no

[filter_second_attack]
special=death_sting
[/filter_second_attack]

[filter]
[filter_wml]
[status]
poisoned=yes
[/status]
[/filter_wml]
[/filter]

[unstore_unit]
variable=unit
text="instant death"
{COLOR_HARM}
[/unstore_unit]

[kill]
x=$x1
y=$y1
animate=yes
fire_event=yes
[/kill]
[/event]

[+attack]
[+specials]
#enddef

#define SPECIAL_NOTES_DEATH_STING
" This unit's death sting attack kills any poisoned units instantly."#enddef

Example unit

Code: [Select]
[unit_type]
[base_unit]
id=Giant Scorpion
[/base_unit]

# A stronger version of Giant Scorpion

id=Death Scorpion
name="Death Scorpion"
description="Death Scorpions are deadly creatures. They can attack with their venomnous sting or pincers, or by firing death ray from their tail."+{SPECIAL_NOTES}+{SPECIAL_NOTES_POISON}+{SPECIAL_NOTES_DEATH_STING}
level=4
experience=200
hitpoints=80
cost=60
alignment=chaotic
usage=mixed fighter

# Death Scorpions are immune to poison

[trait]
id=immune
availability=musthave
name="immune"
description="Immune to poison"

[effect]
apply_to=status
add=unpoisonable
[/effect]
[/trait]

# Death Scorpions are faster than normal scorpions

[movement_costs]
hills=1
mountains=2
cave=1
sand=1
frozen=1
[/movement_costs]

[defense]
cave=50
sand=50
fungus=40
[/defense]

# Death Scorpions have harder shell than normal scorpions

[resistance]
blade=70
pierce=70
fire=100
cold=100
[/resistance]

[attack]
damage=20

[specials]
{WEAPON_SPECIAL_DEATH_STING}
[/specials]
[/attack]

[attack]
damage=16
[/attack]

[attack]
name=death ray
description="death ray"
icon=attacks/dark-missile.png
type=fire
range=ranged
damage=10
number=4
[/attack]

[attack_anim]
[/attack_anim]

[attack_anim]
[/attack_anim]

# Death Scorpions have an extra ranged attack

[attack_anim]
[filter_attack]
name=death ray
[/filter_attack]

start_time=-100
missile_start_time=-50

[missile_frame]
duration=100
image=projectiles/darkmissile-n.png
image_diagonal=projectiles/darkmissile-ne.png
[/missile_frame]

{SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -50}
[/attack_anim]
[/unit_type]

23
Japanese singers / Rie Shirasawa
« on: January 08, 2017, 12:28:12 am »

24
Anime / Anime girls theme
« on: November 06, 2016, 12:50:49 am »
Here is a simple Windows theme of some cute anime girls. Enjoy!







Download:
https://www.mediafire.com/?pu6f93ozb6ynrcm

25
Anime / Chino is very cute!
« on: June 12, 2016, 10:36:08 pm »



26
Chemistry / About superoxide
« on: May 14, 2016, 12:30:31 pm »
The superoxide ion is an anion with an unpaired electron on one of its oxygen atom. Because of the unpaired electron, the superoxide ion is very reactive.

Superoxide is formed in cells during the electron transport chain. When formed in the cell, the superoxide ion attacks organic molecules, such as DNA, proteins and lipids, damaging the cell. To protect the cell from the superoxide, superoxide dismutase is produced to decompose the superoxide ion into hydrogen peroxide and oxygen. However, hydrogen peroxide is still toxic to the cell, so catalase is produced to decompose the hydrogen peroxide into oxygen and water.

27
Anime / Slur explosion
« on: May 11, 2016, 08:42:08 pm »
Anime: Rockman Stream episode 48

https://www.youtube.com/watch?v=2meMW7scoSY

28
Anime / Flashman's secret move
« on: May 11, 2016, 08:40:27 pm »
Anime: Rockman Stream episode 40

https://www.youtube.com/watch?v=XrbiNWvcYls

29
Physics / Timezones explained
« on: May 07, 2016, 10:41:12 pm »

30
Biology / DNA repairing
« on: April 23, 2016, 10:12:17 pm »
A short video about DNA repairing.

https://www.youtube.com/watch?v=vP8-5Bhd2ag

Pages: 1 [2] 3

+-Recent Topics

Train Station 2 Mod APk by Lex Luthor
September 14, 2023, 08:05:17 pm

Poison of the Day by zwclose7
March 16, 2020, 06:45:08 pm

The properties of GP nerve agent by xchg
October 19, 2018, 07:40:57 pm

A new route of synthesis for G-series agents by Basquyatti
October 15, 2018, 06:12:57 am

Synthesis of Methylisobutylcarbinylsarin (GH) by APC process by Basquyatti
October 14, 2018, 07:55:33 am

Synthesis conventional of Sarin by Basquyatti
October 02, 2018, 07:57:32 am

Reaction CX-7 (Experimental) by zwclose7
October 02, 2018, 12:46:47 am

The military preparation of FTH by Basquyatti
October 01, 2018, 10:15:39 pm

My chemistry videos by zwclose7
April 15, 2018, 06:05:45 pm

new way to download anime (XDCC) by saikyouzero21
April 03, 2018, 09:54:29 pm