FOnline: Reloaded

Other => Toxic Caves => Topic started by: General Killer on July 15, 2016, 08:08:54 pm

Title: QUESTION!
Post by: General Killer on July 15, 2016, 08:08:54 pm
How do I set my administration chars SPECIAL and levels?
What is the command I type to set levels on achievement books?

I'm to stupid to figure it out lol. ;D
Title: Re: QUESTION!
Post by: Fantastic on July 15, 2016, 09:57:25 pm
Defines.fos is your friend.
Title: Re: QUESTION!
Post by: General Killer on July 16, 2016, 12:09:07 am
Defines.fos is your friend.
OK cool I opened cheats.fos and saw all the commands I could use but I didn't know if I just typed them as they were in the command bar.
Title: Re: QUESTION!
Post by: worldremaker on July 16, 2016, 09:43:10 am
You have to type param command with parameters:
`param 0 pid value
Title: Re: QUESTION!
Post by: jarok on July 16, 2016, 01:24:35 pm
For example

Code: [Select]
`param 0 306

will give you Bonus rate of fire perk. SPECIAL you can change via values from 0 to 6. Check params section in _defines.fos

Spoiler: show

Code: [Select]
// Parameters
/// Stats
#define STAT_BEGIN                               (0)
#define STAT_END                                 (199)
#define STAT_COUNT                               (STAT_END - STAT_BEGIN + 1)
#define STAT_EXT_BEGIN                           (32)
#define STAT_EXT_END                             (63)
#define ST_STRENGTH                              (0) // Used in engine +++
#define ST_PERCEPTION                            (1)
#define ST_ENDURANCE                             (2)
#define ST_CHARISMA                              (3)
#define ST_INTELLECT                             (4)
#define ST_AGILITY                               (5)
#define ST_LUCK                                  (6)
#define ST_MAX_LIFE                              (7)
#define ST_ACTION_POINTS                         (8)
#define ST_ARMOR_CLASS                           (9)
#define ST_MELEE_DAMAGE                          (10)
#define ST_CARRY_WEIGHT                          (11)
#define ST_SEQUENCE                              (12)
#define ST_HEALING_RATE                          (13)
#define ST_CRITICAL_CHANCE                       (14)
#define ST_MAX_CRITICAL                          (15)
#define ST_NORMAL_ABSORB                         (16)
#define ST_LASER_ABSORB                          (17)
#define ST_FIRE_ABSORB                           (18)
#define ST_PLASMA_ABSORB                         (19)
#define ST_ELECTRO_ABSORB                        (20)
#define ST_EMP_ABSORB                            (21)
#define ST_EXPLODE_ABSORB                        (22)
#define ST_NORMAL_RESIST                         (23)
#define ST_LASER_RESIST                          (24)
#define ST_FIRE_RESIST                           (25)
#define ST_PLASMA_RESIST                         (26)
#define ST_ELECTRO_RESIST                        (27)
#define ST_EMP_RESIST                            (28)
#define ST_EXPLODE_RESIST                        (29)
#define ST_RADIATION_RESISTANCE                  (30)
#define ST_POISON_RESISTANCE                     (31)
#define ST_STRENGTH_EXT                          (32)
#define ST_PERCEPTION_EXT                        (33)
#define ST_ENDURANCE_EXT                         (34)
#define ST_CHARISMA_EXT                          (35)
#define ST_INTELLECT_EXT                         (36)
#define ST_AGILITY_EXT                           (37)
#define ST_LUCK_EXT                              (38)
#define ST_MAX_LIFE_EXT                          (39)
#define ST_ACTION_POINTS_EXT                     (40)
#define ST_ARMOR_CLASS_EXT                       (41)
#define ST_MELEE_DAMAGE_EXT                      (42)
#define ST_CARRY_WEIGHT_EXT                      (43)
#define ST_SEQUENCE_EXT                          (44)
#define ST_HEALING_RATE_EXT                      (45)
#define ST_CRITICAL_CHANCE_EXT                   (46)
#define ST_MAX_CRITICAL_EXT                      (47)
#define ST_NORMAL_ABSORB_EXT                     (48)
#define ST_LASER_ABSORB_EXT                      (49)
#define ST_FIRE_ABSORB_EXT                       (50)
#define ST_PLASMA_ABSORB_EXT                     (51)
#define ST_ELECTRO_ABSORB_EXT                    (52)
#define ST_EMP_ABSORB_EXT                        (53)
#define ST_EXPLODE_ABSORB_EXT                    (54)
#define ST_NORMAL_RESIST_EXT                     (55)
#define ST_LASER_RESIST_EXT                      (56)
#define ST_FIRE_RESIST_EXT                       (57)
#define ST_PLASMA_RESIST_EXT                     (58)
#define ST_ELECTRO_RESIST_EXT                    (59)
#define ST_EMP_RESIST_EXT                        (60)
#define ST_EXPLODE_RESIST_EXT                    (61)
#define ST_RADIATION_RESISTANCE_EXT              (62)
#define ST_POISON_RESISTANCE_EXT                 (63) // Used in engine ---
#define ST_TOXIC                                 (64)
#define ST_RADIOACTIVE                           (65)
#define ST_KILL_EXPERIENCE                       (66)
#define ST_BODY_TYPE                             (67)
#define ST_LOCOMOTION_TYPE                       (68) // See Locomotion types
#define ST_DAMAGE_TYPE                           (69)
#define ST_AGE                                   (70) // Used in engine
#define ST_GENDER                                (71) // Used in engine
#define ST_CURRENT_HP                            (72) // Used in engine
#define ST_POISONING_LEVEL                       (73) // Used in engine
#define ST_RADIATION_LEVEL                       (74) // Used in engine
#define ST_CURRENT_AP                            (75) // Used in engine
#define ST_EXPERIENCE                            (76) // Used in engine
#define ST_LEVEL                                 (77) // Used in engine
#define ST_UNSPENT_SKILL_POINTS                  (78) // Used in engine
#define ST_UNSPENT_PERKS                         (79) // Used in engine
#define ST_KARMA                                 (80) // Used in engine

(...)

Title: Re: QUESTION!
Post by: General Killer on July 16, 2016, 08:36:40 pm
So I would type 'param 0 (strength pid) 10
Title: Re: QUESTION!
Post by: Fantastic on July 16, 2016, 10:13:41 pm
So I would type 'param 0 (strength pid) 10

Correct, would be 'param 0 0 10 for strength. Special pid is 0-6.

Fodev is a lot better for these types of questions, FYI.
Title: Re: QUESTION!
Post by: General Killer on July 17, 2016, 04:06:55 pm
alright then for the help BTW I plan on putting server online at some point it will be reloaded with more pvp zone basically and I post here and on fodev.net  you guys tend to respond faster
Title: Re: QUESTION!
Post by: worldremaker on July 17, 2016, 04:16:47 pm
Kilgore made this section for work sharing, asking and responding. So don't be shy to do it here. We're talking about Reloaded source anyway.
Title: Re: QUESTION!
Post by: General Killer on July 24, 2016, 11:25:18 pm
Still having trouble with setting my params for my personal use i typed `param 0 72 400 to set my health to 400 but it didnt work i still have 81hp i noticed there is param for max hp and current hp wich one do i use to set the hp on my char?
Title: Re: QUESTION!
Post by: Seki on July 24, 2016, 11:29:01 pm
72 is current hp, use max HP instead, thats 7
Title: Re: QUESTION!
Post by: General Killer on July 25, 2016, 12:03:21 am
Ahh yes! Would i do the same for action points crit chance etc.
Title: Re: QUESTION!
Post by: jarok on July 25, 2016, 07:54:33 am
Yes, use other pids.