Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Example Code: Inbuilt Veteran System
Example Code: Inbuilt Veteran System [message #204884] Thu, 22 June 2006 04:02
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma:
Colonel
This basically shows you have to make a veteran system built into the scripts.dll. I have based this on SSAOW 1.5. Just replace the chat function and add the various other parts and compile!

You then need to add something like this to all the death areas:


Vehicle/Player
VetUpdate(Get_Player_ID(shooter), GetPoints(Commands->Get_Preset_Name(obj), Commands->Get_Points(shooter));

Building
VetUpdate(Get_Player_ID(shooter), 25, Commands->Get_Points(shooter));
  • Attachment: aow.cpp
    (Size: 20.30KB, Downloaded 266 times)
  • Attachment: aow.h
    (Size: 0.63KB, Downloaded 188 times)


Let all your wishes be granted except one, so you will still have something to strieve for.

[Updated on: Thu, 22 June 2006 05:22]

Report message to a moderator

 
Read Message
Previous Topic: SP Script Editing
Next Topic: bots repair buildings
Goto Forum:
  


Current Time: Sat Nov 23 17:01:31 MST 2024

Total time taken to generate the page: 0.00721 seconds