View previous topic :: View next topic |
Author |
Message |
RedMaverickZero Three pointed, red disaster! Halloween 2006 Creativity Winner


Joined: 12 Jul 2003 Posts: 1459
|
Posted: Tue Dec 21, 2004 7:26 pm Post subject: Vehicles from one map to the other |
|
|
Okay.... I'm in a tight spot and really need some help. See, I finished my game, but there was one fatal problem, it took too long to move from one point to the other. I was thinking of using like vehicles or what not. But the problem is, I don't know how a vehicle could go from one map to the other. Does anyone know how to implement this? If they do I would be very very very appreciative. Thanks. _________________ ---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70% |
|
Back to top |
|
 |
Uncommon His legend will never die

Joined: 10 Mar 2003 Posts: 2503
|
Posted: Tue Dec 21, 2004 8:19 pm Post subject: |
|
|
You'd have to make a vehicle NPC on the second map and make a plotscript to make a door (since i'm pretty sure inter-map doors can't be accessed ina vehicle; go ahead and test that) to the next map and put the hero in the vehicle NPC on the second map. |
|
Back to top |
|
 |
Flamer The last guy on earth...

Joined: 04 Feb 2003 Posts: 725 Location: New Zealand (newly discovered)
|
Posted: Wed Dec 22, 2004 3:12 am Post subject: |
|
|
Make the map settings to accept vehicles enterring doors.
make the next have a auto-run script, to check if the hero is in the vehicle, and if it is, mount the hero.
....umm.... that's all I remember about vehicles, I haven't actually bothered using vehicles in the OHR before. _________________ If we were a pack of dogs, IM would be a grand Hound, CN would be a very ficious little pitball, and Giz...well, it doesn't matter breed he is, he'd still be a bitch
(no offense to anyone that was mentioned) |
|
Back to top |
|
 |
RedMaverickZero Three pointed, red disaster! Halloween 2006 Creativity Winner


Joined: 12 Jul 2003 Posts: 1459
|
Posted: Wed Dec 22, 2004 8:15 am Post subject: |
|
|
Or wait, would it be easier to just make an item in the inventory, and have that item alter the hero's picture to look like he/she was in a vehicle and then change their speed? The only problem I see with this is that they will be able to go inside houses and saving will mess up the speed upon reloading.... But I'll give yals a shot. _________________ ---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70% |
|
Back to top |
|
 |
RedMaverickZero Three pointed, red disaster! Halloween 2006 Creativity Winner


Joined: 12 Jul 2003 Posts: 1459
|
Posted: Wed Dec 22, 2004 1:24 pm Post subject: |
|
|
The automap thing worked. But there was one problem. See, I used the following script for it.
script,mopedtonextmap,begin
if (checktag(33)==ON) then
(
use NPC (35)
wait (1)
)
end
and when the player enters a new map, they go to where the moped is and board it. However, I want to be able to make the moped go to where the hero is. Anyone got any ideas? Because I am lost... _________________ ---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70% |
|
Back to top |
|
 |
*Worthy* Critical Thinker

Joined: 11 Aug 2003 Posts: 186
|
Posted: Wed Dec 22, 2004 4:26 pm Post subject: |
|
|
Can't you just set the NPCs position next to the hero in the script before "use NPC"?
~Worthy _________________ You can do whatever you want...but prison is full of people who make bad decisions. |
|
Back to top |
|
 |
RedMaverickZero Three pointed, red disaster! Halloween 2006 Creativity Winner


Joined: 12 Jul 2003 Posts: 1459
|
Posted: Wed Dec 22, 2004 4:48 pm Post subject: |
|
|
I would if I knew how dude. Do you know how? _________________ ---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70% |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Wed Dec 22, 2004 5:41 pm Post subject: automounting a vehicle |
|
|
Where V is the vehicles NPC ID number (or a reference)
Code: |
set NPC position(V,hero X(me),hero Y(me))
use NPC(V)
|
|
|
Back to top |
|
 |
RedMaverickZero Three pointed, red disaster! Halloween 2006 Creativity Winner


Joined: 12 Jul 2003 Posts: 1459
|
Posted: Wed Dec 22, 2004 5:49 pm Post subject: |
|
|
Holy crap! Thank you so much! _________________ ---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70% |
|
Back to top |
|
 |
|