Post new topic    
Page 1, 2  »
Slime Knight
Send private message
Vehicle help 
 PostSun Sep 02, 2012 8:04 am
Send private message Reply with quote
I'm currently working on the world map in Universal Wars, and am trying to establish walls for the vehicles to fly through. Both of them can fly, one can go through all areas, and the other I want to be able to fly anywhere except for B tiles.



Basically, I want the latter vehicle to fly everywhere except for the area in the red rectangle. I've tried many settings, but the vehicle will either fly through all walls, including B walls, or I will almost be successful with it being blocked by B walls, but then I can't fly away from the wall and I'm stuck in that space. (I've tried Override Walls: Not B and Blocked By:B settings for that.)

How can I successfully block people from flying past B blocks but not get stuck in them? Also, what scripts do I need to make the player automatically be flying a vehicle as soon as you enter the map like in FF4?
Slime Knight
Send private message
 
 PostSun Sep 02, 2012 6:36 pm
Send private message Reply with quote
Ok, I've figured out how to work around getting stuck in the tile. I originally had the B tile be impassible to all four directions, but when I made the tile impassible only in the direction the player would be flying, it only blocked my path but enabled me to turn back. I also had to add grass to areas where there used to be walls near the B tiles because even with this fix, I could still become stuck between walls whether they were A or B.

I still need to know how to make the hero automatically board a vehicle during a story event and also, I can't ever seem to see the flying shadow that's supposed to be underneath the vehicle for some reason.
Metal King Slime
Send private message
 
 PostWed Sep 05, 2012 9:59 am
Send private message Reply with quote
Sorry for the slow response.

If you're confused by how vehicle walls work, this bug is relevant. Anyone who understands that bug knows more about vehicle walls than me.

I'm interested in the shadow not appearing. I tried for a while but couldn't reproduce this. What is the map's layering mode (eg. "NPCs above Heroes")? Does it wrap around? Are you sure "Disable flying shadow" is disabled? What's the vehicle elevation?

To mount a vehicle, use the "use npc" command on it (put it in a map autorun script). I think that by first moving ALL heroes onto the same tile as the vehicle NPC, you can skip the part of the animation where the heroes walk onto the vehicle. To dismount, use "dismount vehicle"
Slime Knight
Send private message
 
 PostWed Sep 05, 2012 12:00 pm
Send private message Reply with quote
I don't really use layers. I just create maptiles then just use the tilesets from their default layers.
Metal King Slime
Send private message
 
 PostWed Sep 05, 2012 5:03 pm
Send private message Reply with quote
Nothing (well, not much) to do with tilemap layers. In the General Map Settings menu is a "Walkabout Layering" option to change how NPCs and heroes are layered.
Slime Knight
Send private message
 
 PostThu Sep 06, 2012 2:26 am
Send private message Reply with quote
My Walkabout Layering option is set to "Together" which it is on by default.

As for vehicle elevation, one is 20 and the other is set to 30, but even when I raise it to 99 the shadow doesn't show.
Metal King Slime
Send private message
 
 PostThu Sep 06, 2012 7:57 pm
Send private message Reply with quote
Hmm, I still can't reproduce it. Would you be willing to email me your game so I can have a look?

Also, I forgot to ask exactly which version you're using (though as long as it's Alectormancy or newer it shouldn't matter).
Slime Knight
Send private message
 
 PostFri Sep 07, 2012 3:42 pm
Send private message Reply with quote
I can't email you the game. I tried to, but for some reason, Gmail sends me an error saying the game was an illegal attachment.
Super Slime
Send private message
 
 PostFri Sep 07, 2012 5:18 pm
Send private message Reply with quote
You can't email executable files via Gmail, even if you zip them first. Delete the exe from your zip and try again.
Mega Tact v1.1
Super Penguin Chef
Wizard Blocks
Metal King Slime
Send private message
 
 PostMon Sep 10, 2012 12:29 pm
Send private message Reply with quote
Thanks for the help. It turns out that if the vehicle shadow UI colour is 0, then the shadow is invisible. You can work around it by using some other black in the master palette. I implemented the same workaround as a "fix".

So you don't have any other vehicle problems remaining, right?
Slime Knight
Send private message
 
 PostSun Jan 06, 2013 4:06 am
Send private message Reply with quote
Gonna have to revive this thread, I've finally finished up to the point where I am supposed to use the vehicles, but I can't get the game to remember where the vehicle is parked. I've done everything in this link, but it didn't work. http://rpg.hamsterrepublic.com/ohrrpgce/How_do_I_make_my_vehicle_remember_where_I_parked_it%3F

I didn't have the vehicle NPC present on the map by default, I used the create NPC command to make it available if that matters. Also, I'm unsure if the map autorun to save the vehicle would have worked with the second vehicle I would have brought in anyway. (I didn't use the autorun script to automatically board the vehicle as previously suggested, but I still managed to do that okay.)
Super Slime
Send private message
 
 PostSun Jan 06, 2013 4:16 am
Send private message Reply with quote
It does matter. The script assumes that the vehicle already exists on the map, so if the NPC is not created until after the script is called, it won't work.
Mega Tact v1.1
Super Penguin Chef
Wizard Blocks
Slime Knight
Send private message
 
 PostSun Jan 06, 2013 8:01 am
Send private message Reply with quote
Thanks, I put the NPC on the map and now it stays on the field. Now I have to find a way to make the second vehicle inaccessible until I want it to work. Also, speaking of the second vehicle, will the map autorun script work for it as well as the first vehicle, or will I need to do something different?
Super Slime
Send private message
 
 PostSun Jan 06, 2013 4:58 pm
Send private message Reply with quote
The script is only designed to work for a single instance of a single NPC.
Mega Tact v1.1
Super Penguin Chef
Wizard Blocks
Slime Knight
Send private message
 
 PostTue Feb 26, 2013 5:24 pm
Send private message Reply with quote
I'm now trying to get the second vehicle working, but am having a couple new problems. First, I had to make a Remote item for the second vehicle due to the map autorun script only being able to handle one vehicle, but when I use it, my characters run all the way to the vehicle, when I want the vehicle to come to them. I simply used a use NPC command for this. Second, when I dismount the second vehicle and leave the map and come back, the first vehicle is parked where the second one should be, even though I never used the first vehicle.
Display posts from previous:
Page 1, 2  »