MP Project [Dev] - Help required…
-
Hi all,
I have come up with (what I believe to be) a great MP game addition/mod.
The project I had in mind consists of a ‘Rat Race’ where players will be given waypoint after waypoint, mission after mission (go there, buy that etc) and whoever wins gets a prize. The races themselves would be completely mobile (separate .ini files) that DO NOT use freelancers SP mission system. I just tried doing this and was met with nasty server crashes when I created/loaded a new character when I simply added a waypoint or displayed a message. And the problem that storyline is unstable, and would not be suitable on a large server.
So, I have thought long and hard about this. I haven’t had a look at the source code of FLHook yet, but considering you can already set character stats like cargo items / cash etc, then why not waypoints/missions?
An admin would basically start the race with a console command, while in formation with everyone else who wants to participate. Then, the admin could beam to each waypoint and wait for each player, making sure no fags camp to kill. There would be no rules (apart from waypoint camping), so you could use any method you want to win.
I think you could accomplish this with hooking the client itself. If someone knows any freelancer API (which I doubt) such as adding waypoint functions then please comment.
If anyone else is interested in such a system, then please help out by providing suggestions or ideas on how I would go about this.[Project Outline]
Features (Base):- Waypoint Adding [0%]
- FLHook integration [0%]
- Dynamic Race Scripts [0%]
- Portability with any mod [0%]
Yes, this does sound a little ‘impossible’ at the moment, but I think it is doable. In the future features could be added to extend this, such as item scavenging, puzzle solving etc.
Thanks, jhend60.
[EDIT]
There is a much simpler way to accomplish this (with items in bases) without waypoints. I am currently investigating the plausibility of this.If m0tah or someone with experience reads this, it would be great to hear your suggestions (I don’t have much experience).
-
I think ill be keeping an eye on this thread, kinda peaked my interest lol =]
I wish you well in your endeavours
-
I’ve been working hard and have gotten this mod underway…
I decided to use my own installer as it is compatible with ANY mod.I have started to plan races, it involves the admin setting a starting point and then letting the players go from there.
When the player reaches the admins hiding point they win a prize.
The admins hiding place will be specified in the final location, and can range from easy to difficult.
The missions will also have difficulty, some giving exact directions on where to go, and others giving vague directions. The ratrace is excellent as a race could last a long time. (Depending on difficulty).I should really request that the post be moved to conventional modding now, as I don’t really think I am going to bother with FLHook for a while.
Thanks, jhend60.
If anyone thinks I should put this up as a project on the forge suggest it. Comment. I would appreciate to know what you guys think. -
[EDIT]
There is a much simpler way to accomplish this (with items in bases) without waypoints. I am currently investigating the plausibility of this.Yeah, you could definitely implement it using items and docking restrictions so they would need the item to dock at the base.
As for dynamically creating the waypoints, I haven’t experimented with it at all but I’d guess it would be possible to do (just not sure how exactly).