I keep coming up with ideas of how to create scenarios, but....I'm not interested in playing Napoleon I as intended. I've changed the rules so that no buildings get destroyed on conquest, I'm changing up the buildings in the capitals, I'm making it so Constantuburies can be built anywhere, but I'm only building them in France.
as far as lua event modding goes I have some questions:
1. Can I just just use delete event to refresh the save files use of events like a normal events swap? Like Red Front and Fading Lights, where you have to change the events every couple of turns? Or can lau not be changed once the scenario starts?
2. I want to create a lau event where every time the French take a city there's a 10% chance it will spawn a plunder unit. I want more plunder.
3. I'm tired of savescummming to try and bloody my not-veterans into veteran status. It's too much work. I'd rather create an event where French units of all types can get under a leader, press K, and you pay 30 gold if Elan is still active and 50 if it's expired, the unit loses all but one hit point, all movement points for the turn, and becomes a veteran. And my increase that by ten gold for the non-Napoleon leaders. Maybe also it can't be in a city unit.
4. I want to modify the mortar unit to be able to fire from both siege works AND cities. I see the ven, I just don't know how to include cities.
I like the Europeans Powers track, and I'm loving the diplomacy as I've seen it thus far. It's just...man that the first turn frustrates the hell out of me. Also, it makes me not want to commit any Light infantry to battle ever because 24 units is not a lot. Even using the chaussures horse unit for coastal defense seems preferable, despite a HUGE increase in cost.
Thank you for the help.
EDIT: first Lua problem. the admin bonus are IMO horrible. I'm spending money, and I'm not getting veterans and I' not getting NONES. I modded Nappy's to create veterans and nones, and the homecity = Paris was easy to change to None and it woked.. Then I tried it with Soult.
His lua for homecity was {homeCity = findCityByName("Strasbourg"), veteran = true}), so I changed it to homecity = none. Now I'm getting an ' expected near ' error. What the hell is that?Hoe do I find it, and how do I fix it?
EDIT2: Changed it back to {homeCity = findCityByName("Strasbourg") and that worked. I still want those guys to be NONEs though. So what is find city by name and why does taking it out give me an expected near error?
as far as lua event modding goes I have some questions:
1. Can I just just use delete event to refresh the save files use of events like a normal events swap? Like Red Front and Fading Lights, where you have to change the events every couple of turns? Or can lau not be changed once the scenario starts?
2. I want to create a lau event where every time the French take a city there's a 10% chance it will spawn a plunder unit. I want more plunder.
3. I'm tired of savescummming to try and bloody my not-veterans into veteran status. It's too much work. I'd rather create an event where French units of all types can get under a leader, press K, and you pay 30 gold if Elan is still active and 50 if it's expired, the unit loses all but one hit point, all movement points for the turn, and becomes a veteran. And my increase that by ten gold for the non-Napoleon leaders. Maybe also it can't be in a city unit.
4. I want to modify the mortar unit to be able to fire from both siege works AND cities. I see the ven, I just don't know how to include cities.
I like the Europeans Powers track, and I'm loving the diplomacy as I've seen it thus far. It's just...man that the first turn frustrates the hell out of me. Also, it makes me not want to commit any Light infantry to battle ever because 24 units is not a lot. Even using the chaussures horse unit for coastal defense seems preferable, despite a HUGE increase in cost.
Thank you for the help.
EDIT: first Lua problem. the admin bonus are IMO horrible. I'm spending money, and I'm not getting veterans and I' not getting NONES. I modded Nappy's to create veterans and nones, and the homecity = Paris was easy to change to None and it woked.. Then I tried it with Soult.
His lua for homecity was {homeCity = findCityByName("Strasbourg"), veteran = true}), so I changed it to homecity = none. Now I'm getting an ' expected near ' error. What the hell is that?Hoe do I find it, and how do I fix it?
EDIT2: Changed it back to {homeCity = findCityByName("Strasbourg") and that worked. I still want those guys to be NONEs though. So what is find city by name and why does taking it out give me an expected near error?
Last edited: