This site has been archived and made available for preservation purposes. No edits can be made.
-
Member
Originally Posted by
roby65
First rule in multiplayer games: never, ever, trust a client. Never.
What when lamers will find out? They will simply teleport near npcs and manipate their behaviour ruining server for all the players.
This is not a viable option, ai will be server-side.
I can see where you are coming from, and I can fully understand the trust issues with players.
-
Member
I didn't realize all of that about the cheating and stuff, I just hope people are good enough to program AI to where it's not much different than single player AI.
-
Added carter.cpp script, which spawns a Carter NPC who will go and pickup any items in his area.
-
Junior Member
Hurr durr derp herp. (post deleted)
-
Member
Could you post compiled versions of these scripts? Thanks.
-
Senior Member
Originally Posted by
Silentfood
Could you post compiled versions of these scripts? Thanks.
You got enough time to learn and compile the script yourself in the mean time, AI is not supported in Gary 2.6.
-
https://codepad.org/vJ9Sjtmo
The script (a modified version of the mutant and some minor other stuff) from this video:
https://www.youtube.com/watch?v=kJJnm8Li1nU
(hacked together, not clean, may be buggy, just as an example)
-
Junior Member
When I try to build any of these, I get several errors, most notably:
error: 'F3' has not been declared
I extracted these to my cloned git vaultscript folder, then copied and edited makefile, changing all instances of "vaultscript" to "ant"/"carter"/"mutant"
vaultscript does compile normally.
Ubuntu server 64 bit, build-essential, gcc-multilib, and g++-multilib installed.
-
Several (minor) things have changed (namespace F3 has been dropped because there is no more New Vegas support, ActorValues are predefined, GetName function has been renamed to GetBaseName). I updated the scripts in the first post, they should compile fine now.
-
Junior Member
Thanks much. I'll have another go at it when I get home.
And success, ant.so, carter.so, and mutant.so built. Will test next time the Windows computer is up.
Last edited by ThatOneDude; 08-03-2013 at 01:08 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules