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 - deathincarnatelolz

Pages: [1]
1
Tutorials / Sea Battles
« on: August 30, 2009, 08:42:23 AM »
Quote from: "cdvader"
Hey man. This is some nice contribution you've made to the whole modding community, etc. So I thought I'd help you with some issues you had previously. Hope I will help.

In this thread, http://forums.taleworlds.net/index.php/topic,53962.0.html, I saw you were having problems by "connecting" scene props. You can "connect" objects by using the (position_transform_position_to_parent) or (position_transform_position_to_local). I recommend using the transform to local variant.

And in this thread, http://forums.taleworlds.net/index.php/topic,72933.msg1893703.html#msg1893703, I saw you had a pretty ... no offense: crappy code. Try this code, it should work.

Code: [Select]
   #CdVader - Ship Collision fixer.
#Put this in your ship's mission template.
    (1, 0, ti_once, [],
    [(scene_prop_get_instance, ":player_ship", "spr_player_ship", 0),
 (scene_prop_get_instance, ":enemy_ship", "spr_enemy_ship", 0),
 (prop_instance_get_position, pos1, ":player_ship"),
     (prop_instance_get_position, pos2, ":enemy_ship"),
 (try_begin),
    (get_distance_between_positions, pos1, pos2),
(lt, ":distance", 400),
(position_move_z, pos1, 200),
(position_move_z, pos2, -200),
(prop_instance_animate_to_position, pos1, ":player_ship", 400), #4 seconds.
(prop_instance_animate_to_position, pos2, ":enemy_ship", 400), #4 seconds.
 (try_end),
 (assign, "$boardedd", 1),
]),

Again, I hope I helped,
cdvader.

PS: Download this file for the "cleaner" version.
Where do I put the ship code??

And where do I put this:

Spoiler: click to toggle

2
This is a mod ( for version 1.011 and is based on the expansion, The Wrath of The Lich King, of the popular MMORPG (Massive Mutiplayer Online Role Playing Game), World of Warcraft. This mod will allow you to be one of the 10 races from World of Warcraft, fight the Scourge in the frozen wastes of Northrend, join the Horde or the Alliance, or the Scarlet Crusade, who are attacking the Lich King, or the serpentine Naga, or the Argent Crusade, or the Kirin Tor, masters of the arcane, or the spider-like monsters called Nerubians, or even the Undead Scourge, get rare equipment and items from World of Warcraft, explore the world, fight bosses from the MMORPG (but not Onyxia, as we cant modify the skeletons, as mentioned before), be a Deathknight, and much, much more...

So who'll join me? We need a mapper. Or should I make it based on the new expansion, Cataclysm?

Pages: [1]