Hello all
I was wondering if there was a way to get my hero i just built (thanx to the tutorial on this site) into the campaign mode. I made Erkenbrand and i want to use him along with eomer.
Adding A Custom Hero to a Campaign
Started by
Guest_Glaurungs Bane_*
, May 30 2005 04:44 PM
4 replies to this topic
#1 Guest_Glaurungs Bane_*
Posted 30 May 2005 - 04:44 PM
#2
Posted 30 May 2005 - 04:59 PM
Yes, it's possible, but it requires a lot of work. It requires editing every campaign map where you want him to appear and to edit the campaign ini's so that he gets spawned at every campaign level you want him at.
#4
Posted 31 May 2005 - 12:33 AM
Actually, it can be terribly easy if you add him to certain maps. And if you want to do it easy, your best bet is to stick him in at Helm's Deep. Here's what I did (I think... It's been a while).
*Note1: If you want to have your hero begin at a non-special map, then what I have here won't help you. Doing that is like... insano long and beyond me.
Open up data/ini/campaigns/gondorcampaign and use the find tool to find: TheodenEowynSplitArmy:
Now you have to add in your Erkenbrand:
*Note2: if your Erkenbrand's ObjectName is not RohanErkenbrand, substitute your Erkenbrand's ObjectName.
This bit of coding will allow Erkenbrand to join with Theoden and Eowyn and will be with them for the rest of the campaign.
Now we've done the easy part. The next part is not only harder, but I won't be able to explain it very well as my World Builder isn't working at the moment and it's been a while since I've done this.
Open up the Good Helm's Deep Map (make sure you have extracted all the map files from Maps.big first and have moved Maps.big out of your B4ME folder) and centre your view on where the other heroes (Theoden, Legolas, etc.) are. Create a way point where you want Erkenbrand to be and name it Erkenbrand Spawn (or something like that... Just make it like the other way points for the other heroes). Now place the actual Erkenbrand object on top of the way point.
*Note3: Unfortunately, I haven't tried figuring out the way points for Eomer's reinforcements, so unless you can, you're stuck with Erkenbrand with Theoden and co.
Now this is the really tough part because I don't remember the details at all. Open up the Scripts (I think it's in the Edit drop-down). Look around in it until you find the Object Creation List for Rohan. Copy say... the Theoden code there and replace Theoden with Erkenbrand. If that makes any sense.
There is also a Script somewhere in there for the starting levels for Theoden and Eowyn. Find it and do some stuff for Erkenbrand if you want.
Now, I can't say that this is all. I really can't remember and I can't test it out myself, but I have got it to work in the past (added good old Haldir to Helm's Deep). Just save your campaign just going into Helm's Deep and test if your changes worked. If they didn't, don't save over that saved file and just keep looking around in the Scripts of the Helm's Deep map until you get it right.
Best of luck.
*Note1: If you want to have your hero begin at a non-special map, then what I have here won't help you. Doing that is like... insano long and beyond me.
Open up data/ini/campaigns/gondorcampaign and use the find tool to find: TheodenEowynSplitArmy:
LivingWorldPlayerArmy Name = TheodenEowynSplitArmy DisplayNameTag = LWA:Rohan ArmyEntry ThingTemplate = RohanTheoden Quantity = 1 End ArmyEntry ThingTemplate = RohanEowyn Quantity = 1 End End
Now you have to add in your Erkenbrand:
LivingWorldPlayerArmy Name = TheodenEowynSplitArmy DisplayNameTag = LWA:Rohan ArmyEntry ThingTemplate = RohanTheoden Quantity = 1 End ArmyEntry ThingTemplate = RohanEowyn Quantity = 1 End ArmyEntry ThingTemplate = RohanErkenbrand Quantity = 1 End End
*Note2: if your Erkenbrand's ObjectName is not RohanErkenbrand, substitute your Erkenbrand's ObjectName.
This bit of coding will allow Erkenbrand to join with Theoden and Eowyn and will be with them for the rest of the campaign.
Now we've done the easy part. The next part is not only harder, but I won't be able to explain it very well as my World Builder isn't working at the moment and it's been a while since I've done this.
Open up the Good Helm's Deep Map (make sure you have extracted all the map files from Maps.big first and have moved Maps.big out of your B4ME folder) and centre your view on where the other heroes (Theoden, Legolas, etc.) are. Create a way point where you want Erkenbrand to be and name it Erkenbrand Spawn (or something like that... Just make it like the other way points for the other heroes). Now place the actual Erkenbrand object on top of the way point.
*Note3: Unfortunately, I haven't tried figuring out the way points for Eomer's reinforcements, so unless you can, you're stuck with Erkenbrand with Theoden and co.
Now this is the really tough part because I don't remember the details at all. Open up the Scripts (I think it's in the Edit drop-down). Look around in it until you find the Object Creation List for Rohan. Copy say... the Theoden code there and replace Theoden with Erkenbrand. If that makes any sense.
There is also a Script somewhere in there for the starting levels for Theoden and Eowyn. Find it and do some stuff for Erkenbrand if you want.
Now, I can't say that this is all. I really can't remember and I can't test it out myself, but I have got it to work in the past (added good old Haldir to Helm's Deep). Just save your campaign just going into Helm's Deep and test if your changes worked. If they didn't, don't save over that saved file and just keep looking around in the Scripts of the Helm's Deep map until you get it right.
Best of luck.
#5 Guest_Guest_*
Posted 03 July 2005 - 09:48 PM
Thanx I got that working but ive been trying to find a way to add him to Eomers army from the start, No luck yet
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users