DylanRocket wrote:
You need to load "all_inf_rifleman" or any other unit that has "all_weap_inf_rifle".
For example:
Code: Select all
ReadDataFile("dc:SIDE\\all.lvl",
"all_inf_survive1",
"all_inf_rifleman")
This fixed it. But I am going to use weapons "borrowed" by the empire.
[RDH]Zerted wrote:
If you're changing weapon properties the map won't work online. Keep that in mind. Don't add it to the MP mission selection list in your addme.lua.
I will look what can be done for online compatibilty.
Thanks for all the replies. I still have some questions about mission scripting.
1. Currently I am working on a wave mode and the other team (enemies) have to kill the player (That's me). I used the "Deathmatch" AI goal, but the bots are mostly running away (when they are far away). Their goal is to kill me (=They have to walk to my current location and must kill me).
I used this:
But they now just stands and don't do anything. They don't even react when I shoot them.
I think it's because of "ATT". What's the name of all (Or only me) human players. So their goal is to kill all humans in Team ATT (ALLiance).
2. This is a question about limitaions. How many objectives can I put into one single campain. I plan to do a further project with a long storyline. And I was curious about the total amount of working objectives.
My theory: File size. Maybe there's a maximum of KB's. Like the 16mb limit for textures. But I might be wrong.
Thank you for helping me.