Uploaded by wangtangchangbang on Aug 16, 2011
To save resources I added some code to my mob generator to wait until the player enters the area before spawning the mobs, but then the collider for that conflicts with the collider the mobs use to determine the distance they are from the player to determine if they should attack, move, or stay idle.
There's 2 lines of code that if I enable them, the mob generator works perfectly, but the mobs it spawns can't walk, though they target you and pivot towards you. It's the weirdest thing. Then if I comment out 2 lines of code, the mobs will spawn automatically when the scene starts, but they'll be able to move and chase the player. (current priority)
When the mob generator is functioning properly, there will be no need to load them into memory until you enter their vicinity to spawn them. If you leave the area they will stay idle while a countdown runs which will despawn them after x time of being inactive.
The greatness of the mob generator is from the editor since the variables are public, I can drag and drop whatever monsters I want it to spawn onto the variables, and it'll randomly choose from those monsters. So I can set up 1 generator at each mob village which will randomly spawn from a pool of mage/ranger/warrior type monsters (or lesser and greater mixed), or you could completely randomize and have it spawn randomly from however many monsters you have. There's a lot of freedom with it.
Another top priority is the cameras. Currently there's no scrolling limits so you can spin them around and get all screwed up, I need to set a max X, Y. I also have 2 cameras that I toggle between with a switch statement for fps/3rd person, turning various components on either camera on or off depending which camera is active. Both cameras use a mount point to pin them to the character so I think a better way is just to use 1 camera and have it switch mount points rather than cameras.
I'm kinda torn on the world size. I started a little different map, expanding the main land mass to the edge and getting rid of many of the islands, but then the terrain by itself was 80 mb with no buildings.
Basically the main level will have portals to other maps, actually branch off with many portals to many different maps/levels, but the larger I make the first map, the longer the load time and the more resources in the scene to load into memory.
Category:
Tags:
- 3d
- fantasy
- rpg
- adventure
- free
- quest
- adventures
- action
- game
- medieval
- goblin
- monster
- fireball
- wizard
- mage
- magery
- warrior
- sword
- browser
- online
- video
- games
- gameplay
- spawn
- mob
- ranger
- warriors
- shooter
- shooting
- magic
- cast
- custom
- indie
- lore
- alternative
- fun
- 3D
- pre
- alpha
- development
- early
- progress
- startup
License:
Standard YouTube License
-
2 likes, 0 dislikes
6:22
04 - X-Men - The Official Game - Generator Roomby joingaramo1729,957 views
3:12
3D RPG Maker - Nintendo 3DSby StealMyGameIdeas24,990 views
4:22
[HQ] All Male Goblin Voice Overs (World of Warcraft Cataclysm)by Catavids37,714 views
7:55
Home made High Frequency X-Ray generatorby geramtec3,527 views
1:03
Earth And Legend - HD 3D RPG for Android iPhone iPad Blackberry PlayBook Bada OFFICIAL Game Trailerby dvidearts787,819 views
7:10
MAFIA 2 (story) Chapter 15 [PART 2] "The End"by StrikeArranges5,569 views
4:54
Generator Rex Free Videos and Online Games From the TV Show Cartoon Network2by generatorrexS32,634 views
1:16
Avalanche - Free PC Game (Final Fantasy VII universe)by freepcgamers30,585 views
10:04
Mafia The City of Lost Heaven - Prototype Cars [Part 1/3]by chetto063,728 views
1:11
Minecraft - How to make a bedby xSKxPRoDuCTioNzZ295,816 views
5:13
Minecraft - How To: Mob Spawner [OLD]by KleggT238,028 views
8:56
Mafia II Gameplay - Action Scenesby TheTrek96559 views
2:18
Mafia 2 - Pedal to the Metal Achievementby XCVii007r190,919 views
12:57
243. Unity3d Tutorial - From Scratch Part R - Mob Generatorby BurgZergArcade966 views
4:39
New Free 3D RPGby StevenPage120,573 views
27:43
Minecraft Tutorial: Hostile mob spawner and killer!by BrenyBeast199,260 views
3:28
Minecraft : Mo Creatures : How to Breed Horses, How to Make a Saddle, and How to Tame a Horseby MineCraftRules11220,600 views
14:44
Mafia II [2] Walkthrough: Chapter 14 - Part 2 (PS3/Xbox 360/PC) [HD]by TheMediaCows466,945 views
2:55
How to Make a Map in Minecraftby MrXFactorGaming163,302 views
18:00
Duke Nukem 3D part 5 Finalby Sanchez69full1,213 views
- Loading more suggestions...
Link to this comment:
All Comments (0)