Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-18-2008, 05:45 PM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
How to make a Custom Body system

kk just seeing how u can take graal bodies off of ur server and add custom bodys

i already got the body done and the ganis
just trying to c how u do it so if someone can tell me i would be happy thanks
Reply With Quote
  #2  
Old 07-19-2008, 03:27 PM
Frankie Frankie is offline
xChugxLifex
Frankie's Avatar
Join Date: Feb 2008
Location: New York
Posts: 1,610
Frankie is a jewel in the roughFrankie is a jewel in the rough
Send a message via AIM to Frankie Send a message via MSN to Frankie
you would need a custom movement system.

or so I would think, I could be wrong.
__________________
*Sum41Freeeeek
*Frankie
Reply With Quote
  #3  
Old 07-19-2008, 03:58 PM
Demisis_P2P Demisis_P2P is offline
Kanto League Champion
Demisis_P2P's Avatar
Join Date: Jan 2005
Posts: 2,357
Demisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud of
Quote:
Originally Posted by Frankie View Post
you would need a custom movement system.

or so I would think, I could be wrong.
You wouldn't necessarily.
Or at least your 'movement system' wouldn't need to control movement at all; it'd just need to replace the default ganis with the new ganis.

Having said that, you're better off making a custom movement system anyway.
__________________
Reply With Quote
  #4  
Old 07-20-2008, 12:28 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally Posted by Demisis_P2P View Post
Having said that, you're better off making a custom movement system anyway.
What is so great about custom movement systems?
Reply With Quote
  #5  
Old 07-20-2008, 12:43 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Loriel View Post
What is so great about custom movement systems?
They work better than the bugged default one.
Reply With Quote
  #6  
Old 07-20-2008, 12:52 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Crow View Post
They work better than the bugged default one.
I'd say that a custom movement system is more likely to have more bugs than the default one.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #7  
Old 07-20-2008, 12:52 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Look, I realise low content posting is en vogue here, but at least put some effort into it.
Reply With Quote
  #8  
Old 07-20-2008, 12:55 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Loriel View Post
What is so great about custom movement systems?
Custom movement systems allow more room for customization. For example, speed, and with my movement system on Ol' West it allows me to make a very nice hacker detection, where as if I was using the default movement system I couldn't as well.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #9  
Old 07-20-2008, 12:58 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Tigairius View Post
where as if I was using the default movement system I couldn't as well.
Not without resorting to hackish ways anyways.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #10  
Old 07-20-2008, 12:59 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
But that does not imply that everybody needs one, right? I figure most playerworlds would be quite content with the default movement and being able to focus their creative energies on actual content instead.

How does your hacker detection work?
Reply With Quote
  #11  
Old 07-20-2008, 12:59 AM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
Quote:
Originally Posted by Loriel View Post
But that does not imply that everybody needs one, right? I figure most playerworlds would be quite content with the default movement and being able to focus their creative energies on actual content instead.
Try explaining that to Stefan regarding Classic.
__________________
Reply With Quote
  #12  
Old 07-20-2008, 01:01 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Loriel View Post
But that does not imply that everybody needs one, right? I figure most playerworlds would be quite content with the default movement and being able to focus their creative energies on actual content instead.

How does your hacker detection work?
You're right, most playerworlds would be fine without it.

My hacker detection works by checking the onwall event and comparing it to a few other events... I don't really want to let out anymore than that though because if I did it could be bypassed eventually.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #13  
Old 07-20-2008, 01:16 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by napo_p2p View Post
I'd say that a custom movement system is more likely to have more bugs than the default one.
You can walk into objects being at different positions than x or x.5, for example block.png being at 30.2. That's enough for me to create a custom movement system, I need the freedom to move my NPCs whereever I want.
And my one doesn't have the problems the default one has, or any others.
Reply With Quote
  #14  
Old 07-20-2008, 06:13 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
alrite i have a movement system but how would i overide the ganis
kez said something about the img and the ganis in npc server options or something like that
Reply With Quote
  #15  
Old 07-20-2008, 06:44 AM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
A custom movement system is not necessary for custom bodies. I don't know whether or not it would be better, I guess there are some advantages if you can pull one off that isn't bugged in some way. I'm using the default one for the server I'm working on and I don't see any limitations to it, there are ways to check for hackers and I can edit movement speed just fine. It might be half a line longer but I don't mind.

Anyways, If you removed the player body image of the player, the current player ani would still be set to walk so you'd just have to create a new gani file and replace the old body attribute with the new one I would assume. Then when the player logs in replace the anis.

That's my first impression of how it could be done, someone may have a better idea though.
Reply With Quote
  #16  
Old 07-20-2008, 06:56 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Quote:
Originally Posted by Tigairius View Post
You're right, most playerworlds would be fine without it.

My hacker detection works by checking the onwall event and comparing it to a few other events... I don't really want to let out anymore than that though because if I did it could be bypassed eventually.
I assume it also takes player speed into account, therefore if they move slowly, and change the onwall flags in some way, they could be undetected.

A custom system could provide more protection through more protected flags and variables.

Most servers don't have nearly enough hacking or bug abuse protection. Not much has changed since I last created anti hacking tools for a server.


Now, if you're using custom bodies, you should use a custom movement system. Chances are, the custom bodies and ganis will not have the same stride as the original characters. Therefore, the speed and flow of the movement would have to be effected. It will allow you to create more realistic movement, even allowing realistic ganis and movement for certain movements. For example, the swinging of a sword could create movement in the legs, which could be represented by a gani, as well as realistic movement for that animation.
Yes, a custom movement system would be much better if you were using custom bodies and ganis, to create a much more realistic system.
Reply With Quote
  #17  
Old 07-21-2008, 03:36 PM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
alrite well i have my custom movement system i just dont know how to change the ganis for good where everybody starts on with that body when they log on
so ya thats my main question
Reply With Quote
  #18  
Old 07-21-2008, 05:00 PM
Linkishback Linkishback is offline
Banned
Linkishback's Avatar
Join Date: Jan 2005
Location: The Netherlands
Posts: 34
Linkishback is on a distinguished road
Send a message via AIM to Linkishback Send a message via MSN to Linkishback
Quote:
Originally Posted by Rave_J View Post
alrite well i have my custom movement system i just dont know how to change the ganis for good where everybody starts on with that body when they log on
so ya thats my main question
There is a very simple script command to do this.
NPC Code:
replaceani(str defaultaniname, str newaniname);


This way you can change the default idle, walk, sword etc. gani's into your own.
Reply With Quote
  #19  
Old 07-21-2008, 07:11 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by excaliber7388 View Post
I assume it also takes player speed into account, therefore if they move slowly, and change the onwall flags in some way, they could be undetected.
No. They couldn't. His detection is quite amazing.
__________________
Reply With Quote
  #20  
Old 07-21-2008, 09:41 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I haven't really had to worry about things like that on Valikorlia. Its not the sort of place where you can get anything out of wall/speed hacking.

I remember a long time ago on Doomsday, there was this level with a giant spiral thing and bushes in the path all the way to the center and you had to cut through all of them to get to the center and get that gralat. I did bad a bad thing after I got tired of it.
__________________
Reply With Quote
  #21  
Old 07-21-2008, 09:43 PM
xAzerothx xAzerothx is offline
Banned
Join Date: Aug 2006
Location: Gurnee, Illinois
Posts: 2,615
xAzerothx has a little shameless behaviour in the past
Send a message via AIM to xAzerothx Send a message via MSN to xAzerothx Send a message via Yahoo to xAzerothx
That's because all you do it type in what you're going to do.
Reply With Quote
  #22  
Old 07-22-2008, 02:02 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
alrite so u put replaceani(str defaultaniname, str newaniname); in the main system or can i jsut add it to the NPC Server script
Reply With Quote
  #23  
Old 07-22-2008, 02:05 AM
LoneAngelIbesu LoneAngelIbesu is offline
master of infinite loops
LoneAngelIbesu's Avatar
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
LoneAngelIbesu has a spectacular aura aboutLoneAngelIbesu has a spectacular aura about
Send a message via AIM to LoneAngelIbesu
Put it in any WNPC. For instance, one named "Animations", or "CustomBodySystem".
__________________
"We are all in the gutter, but some of us are looking at the stars."
— Oscar Wilde, Lady Windermere's Fan
Reply With Quote
  #24  
Old 07-24-2008, 06:09 AM
TifaKhan TifaKhan is offline
A relic of the past
TifaKhan's Avatar
Join Date: Jun 2002
Location: australia
Posts: 671
TifaKhan is on a distinguished road
Quote:
Originally Posted by Inverness View Post
I haven't really had to worry about things like that on Valikorlia. Its not the sort of place where you can get anything out of wall/speed hacking.

I remember a long time ago on Doomsday, there was this level with a giant spiral thing and bushes in the path all the way to the center and you had to cut through all of them to get to the center and get that gralat. I did bad a bad thing after I got tired of it.
rofl Hands up if anyone here hasn't done a bad thing XD
__________________
I've said it once, and I'll say it again:

You have so much potential in your life, take this chance to enjoy your last few months on Doomsday, but then move on.

I know you're attached to Graal, but this latest thing should be too much even for you. As a past owner of Doomsday, I believe I express the wishes of everyone who has ever owned Doomsday in saying what I have said.

By the way, you should be Knighted for services to Doomsday. You've done more than the rest of us Owners ever did.

Baraka Khan
Reply With Quote
  #25  
Old 07-25-2008, 09:37 PM
TheJames TheJames is offline
Atrius Manager
TheJames's Avatar
Join Date: Dec 2004
Posts: 581
TheJames can only hope to improve
You guys really get off subject haha.

Hey Rave. Its quite simple actually. Aswell to all of you asking about the custom movement system, its great having one. I like being able to change the default movement speed of the graal character, aswell for vehicles, and certain actions that require freezes and stuff, and like Tig said, hack provention!



There is a custom movement system for you in my attachment, and whomever wants to use it. Aswell, it has hats, shirts, pants, and other cool gani features! You have to make a custom walk/idle/pull/swim gani for your server.
Attached Files
File Type: txt Movement.txt (4.5 KB, 222 views)
__________________
Contact me on Skype: "skype.sam.lorenz"

James,
Manager of Atrius
Reply With Quote
Reply


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 +2. The time now is 02:10 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.