RPG lua questions..
Posted: Tue Dec 29, 2015 7:22 pm
I am interested in creating an RPG map. The map should be very large and full detailed, the story should take some hours at least. I already have a working save/load function and was also playing around with some things in Zero Editor. I know it's a big plan and I also know it's going to be harder than hard. But I would like to accept that challenge. My only bad is I am not a good scripter at all. So I have some questions. A lot of. Thank you for reading and helping me.
Alright let's start:
1) Is it possible to change the geometry of an addon mesh through lua? Example: A certain unit has an addon mesh attached to his head (Hair geometry for example). Is it possible to change the geometry so a unit would have different hair (since the geometry has changed).
2) Is it possible to use this line:
when you leave a certain vehicle? I wanted to create a large vehicle and if you leave this certain vehicle you should be able to choose it as a spawn location (commandhover/ You will spawn high above on the floow instead of spawning behind the vehicle).
I know I am a bit confusing. I just would like to know if this is possible OR is it possible to change the location where you spawn AFTER you left a vehicle? Instead of spawning behind you should be able to spawn on top.
3) Region Limit...We all know the number of 70. You can only load up to 70 regions in total in your current mode. But were they talking about 7o regions which are being loaded or about active regions? What about DeactivateRegion and ActivateRegion? Could you have more regions than needed if you enable and disable them from the beginning?
That's all so far. Please ask me if you misunderstood anything.
Alright let's start:
1) Is it possible to change the geometry of an addon mesh through lua? Example: A certain unit has an addon mesh attached to his head (Hair geometry for example). Is it possible to change the geometry so a unit would have different hair (since the geometry has changed).
2) Is it possible to use this line:
Code: Select all
AcceptHero(0)I know I am a bit confusing. I just would like to know if this is possible OR is it possible to change the location where you spawn AFTER you left a vehicle? Instead of spawning behind you should be able to spawn on top.
3) Region Limit...We all know the number of 70. You can only load up to 70 regions in total in your current mode. But were they talking about 7o regions which are being loaded or about active regions? What about DeactivateRegion and ActivateRegion? Could you have more regions than needed if you enable and disable them from the beginning?
That's all so far. Please ask me if you misunderstood anything.