Liberty Unleashed

Scripting => Script Help => Topic started by: bl0x0ld on July 05, 2011, 01:48:29 am

Title: how to modify Object/Entity data
Post by: bl0x0ld on July 05, 2011, 01: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 =)
Title: Re: how to modify Object/Entity data
Post by: Romop5 on July 05, 2011, 10:34:22 am
to edit weapons properties use http://liberty-unleashed.co.uk/LUWiki/Weapon.dat (http://liberty-unleashed.co.uk/LUWiki/Weapon.dat) and for cars use http://liberty-unleashed.co.uk/LUWiki/Handling.cfg (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.
Title: Re: how to modify Object/Entity data
Post by: Thijn on July 05, 2011, 12: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..
Title: Re: how to modify Object/Entity data
Post by: bl0x0ld on July 05, 2011, 07: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
Title: Re: how to modify Object/Entity data
Post by: Force on July 05, 2011, 08: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 (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 (http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions#Vehicle_Functions)

(Once again Get/SetHandlingData but theres no examples!)
Title: Re: how to modify Object/Entity data
Post by: Thijn on July 05, 2011, 10:42:41 pm
Alternatively you could use..

[url]http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions#Weapon_Functions[/url] ([url]http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions#Weapon_Functions[/url])

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

And..

[url]http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions#Vehicle_Functions[/url] ([url]http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions#Vehicle_Functions[/url])

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

Why don't you add them :)



/me runs fast