PDA

View Full Version : Adding some roleplay elements.


General Dragon
10-16-2008, 09:13 AM
I am working on a mod to add some old fashioned RPG elements in the game eg. Hero attribute development, random encounters in the form of indigenous population and pirates, close-up third-person camera views etc. What I would like to find out is if anyone knows how to mod the game to be able to initiate a tactical land battle even if it is a friendly planet, eg. dragging Boba Fett to the "Neutralize Hero" slot on one of the player's own planets and instead of showing the neutralize hero dialog, activates a tactical land battle to be able to view and/or explore your own planets, upgrade troops, fight hostile indigenous species etc. I am also trying to figure out a way to be able to take direct control of heroes and/or other units.

darth_kira56
11-20-2009, 12:30 PM
You Mean like Warcraft 3

Chandler
11-21-2009, 12:19 AM
Something like this:

<Event Name="Deploy_Boba_Fett">
<Event_Type>STORY_DEPLOY</Event_Type>
<Event_Param1>Boba_Fett_Team</Event_Param1>
<Event_Param2>Coruscant</Event_Param2>
<Prereq>Universal_Story_Start</Prereq>
</Event>

<Event Name="Link_Boba_Fett">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>LINK_TACTICAL</Reward_Type>
<Reward_Param1>Coruscant</Reward_Param1>
<Reward_Param2>GROUND</Reward_Param2>
<Reward_Param3>Empire</Reward_Param3>
<Reward_Param4>_land_planet_coruscant_rpg.ted</Reward_Param4>
<Reward_Param5>Hostile</Reward_Param5>
<Reward_Param6>Boba_Fett</Reward_Param6>
<Reward_Param7>Story_Plots_Empire_Land_Coruscant_RPG.xml</Reward_Param7>
<Reward_Param8>0</Reward_Param8>
<Reward_Param9>0</Reward_Param9>
<Reward_Param10>1</Reward_Param10>
<Reward_Param11>1</Reward_Param11>
<Reward_Param13>0</Reward_Param13>
<Prereq>Deploy_Boba_Fett</Prereq>
</Event>
Assuming you have the SDK, story scripting is pretty thoroughly documented in the file named "Story Mode and Tutorial Scripting System".