Comments (6)
I dont think removing MapAndreas is smart move. Not everyone is able to sacrifice around 400mb of ram just for NPC's (Speaking about whole SA). I guess smartest way would be to leave MapAndreas.
Also, when you say integrate, just take the easiest way. If its to include whole ColAndreas plugin into FCNPC than so be it, if its exporting base class from ColAndreas and reusing it in FCNPC then its also fine. :D
from fcnpc.
Or make levels. Load mapandreas or load colandreas. I'm not willing to use ColAndreas.
from fcnpc.
This thread shows a system in which ColAndreas (and probably pathfinding) is used instead of MapAndreas. You can try to ask the author if you can have a look at his code.
EDIT:
I also think it would be a better idea to let the user choose what plugin and pathfinding to use.
- #define MOVE_MODE_STANDARD
- #define MOVE_MODE_MAP_ANDREAS
- #define MOVE_MODE_COL_ANDREAS
- FCNPC_GoTo(npcid, Float:x, Float:y, Float:z, type = MOVE_TYPE_AUTO, Float:speed = 0.5, bool:UseMapAndreas = false, Float:radius = 0.0, bool:setangle = true);
- FCNPC_GoTo(npcid, Float:x, Float:y, Float:z, type = MOVE_TYPE_AUTO, Float:speed = 0.5, mode = MOVE_MODE_STANDARD, bool:usePathFinding = false, Float:radius = 0.0, bool:setangle = true);
from fcnpc.
Will you plan to integrate colAndreas ?
At this time, I can't help you to implement that, but I can test
from fcnpc.
@Tyrar, yes, but you can use ColAndreas without integration right now.
from fcnpc.
Implemented through invoking AMX natives.
from fcnpc.
Related Issues (20)
- Need Some Information About Some Natives HOT 3
- Correct Delta Calculations
- Signal 11 (Segmentation fault), address is 351 from f79570e3 HOT 2
- Signal 11 (Segmentation fault) HOT 2
- FCNPCs can't drive trailers
- The position of the train cars is not returned if FCNPC drive train.
- FCNPC_EnterVehicle. NPC should not check map.
- FCNPC_LoadPlayingPlayback conflicts with temporary recordings loaded by FCNPC_StartPlayingPlayback
- FCNPC Not created HOT 1
- FCNPC CRASH HOT 7
- FCNPC CRASH AFTER GMX HOT 9
- FCNPC Crash HOT 4
- Crash issue HOT 3
- DL FCNPC_SetVelocity HOT 11
- Bug HOT 3
- Crash while server executing HOT 14
- NPC leaves the server directly after spawning. HOT 3
- Server is not starting HOT 11
- Server crashes randomly (FCNPC 2.0.9, SA:MP 0.3.7 R2, Ubuntu 22.04). HOT 1
- Callbacks not being called on filterscripts HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fcnpc.