SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 04/04/2013, 12:50 PM   #1
OrMisicL
Huge Clucker
 
OrMisicL's Avatar
 
Join Date: Mar 2013
Location: Under the bed
Posts: 359
Reputation: 172
Default FCNPC - Fully Controllable NPC

FCNPC - Fully Controllable NPC
by OrMisicL

Introduction

Yes, this plugin gives you full control over the server NPCs, it looks like the old CNPC plugin, but its very different from it. Im releasing it because i have seen many people requesting this and hoping to see it
I also took authorization from the SAMP team to release as there is no harm that can be caused by my plugin (it uses a very different way of creating NPCs that dosent allow anyone to change them to fake players)

Features
  • +50 functions to control all aspects of the NPC
  • NPC damage detection
  • NPC movement sync (walk, run, sprint ...)
  • Vehicle entry and exit sync

Functions

ZiGGi's github natives section

Callbacks

ZiGGi's github callbacks section

Installation

ZiGGi's github installation section

Requirements
  • Latest version of the SAMP server

Download

New version (1.0.0) (by ZiGGi)
Binaries
Source Code

Dependencies
Samples


Notes
  • This is a beta release and may contain bugs and crashes, please report any bugs/crashes that you find
  • I took authorization from the SAMP team to release this plugin so dont ask about that
  • The plugin is a memory hacking plugin which means it should be updated with every server update, but i'll try to keep it always up to date and working with the latest version of the SAMP server
  • This plugin is different from the old CNPC plugin and dosent have any relation with it (only the idea maybe?) as its coded entirely by me only and from scratch
  • Dont ask to provide mirrors for this plugin, the only downloading sources are listed above in the "Download" section

Media



Recorded and uploaded by: Admigo

Credits
  • SA-MP Team: SAMP
  • OrMisicL: Developer
  • ZiGGi: Current developer
  • Zeex: Subhook library
  • kurta999: YSF plugin
  • Admigo: Testing
  • iJumbo: Linux testing
  • Lorenc_, kurta999, therainycat: Contributors
__________________
Quote:
Originally Posted by PM
Then give me the link how to get repotuation points

Last edited by OrMisicL; 03/02/2017 at 08:00 AM.
OrMisicL is offline   Reply With Quote
Old 04/04/2013, 12:55 PM   #2
vyper
Huge Clucker
 
vyper's Avatar
 
Join Date: Jul 2009
Location: Hell. x_x
Posts: 372
Reputation: 68
Default Re: FCNPC - Fully Controllable NPC v0.1 Beta 1

WOW I am in need of such plugin for a long time ! I hope this is as good as I imagine it to be Thanks
vyper is offline   Reply With Quote
Old 04/04/2013, 12:59 PM   #3
pamdex
Little Clucker
 
pamdex's Avatar
 
Join Date: Jan 2010
Location: Poland
Posts: 43
Reputation: 68
Default Re: FCNPC - Fully Controllable NPC v0.1 Beta 1

Damage detection sounds great :P
I'll test your plugin with my pathfinder.

Quote:
Nodes playing (GTA SA nodes)
Good idea for creating "real" cities.

VERY... Nice work.
pamdex is offline   Reply With Quote
Old 04/04/2013, 01:06 PM   #4
Kar
High-roller
 
Kar's Avatar
 
Join Date: May 2010
Location: Black Asylum
Posts: 3,329
Reputation: 422
Default Re: FCNPC - Fully Controllable NPC v0.1 Beta 1

NICE! It's great to see people are making NPC's useful again! You guys are awesome!
__________________
Kar is offline   Reply With Quote
Old 04/04/2013, 01:07 PM   #5
Kuddy
High-roller
 
Kuddy's Avatar
 
Join Date: Jun 2011
Location: Brasil / Paran
Posts: 2,894
Reputation: 313
Default Re: FCNPC - Fully Controllable NPC v0.1 Beta 1

I love the NPC's callbacks and functions

Awesome.
__________________
"CRIAN GAMER OTAKO QUE SOFREU BULLYING NA ESCOLA E AINDA BV"
Kuddy is offline   Reply With Quote
Old 04/04/2013, 01:11 PM   #6
Kar
High-roller
 
Kar's Avatar
 
Join Date: May 2010
Location: Black Asylum
Posts: 3,329
Reputation: 422
Default Re: FCNPC - Fully Controllable NPC v0.1 Beta 1

http://wiki.sa-mp.com/wiki/Vehicle_information_types

How about using these in relation to the front and rear doors to get the positions? VEHICLE_MODEL_INFO_FRONTSEAT // Position of the front seat*
VEHICLE_MODEL_INFO_REARSEAT // Position of the rear seat*

dunno, it's a try.

Edit: urgh i should've have posted twice, *request to merge the 2 posts*
__________________
Kar is offline   Reply With Quote
Old 04/04/2013, 01:12 PM   #7
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,179
Reputation: 1126
Default Re: FCNPC - Fully Controllable NPC v0.1 Beta 1

I'll give it a try see how it performs.
Pottus is offline   Reply With Quote
Old 04/04/2013, 01:23 PM   #8
DaRk_RaiN
High-roller
 
DaRk_RaiN's Avatar
 
Join Date: Sep 2012
Posts: 994
Reputation: 207
Default Re: FCNPC - Fully Controllable NPC v0.1 Beta 1

Very nice work dude, i'll try it out.
DaRk_RaiN is offline   Reply With Quote
Old 04/04/2013, 01:30 PM   #9
AlexLS95
Little Clucker
 
Join Date: Sep 2009
Posts: 31
Reputation: 9
Default AW: FCNPC - Fully Controllable NPC v0.1 Beta 1

Nice!
but I saw in the source that you let connect the bot only on port 7777, but It should to be the same as the server..
AlexLS95 is offline   Reply With Quote
Old 04/04/2013, 01:36 PM   #10
OrMisicL
Huge Clucker
 
OrMisicL's Avatar
 
Join Date: Mar 2013
Location: Under the bed
Posts: 359
Reputation: 172
Default Re: FCNPC - Fully Controllable NPC v0.1 Beta 1

oh yes, thx for reminding me ! I was going to make it read the config file and extract the port from it, but then i totally forgot, ill update it as soon as possible
OrMisicL is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] Controllable NPC Lorenc_ Includes 101 02/06/2014 06:08 AM
[Plugin] FCNPC - Fully Controllable NPC sa-mp 0.3x R2 [LCK]Chris Plugin Development 82 16/05/2014 02:16 PM
Controllable HighPitchedVoice Scripting Help 5 25/05/2012 09:38 PM
[?]New SZR fully controllable NOS system Qeux Help Archive 3 17/03/2011 02:24 AM
Controllable NPC Andreq Русский/Russian 5 25/10/2010 07:57 AM


All times are GMT. The time now is 07:25 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.