SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Miscellaneous

Reply
 
Thread Tools
Xkower's NPC (More than SF94-Serv) Details »»
Xkower's NPC (More than SF94-Serv)
Version: 1.9/M2.0 (whoop-ass big update for match npcs), by Xkower8181 (btw do not touch the sonic) Xkower8181 is offline
Developer Last Online: Nov 2017

Category: Version: SRB2 Rating: (2 votes - 3.80 average)
Released: 07-12-2015 Last Update: Never Installs: 6
Single Player Levels SOCs Scripts Re-Useable Content Is in Beta Stage

Hi It's me again aka Xkower and today I think it's time to finally to release my greatest creation ever... THE NPCs and yes I got this idea from SF94-Serv but it's more than it's base and I build it from scratch.

Also by the way it map number is 1416 (1417 for pushable and match ones) and it's SOC Object name is MT_NPC (MT_PNPC for pushable ones and MT_MATCHNPC for match ones) and there is test map included in first zip file.

Spoiler: Changelog (Standard NPCs)
  • 1.0 - First Release
  • 1.5 - Fixed bug with NPC kepping spinning on convelvol belts and added spring frames also if NPC touches Level End Sign it ends the stage like player does
  • 1.6 - fixed NPC actually not having ability to end the level
  • 1.7 - removed the finishing scipt because it had it's problems
  • 1.8 - First fixed bug with errors spilled out loud in console because flying out rings, then there no ring cloning, no hurt momentum getting transfered to jump and that's it.
  • 1.8.5 - Added Solid NPCs to defualt wad and a "addnpc" command also release of Match NPCs (as a standalone wad check "Known Issues" why)
  • 1.8.5.5 - quick fixed the addnpc command
  • 1.9 - NPCs are now capable of collecting ring they spilled and other players n npcs too


Spoiler: Changelog (Match NPCs)

  • 1.0 - Initial Release
  • 2.0 -Match NPCs can now shoot weapon rings (only bomb and bounce ring, other coming soon). Now they can steal your precious rings when you lose them. I added an action that removes the rings they collected when they are shoot and added soc files that can make the emerald spawners into Match NPC spawners and another soc file that makes Match NPCs solid and pushable.


Features

So now let's list the unique features (since everything that SF94-Serv NPCs had is here)
  • Jumping (Which can destroy enemies,bosses,etc)
  • Player like ring collecting physics (able to collect rings for itself and when it gets hurt it spills them all over the place)
  • Ability to use springs
  • All colors are avalible for NPCs
  • "addnpc" this command allows to spawn NPCs with whatever type you want (normal for normal ones,push for solid ones)
Match NPCs also have their fair share of neat features.

Match NPC Exclusive Functions
  • Hunting for rings,players,weapons,etc
  • Player-like ring shooting mechanics (when they shoot a ring they lose it)
  • They can use the Bomb Ring and the Bounce Ring and the Rail Ring make them shoot standard red ring
  • "npcspawner.soc" changer the places where emeralds spawn into spawners of Match NPCs
  • "pushbots.soc" makes Match NPCs solid and pushable
But like everything they also have their bugs and issues

Spoiler: Known issues
  • They are not compatible with SF94-Serv!
  • Solid NPCs can crush you when at high speeds (GOD command is only known way to prevent this)
  • Do not mix Match NPCs with normal ones since they are not compatible yet
  • Please be nice and report more issues!


Everything in the spoiler down below should not be reported as bugs as they either a side effect of how NPCs work or it's purely how it's supposed to be.

Spoiler: Not Malfunction
  • Due to how ring disappearing works with NPCs rings disappear faster
  • Due to nature of the script you cannot choose which character or color that NPC will be as they choose it themself


There well some plans to upgrade the list of NPCs to play with and update those that are already out!

Planned Features
  • Match NPC (Basiclly a NPC that is designed to be fighted with in Match Mode) IN WORKS!
  • Following NPCs (They are like a bot in co-op SRB2JTE aka when you walk they walk after you when you jump they jump and so on) IN WORKS! kinda...
  • Support for custom characters (WARNING this may not work with every character but it is DONE)
  • Not spawning too many npcs using npcpspawner.soc ( or it's replacement...?)
  • Ammo,panel and having all kinds of rings at the same time system for Match NPCs (DONE)
  • Drowning,invincibility after being hurt and all these kinds of timers.
  • Comments for these who are going to edit the wad for their use
  • Bug fixes
  • Ideas are welcome!

Notes
I have permission for all the Lua scripts used in the wad also if you like to edit the wad please give credit to me and all people who helped me with wad also there no comments in wad but I'm going to add them soon

Download Now

File Type: zip Standard NPCs.zip (3.3 KB, 782 views)
File Type: zip Match NPCs.zip (3.5 KB, 685 views)

Screenshots

Click image for larger version

Name:	srb20013.png
Views:	1751
Size:	44.7 KB
ID:	6660   Click image for larger version

Name:	srb20015.png
Views:	1636
Size:	31.6 KB
ID:	6661   Click image for larger version

Name:	srb20017.png
Views:	1489
Size:	24.2 KB
ID:	6662  

Supporters / CoAuthors

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 06-13-2016   #62
742mph
I make Sonic look like me
 
742mph's Avatar
Default

Quote:
Originally Posted by Duon the Adventurer View Post
The AI code for the Tails bot is not lua. Its C+ (Or C++ not sure), It would be decades more difficult to recreate and translate it through lua.
Actually, I once translated the bot AI's C code into Lua as a starting point for an attempt to make a better AI, and it only took an hour or so. I've modified my translated code extensively since then, but it shouldn't be hard for someone else to recreate it.
__________________
Quote:
<Evilgasm> the opposite of egoraptor is Toa Tahu
742mph is offline   Reply With Quote
Old 06-13-2016   #63
BASHDUP
 
BASHDUP's Avatar
Default

Do you think you could make a seperate feature for match npcs to physically attack other players and npcs?
BASHDUP is offline   Reply With Quote
Old 06-13-2016   #64
Xkower8181
btw do not touch the sonic
 
Xkower8181's Avatar
Default

Quote:
Originally Posted by BASHDUP View Post
Do you think you could make a seperate feature for match npcs to physically attack other players and npcs?
Match NPC are meant to fight eachother and players at the same time but currently the NPC vs NPC feature is broken and I don't know how to fix it.
__________________
Spoiler:
hi you just wasted some second of your live on this
enjoy
Xkower8181 is offline   Reply With Quote
Old 06-13-2016   #65
Sapheros
That guy that ports
 
Sapheros's Avatar
Default

I think he means adding a separate add-on that allows NPCs to use Physattk.lua in Match.
__________________
Hiyo all! Underground Website
Sapheros is offline   Reply With Quote
Old 06-14-2016   #66
Xkower8181
btw do not touch the sonic
 
Xkower8181's Avatar
Default

Quote:
Originally Posted by Duon the Adventurer View Post
I think he means adding a separate add-on that allows NPCs to use Physattk.lua in Match.
Oh sorry I misread the post I shall look into that lua to see how it works.
__________________
Spoiler:
hi you just wasted some second of your live on this
enjoy
Xkower8181 is offline   Reply With Quote
Old 07-13-2016   #67
Spike HedgeFox
Known as Chase The HedgeFox
 
Spike HedgeFox's Avatar
Default

hey, i would like if you could make the Match NPCs recieve damage from players with that are super or have invincibility.
Spike HedgeFox is offline   Reply With Quote
Old 07-14-2016   #68
Xkower8181
btw do not touch the sonic
 
Xkower8181's Avatar
Default

Quote:
Originally Posted by Spike HedgeFox View Post
hey, i would like if you could make the Match NPCs recieve damage from players with that are super or have invincibility.
Hey I actually forgot about that.
Going now to make that!
__________________
Spoiler:
hi you just wasted some second of your live on this
enjoy
Xkower8181 is offline   Reply With Quote
Old 4 Weeks Ago   #69
U L T R A
 
U L T R A's Avatar
Default

I know i'm late but the wad doesn't even let me spawn it anymore.
U L T R A is offline   Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 06:46 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.