changing graphics of object.
changing graphics of object.
Is there a procedure (or function) in fallout2 scripting langauge that change graphics of object (FrameID). :?:
Thanx RED
But i need to change graphics of critter/object dynamically in the game(in *.ipp script file of this critter/object).
There is function:
This function returns frameID of critter/object but it does not change frameID.
frameID looks like that:
Every object on map has frameID (in Dims mapper it is called "[0x20] Object FRM ID")
Maybe there is a procedure that change frameID of object.
Something like changeframeID(obj,frameID);
Sorry for bad english.
But i need to change graphics of critter/object dynamically in the game(in *.ipp script file of this critter/object).
There is function:
Code: Select all
GetFrameID(obj);
opcode:
8149
frameID looks like that:
Code: Select all
01000040
1 2 3 4
1- object type
2- moveID
3- weaponID
4- objectID(number of *.frm file)
Maybe there is a procedure that change frameID of object.
Something like changeframeID(obj,frameID);
Sorry for bad english.
- Red
- Hero of the Glowing Lands
- Posts: 2085
- Joined: Wed May 15, 2002 11:58 am
- Location: Nowhere (important anyway)
- Contact:
The only place in the code I saw a "change in graphics" was in the Den where Fred wins gambling and gives you money, however the trick the scripters used was change the critter's ID to another (just check the script out...)
Maybe you could do something like that instead?
The opcodes described are rather thoughrough. If you get the update last posted in the opcode thread of this forum and also hosted on the modding site of this update you'll find the latest opcodes and if "SetFrameID()" ins't in the list chances are the engine doesn't support such a command.
You MIGHT still have hope later on if BIS eventually decides to release the official compiler...
Maybe you could do something like that instead?
The opcodes described are rather thoughrough. If you get the update last posted in the opcode thread of this forum and also hosted on the modding site of this update you'll find the latest opcodes and if "SetFrameID()" ins't in the list chances are the engine doesn't support such a command.
You MIGHT still have hope later on if BIS eventually decides to release the official compiler...
...
- Red
- Hero of the Glowing Lands
- Posts: 2085
- Joined: Wed May 15, 2002 11:58 am
- Location: Nowhere (important anyway)
- Contact:
Well, looking at the KA scripts, normally each function ends with a "return;", not with just a "end;"... RetF would suggest a "Return float" and N "return interger", and I know some code actually USES return values for functions... so you'll need to look for a function which returns a value to find an example using it though I'm not sure they'll use specifically RetF/RetN.
...