Author Topic: how to modify Object/Entity data  (Read 3604 times)

bl0x0ld

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
how to modify Object/Entity data
« on: July 05, 2011, 02:48:29 am »
I just wanted a little Help on how to edit stats on vehicles and damage done by weapons,

How would I:
change the Health of vehicles (Make the Rhino Less defensive and make cars More defensive)
Make the M-16 weaker
The Shotgun not knock you down

Also I do Understand the sync Problems with AI but how would I (If AI can be added atall):
Add Police and Police Heli's as AI to come Attack players
being Procd by blowing up a vehicle or killing another player
And is there a way to Sync AI better over LAN only?

Please and thank you =)

Romop5

  • Jr. Member
  • **
  • Posts: 83
  • Karma: +2/-1
  • A student of university and creator of LHMP.
    • View Profile
    • LHMP
Re: how to modify Object/Entity data
« Reply #1 on: July 05, 2011, 11:34:22 am »
to edit weapons properties use http://liberty-unleashed.co.uk/LUWiki/Weapon.dat and for cars use http://liberty-unleashed.co.uk/LUWiki/Handling.cfg
About AI: It's hard to sync NPC, because someone must handle NPC's proceeding. But I think, that your idea of NPC is impossible.

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: how to modify Object/Entity data
« Reply #2 on: July 05, 2011, 01:06:39 pm »
There will be no way to add police heli's. Since they are not in the game...
I'm sure NPC would be possible to add, But I don't think it's coming soon..

bl0x0ld

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: how to modify Object/Entity data
« Reply #3 on: July 05, 2011, 08:40:45 pm »
There will be no way to add police heli's. Since they are not in the game...
I'm sure NPC would be possible to add, But I don't think it's coming soon..

Police heli's are in gta 3, 3 stars they will be on you like white on rice on a paper plate with a glass of milk in a snow storm

you mean not in liberty unleashed?

also when i modify the data files it wont even let me connect to my server even

Force

  • Developer
  • Full Member
  • *****
  • Posts: 204
  • Karma: +6/-2
    • View Profile
Re: how to modify Object/Entity data
« Reply #4 on: July 05, 2011, 09:17:38 pm »
You have to modify the data files on the server side, then they should be synced up to the players that join.

Alternatively you could use..

http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions#Weapon_Functions

(All though there doesn't seem to be any examples so that's probably not much help)

And..

http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions#Vehicle_Functions

(Once again Get/SetHandlingData but theres no examples!)
Quote
[Tue - 20:09:35] <&VRocker> CRAP!
[Tue - 20:09:43] <&VRocker> i think i just followed through...
Quote
[Sat - 22:11:56] <~Smapy> [R3V]breSt12 killed [R3V]Jack_Bauer. (Splat)

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: how to modify Object/Entity data
« Reply #5 on: July 05, 2011, 11:42:41 pm »
Alternatively you could use..

http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions#Weapon_Functions

(All though there doesn't seem to be any examples so that's probably not much help)

And..

http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions#Vehicle_Functions

(Once again Get/SetHandlingData but theres no examples!)

Why don't you add them :)



* Thijn runs fast

 

© Liberty Unleashed Team.