I'm designing this map here: http://www.gametoast.com/viewtopic.php? ... 08#p518408
And I have some questions about mapping and scripting it.
I'm looking at making 4-6 large buildings, 2 of them entirely unique, the others, the same with different rooms, how am I best getting these in game?
Ie should I make them without intractable objects and put them in game as "one piece?"
Or do it "floor by floor?"
Or do it as a shell, and add the rooms as needed?
Can the AI be "Taught" that if it wants to go through a door it must destroy it's "lock"?
Can the AI be "taught" to breach a wall or door to get access to a room "locked-off" behind?
Can the AI be "taught" to stand in a grav-lift until it moves, and then stops again, and then told to "Get out"?
Or can the lifts be controllable, but "on-rails" vehicles?
I know lifts have been made, but did the maker ever write a guide?
How does one make ambushes in instant action? I.e. shoot a lock, someone runs out, enter the living room and someone runs out from another room?
And how would one make the "ambushes" random so that if the CP nearest was owned by a faction, then 20% of the time, that faction's units would replace the local (Default civilian) side in that ambush?
Any other comments/ideas? How would this be better? Etc
Advanced mapping and map related scripting
Moderator: Moderators
-
ARC1778
- Sergeant Major

- Posts: 230
- Joined: Sat Jun 20, 2015 7:44 am
- Projects :: WARFRONT + Various Mods for Other Games
- xbox live or psn: AlexisVixie
- Location: Glasgow, tumblr.
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Advanced mapping and map related scripting
Yes.ARC1778 wrote:Can the AI be "Taught" that if it wants to go through a door it must destroy it's "lock"?
Yes.ARC1778 wrote:Can the AI be "taught" to breach a wall or door to get access to a room "locked-off" behind?
Yes.ARC1778 wrote:Can the AI be "taught" to stand in a grav-lift until it moves, and then stops again, and then told to "Get out"?
All of these things can be accomplished, though some are difficult, and may require separate teams.
http://www.gametoast.com/viewtopic.php?f=27&t=5865ARC1778 wrote:I know lifts have been made, but did the maker ever write a guide?
Also one in the documentation.
There's a bunch of tutorials in the FAQ for ambushes. You just need to set it up for your needs.ARC1778 wrote:How does one make ambushes in instant action? I.e. shoot a lock, someone runs out, enter the living room and someone runs out from another room?
Use math.random() in your code, so each time you want to check if the ambush will appear or not, it'll give you a random number to use.ARC1778 wrote:And how would one make the "ambushes" random so that if the CP nearest was owned by a faction, then 20% of the time, that faction's units would replace the local (Default civilian) side in that ambush?
-
ARC1778
- Sergeant Major

- Posts: 230
- Joined: Sat Jun 20, 2015 7:44 am
- Projects :: WARFRONT + Various Mods for Other Games
- xbox live or psn: AlexisVixie
- Location: Glasgow, tumblr.
Re: Advanced mapping and map related scripting
*Salutes* Thank you sir!
