Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Entity Modification

Author
Message
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 11th Jan 2011 16:25
Hi,

For my current project I was hoping to introduce a system where the player can modify entity properties during the game, but I don't know how to modifiy entity properties via Scripts - any suggestions?

For example: in my game I want the player to be able to spend points (earned during a previous level) to upgrade their team-mates weapons, armour, health, etc. It's not clear from what I've read whether this is possible or not. The team-mates are AI i should point out.

Any help would be appreciated.

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 11th Jan 2011 22:58
Just thought I'd add the script I'm working on to just incase its useful to anyone or if anyone has any suggestions for improvements, etc.

I'm using 1.17, so I'm not sure if it'll work with anything older.

I'm currently trying to add a HUD to show the Resource Points available to the player, but this is proving quite tough.

I'll post more as I progress.

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-24 14:56:04
Your offset time is: 2024-11-24 14:56:04